#include <laplace.h>
Public Member Functions | |
| SphereLaplace (const Mesh &m) | |
| Constructor. | |
| void | calc1 (double *Ans, const double *F, const double *bnd) |
| Calculate the value of Laplace operator for F in the inner points of the mesh. | |
| void | calc2 (double *Ans, const double *F) |
| Calculate the value of Laplace operator for F in the inner points of the mesh. | |
| void | solve (double *Ans, const double *F, const double *bnd) |
| Solve Laplace equation. | |
Definition at line 118 of file laplace.h.
| SphereLaplace::SphereLaplace | ( | const Mesh & | m | ) |
| void SphereLaplace::calc1 | ( | double * | Ans, | |
| const double * | F, | |||
| const double * | bnd | |||
| ) |
Calculate the value of Laplace operator for F in the inner points of the mesh.
Set the value of boundary points from bnd.
| Ans | - the answer (the value of Laplace operator in all mesh points) | |
| F | -vector F | |
| bnd | - needed boundary condition |
Definition at line 263 of file sphere_laplace.cpp.
| void SphereLaplace::calc2 | ( | double * | Ans, | |
| const double * | F | |||
| ) |
Calculate the value of Laplace operator for F in the inner points of the mesh.
Returns vector of inner points.
| Ans | - the answer (the value of Laplace operator in the inner points) | |
| F | -vector F |
Definition at line 239 of file sphere_laplace.cpp.
| void SphereLaplace::solve | ( | double * | Ans, | |
| const double * | F, | |||
| const double * | bnd | |||
| ) |
Solve Laplace equation.
| Ans | - the answer | |
| F | - right part | |
| bnd | - boundary condition |
Definition at line 156 of file sphere_laplace.cpp.