MPI_jacsolve
|
#include "userset.h"
Functions | |
void | SetU (const int nx, const int ny, double u[]) |
void | SetF (const int nx, const int ny, double f[]) |
double | FunctF (const double &, const double &) |
double | FunctU (const double &, const double &) |
double FunctF | ( | const double & | x, |
const double & | y | ||
) |
User function: f(x
,y
)
[in] | x | x-coordinate of discretization point |
[in] | y | y-coordinate of discretization point |
x
,y
) double FunctU | ( | const double & | x, |
const double & | y | ||
) |
User function: u(x
,y
)
[in] | x | x-coordinate of discretization point |
[in] | y | y-coordinate of discretization point |
x
,y
) void SetF | ( | const int | nx, |
const 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 |
void SetU | ( | const int | nx, |
const 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 |