Public Member Functions | Private Attributes | List of all members
PoissonProblem< ELEMENT > Class Template Reference

Micky mouse Poisson problem. More...

Inheritance diagram for PoissonProblem< ELEMENT >:

Public Member Functions

 PoissonProblem (PoissonEquations< 2 >::PoissonSourceFctPt source_fct_pt, const string &node_file_name, const string &element_file_name, const string &poly_file_name)
 Constructor: Pass pointer to source function and names of two triangle input files. More...
 
 ~PoissonProblem ()
 Destructor (empty) More...
 
void actions_before_newton_solve ()
 Update the problem specs before solve: (Re)set boundary conditions. More...
 
void actions_after_newton_solve ()
 Update the problem specs before solve (empty) More...
 
void actions_after_adapt ()
 Actions performed after the adaptation steps. More...
 
RefineableTriangleMesh< ELEMENT > * mesh_pt ()
 Access function for the specific mesh. More...
 
TriangleMesh< ELEMENT > * mesh_pt ()
 Access function for the specific mesh. More...
 
void doc_solution (DocInfo &doc_info)
 Doc the solution. More...
 

Private Attributes

PoissonEquations< 2 >::PoissonSourceFctPt Source_fct_pt
 Pointer to source function. More...
 
RefineableTriangleMesh< ELEMENT > * Bulk_mesh_pt
 Pointer to the bulk mesh. More...
 
Z2ErrorEstimator * error_estimator_pt
 Error estimator. More...
 

Detailed Description

template<class ELEMENT>
class PoissonProblem< ELEMENT >

Micky mouse Poisson problem.

Definition at line 93 of file mesh_from_triangle_poisson.cc.

Constructor & Destructor Documentation

◆ PoissonProblem()

template<class ELEMENT >
PoissonProblem< ELEMENT >::PoissonProblem ( PoissonEquations< 2 >::PoissonSourceFctPt  source_fct_pt,
const string &  node_file_name,
const string &  element_file_name,
const string &  poly_file_name 
)

Constructor: Pass pointer to source function and names of two triangle input files.

Constructor for Poisson problem.

Definition at line 178 of file mesh_from_triangle_poisson.cc.

References TanhSolnForPoisson::Alpha, TanhSolnForPoisson::Beta, PoissonProblem< ELEMENT >::Bulk_mesh_pt, PoissonProblem< ELEMENT >::error_estimator_pt, PoissonProblem< ELEMENT >::mesh_pt(), and PoissonProblem< ELEMENT >::Source_fct_pt.

◆ ~PoissonProblem()

template<class ELEMENT >
PoissonProblem< ELEMENT >::~PoissonProblem ( )
inline

Destructor (empty)

Definition at line 107 of file mesh_from_triangle_poisson.cc.

Member Function Documentation

◆ actions_after_adapt()

template<class ELEMENT >
void PoissonProblem< ELEMENT >::actions_after_adapt

Actions performed after the adaptation steps.

Definition at line 253 of file mesh_from_triangle_poisson.cc.

◆ actions_after_newton_solve()

template<class ELEMENT >
void PoissonProblem< ELEMENT >::actions_after_newton_solve ( )
inline

Update the problem specs before solve (empty)

Definition at line 132 of file mesh_from_triangle_poisson.cc.

◆ actions_before_newton_solve()

template<class ELEMENT >
void PoissonProblem< ELEMENT >::actions_before_newton_solve ( )
inline

Update the problem specs before solve: (Re)set boundary conditions.

Definition at line 110 of file mesh_from_triangle_poisson.cc.

References TanhSolnForPoisson::get_exact_u().

◆ doc_solution()

template<class ELEMENT >
void PoissonProblem< ELEMENT >::doc_solution ( DocInfo &  doc_info)

Doc the solution.

Definition at line 298 of file mesh_from_triangle_poisson.cc.

References TanhSolnForPoisson::get_exact_u().

Referenced by main().

◆ mesh_pt() [1/2]

template<class ELEMENT >
RefineableTriangleMesh<ELEMENT>* PoissonProblem< ELEMENT >::mesh_pt ( )
inline

Access function for the specific mesh.

Definition at line 142 of file mesh_from_triangle_poisson.cc.

Referenced by PoissonProblem< ELEMENT >::PoissonProblem().

◆ mesh_pt() [2/2]

template<class ELEMENT >
TriangleMesh<ELEMENT>* PoissonProblem< ELEMENT >::mesh_pt ( )
inline

Access function for the specific mesh.

Definition at line 148 of file mesh_from_triangle_poisson.cc.

Member Data Documentation

◆ Bulk_mesh_pt

template<class ELEMENT >
RefineableTriangleMesh<ELEMENT>* PoissonProblem< ELEMENT >::Bulk_mesh_pt
private

Pointer to the bulk mesh.

Definition at line 164 of file mesh_from_triangle_poisson.cc.

Referenced by PoissonProblem< ELEMENT >::PoissonProblem().

◆ error_estimator_pt

template<class ELEMENT >
Z2ErrorEstimator* PoissonProblem< ELEMENT >::error_estimator_pt
private

Error estimator.

Definition at line 167 of file mesh_from_triangle_poisson.cc.

Referenced by PoissonProblem< ELEMENT >::PoissonProblem().

◆ Source_fct_pt

template<class ELEMENT >
PoissonEquations<2>::PoissonSourceFctPt PoissonProblem< ELEMENT >::Source_fct_pt
private

Pointer to source function.

Definition at line 160 of file mesh_from_triangle_poisson.cc.

Referenced by PoissonProblem< ELEMENT >::PoissonProblem().


The documentation for this class was generated from the following file: