#include <laplace.h>
Public Member Functions | |
| Laplace (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 228 of file laplace.h.
| Laplace::Laplace | ( | const Mesh & | m | ) |
| void Laplace::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 330 of file laplace.cpp.
| void Laplace::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 291 of file laplace.cpp.
| void Laplace::solve | ( | double * | Ans, | |
| const double * | F, | |||
| const double * | bnd | |||
| ) |
Solve Laplace equation.
| Ans | - the answer | |
| F | - right part | |
| bnd | - boundary condition |
Definition at line 132 of file laplace.cpp.