copied the templates

This commit is contained in:
jakob.schratter 2026-01-19 10:45:46 +01:00
commit 46636593b5
63 changed files with 570970 additions and 0 deletions

17
mgrid_2/userset.cpp Normal file
View file

@ -0,0 +1,17 @@
#include "userset.h"
#include <cmath>
double FunctF(double const x , double const y)
{
// return std::sin(3.14159*1*x)*std::sin(3.14159*1*y);
// return 16.0*1024. ;
// return (double)1.0 ;
//return x * x * std::sin(2.5 * 3.14159 * y);
return x * x * std::sin(2.5 * M_PI * y);
}
double FunctU(const double /* x */, double const /* y */)
{
return 1.0 ;
}