Go to the source code of this file.
|
void | SetU (const int nx, const int ny, double u[]) |
|
void | SetF (const int nx, const int ny, double f[]) |
|
double | FunctF (const double &x, const double &y) |
|
double | FunctU (const double &x, const double &y) |
|
double FunctF |
( |
const double & |
x, |
|
|
const double & |
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
)
double FunctU |
( |
const double & |
x, |
|
|
const double & |
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, |
|
|
double |
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, |
|
|
double |
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 |