1D Poisson problem in unit interval. More...
Public Member Functions | |
OneDPoissonProblem (const unsigned &n_element, PoissonEquations< 1 >::PoissonSourceFctPt source_fct_pt) | |
Constructor: Pass number of elements and pointer to source function. More... | |
~OneDPoissonProblem () | |
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 after solve (empty) More... | |
void | doc_solution (const unsigned &label) |
Doc the solution, pass the number of the case considered, so that output files can be distinguished. More... | |
Private Attributes | |
PoissonEquations< 1 >::PoissonSourceFctPt | Source_fct_pt |
Pointer to source function. More... | |
1D Poisson problem in unit interval.
Definition at line 78 of file one_d_poisson.cc.
OneDPoissonProblem< ELEMENT >::OneDPoissonProblem | ( | const unsigned & | n_element, |
PoissonEquations< 1 >::PoissonSourceFctPt | source_fct_pt | ||
) |
Constructor: Pass number of elements and pointer to source function.
Constructor for 1D Poisson problem in unit interval. Discretise the 1D domain with n_element elements of type ELEMENT. Specify function pointer to source function.
Definition at line 120 of file one_d_poisson.cc.
References OneDPoissonProblem< ELEMENT >::Source_fct_pt.
|
inline |
Destructor (empty)
Definition at line 88 of file one_d_poisson.cc.
|
inline |
Update the problem specs after solve (empty)
Definition at line 97 of file one_d_poisson.cc.
void OneDPoissonProblem< ELEMENT >::actions_before_newton_solve |
Update the problem specs before solve: (Re)set boundary conditions.
Update the problem specs before solve: (Re)set boundary values from the exact solution.
Definition at line 170 of file one_d_poisson.cc.
References FishSolnOneDPoisson::get_exact_u().
void OneDPoissonProblem< ELEMENT >::doc_solution | ( | const unsigned & | label | ) |
Doc the solution, pass the number of the case considered, so that output files can be distinguished.
Doc the solution in tecplot format. Label files with label.
Definition at line 216 of file one_d_poisson.cc.
References FishSolnOneDPoisson::get_exact_u().
Referenced by main().
|
private |
Pointer to source function.
Definition at line 106 of file one_d_poisson.cc.
Referenced by OneDPoissonProblem< ELEMENT >::OneDPoissonProblem().