Go to the source code of this file.
|
| void | SetU (const int nx, const int ny, float u[]) |
| |
| void | SetF (const int nx, const int ny, float f[]) |
| |
| float | FunctF (const float &x, const float &y) |
| |
| float | FunctU (const float &x, const float &y) |
| |
| float FunctF |
( |
const float & |
x, |
|
|
const float & |
y |
|
) |
| |
User function: f(x,y)
- Parameters
-
| [in] | x | x-coordinate of discretization point |
| [in] | y | y-coordinate of discretization point |
- Returns
- value for right hand side f(
x,y)
| float FunctU |
( |
const float & |
x, |
|
|
const float & |
y |
|
) |
| |
User function: u(x,y)
- Parameters
-
| [in] | x | x-coordinate of discretization point |
| [in] | y | y-coordinate of discretization point |
- Returns
- value for solution vector u(
x,y)
| void SetF |
( |
const int |
nx, |
|
|
const int |
ny, |
|
|
float |
f[] |
|
) |
| |
User function: assignes values to right hand side vector f.
- Parameters
-
| [in] | nx | number of discretization intervals in x-direction |
| [in] | ny | number of discretization intervals in y-direction |
| [out] | f | vector for all nodes of local discretization |
| void SetU |
( |
const int |
nx, |
|
|
const int |
ny, |
|
|
float |
u[] |
|
) |
| |
User function: assignes values to solution vector u.
- Parameters
-
| [in] | nx | number of discretization intervals in x-direction |
| [in] | ny | number of discretization intervals in y-direction |
| [out] | u | vector for all nodes of local discretization |