jacobi_C-Style
|
Go to the source code of this file.
Functions | |
void | SetU (int nx, int ny, double u[]) |
void | SetF (int nx, int ny, double f[]) |
double | FunctF (double const x, double const y) |
double | FunctU (double const x, double const y) |
double FunctF | ( | double const | x, |
double const | y | ||
) |
User function: f(x
,y
)
[in] | x | x-coordinate of discretization point |
[in] | y | y-coordinate of discretization point |
x
,y
) Definition at line 31 of file userset.cpp.
double FunctU | ( | double const | x, |
double const | y | ||
) |
User function: u(x
,y
)
[in] | x | x-coordinate of discretization point |
[in] | y | y-coordinate of discretization point |
x
,y
) Definition at line 39 of file userset.cpp.
void SetF | ( | int | nx, |
int | ny, | ||
double | f[] | ||
) |
User function: assignes values to right hand side vector f
.
[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 |
Definition at line 17 of file userset.cpp.
void SetU | ( | int | nx, |
int | ny, | ||
double | u[] | ||
) |
User function: assignes values to solution vector u
.
[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 |
Definition at line 4 of file userset.cpp.