jacobi.template
userset.cpp
Go to the documentation of this file.
1 #include "userset.h"
2 #include <cmath>
3 
4 
5 double FunctF(double const x , double const y)
6 {
7 // return std::sin(3.14159*1*x)*std::sin(3.14159*1*y);
8 // return 16.0*1024. ;
9 // return (double)1.0 ;
10  return x * x * std::sin(2.5 * 3.14159 * y);
11 }
12 
13 double FunctU(const double /* x */, double const /* y */)
14 {
15  return 1.0 ;
16 }
FunctU
double FunctU(const double, double const)
Definition: userset.cpp:13
userset.h
FunctF
double FunctF(double const x, double const y)
Definition: userset.cpp:5