MPI_jacsolve
userset.h
Go to the documentation of this file.
1 #ifndef USERSET_FILE
2 #define USERSET_FILE
3 #include <cmath>
4 
11 void SetU(const int nx, const int ny, float u[]);
12 
19 void SetF(const int nx, const int ny, float f[]);
20 
27 inline float FunctF(const float x, const float y)
28  { return x*x*std::sin(2.5*3.14159*y); };
29  //{ return 16.0*1024.; };
30 
31 
38 float FunctU(const float& x, const float& y);
39 
40 #endif
41 
float FunctU(const float &x, const float &y)
Definition: userset.cpp:33
float FunctF(const float x, const float y)
Definition: userset.h:27
void SetF(const int nx, const int ny, float f[])
Definition: userset.cpp:14
void SetU(const int nx, const int ny, float u[])
Definition: userset.cpp:3