MFEM v4.7.0
Finite element discretization library
|
Class for solving Poisson's equation: More...
#include <ex37.hpp>
Public Member Functions | |
DiffusionSolver () | |
DiffusionSolver (Mesh *mesh_, int order_, Coefficient *diffcf_, Coefficient *cf_) | |
void | SetMesh (Mesh *mesh_) |
void | SetOrder (int order_) |
void | SetDiffusionCoefficient (Coefficient *diffcf_) |
void | SetMassCoefficient (Coefficient *masscf_) |
void | SetRHSCoefficient (Coefficient *rhscf_) |
void | SetEssentialBoundary (const Array< int > &ess_bdr_) |
void | SetNeumannBoundary (const Array< int > &neumann_bdr_) |
void | SetNeumannData (Coefficient *neumann_cf_) |
void | SetEssBdrData (Coefficient *essbdr_cf_) |
void | SetGradientData (VectorCoefficient *gradient_cf_) |
void | ResetFEM () |
void | SetupFEM () |
void | Solve () |
GridFunction * | GetFEMSolution () |
LinearForm * | GetLinearForm () |
ParGridFunction * | GetParFEMSolution () |
ParLinearForm * | GetParLinearForm () |
~DiffusionSolver () | |
Class for solving Poisson's equation:
- ∇ ⋅(κ ∇ u) = f in Ω
mfem::DiffusionSolver::DiffusionSolver | ( | Mesh * | mesh_, |
int | order_, | ||
Coefficient * | diffcf_, | ||
Coefficient * | cf_ ) |
GridFunction * mfem::DiffusionSolver::GetFEMSolution | ( | ) |
|
inline |
ParGridFunction * mfem::DiffusionSolver::GetParFEMSolution | ( | ) |
|
inline |
void mfem::DiffusionSolver::ResetFEM | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |