///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
Public Member Functions | |
UnsteadyHeatProblem (UnsteadyHeatEquations< 2 >::UnsteadyHeatSourceFctPt source_fct_pt) | |
Constructor. More... | |
~UnsteadyHeatProblem () | |
Destructor (empty) More... | |
void | actions_after_newton_solve () |
Update the problem specs after solve (empty) More... | |
void | actions_before_newton_solve () |
Update the problem specs before solve (empty) More... | |
void | actions_after_implicit_timestep () |
Update the problem specs after solve (empty) More... | |
void | actions_before_implicit_timestep () |
Update the problem specs before next timestep: Set Dirchlet boundary conditions from exact solution. More... | |
void | set_initial_condition () |
Set initial condition (incl previous timesteps) according to specified function. More... | |
void | doc_solution (DocInfo &doc_info, ofstream &trace_file) |
Doc the solution. More... | |
void | dump_it (ofstream &dump_file) |
Dump problem to disk to allow for restart. More... | |
void | restart (ifstream &restart_file) |
Read problem for restart from specified restart file. More... | |
double | global_temporal_error_norm () |
Global error norm for adaptive time-stepping. More... | |
Private Attributes | |
UnsteadyHeatEquations< 2 >::UnsteadyHeatSourceFctPt | Source_fct_pt |
Pointer to source function. More... | |
Node * | Control_node_pt |
Pointer to control node at which the solution is documented. More... | |
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
UnsteadyHeat problem
Definition at line 104 of file two_d_unsteady_heat_t_adapt.cc.
UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem | ( | UnsteadyHeatEquations< 2 >::UnsteadyHeatSourceFctPt | source_fct_pt | ) |
Constructor.
Constructor for UnsteadyHeat problem in square domain.
Definition at line 162 of file two_d_unsteady_heat_t_adapt.cc.
References UnsteadyHeatProblem< ELEMENT >::Control_node_pt, ExactSolnForUnsteadyHeat::Gamma, ExactSolnForUnsteadyHeat::K, and UnsteadyHeatProblem< ELEMENT >::Source_fct_pt.
|
inline |
Destructor (empty)
Definition at line 114 of file two_d_unsteady_heat_t_adapt.cc.
|
inline |
Update the problem specs after solve (empty)
Definition at line 123 of file two_d_unsteady_heat_t_adapt.cc.
|
inline |
Update the problem specs after solve (empty)
Definition at line 117 of file two_d_unsteady_heat_t_adapt.cc.
void UnsteadyHeatProblem< ELEMENT >::actions_before_implicit_timestep |
Update the problem specs before next timestep: Set Dirchlet boundary conditions from exact solution.
Actions before timestep: update the domain, then reset the boundary conditions for the current time.
Definition at line 255 of file two_d_unsteady_heat_t_adapt.cc.
References ExactSolnForUnsteadyHeat::get_exact_u().
|
inline |
Update the problem specs before solve (empty)
Definition at line 120 of file two_d_unsteady_heat_t_adapt.cc.
void UnsteadyHeatProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info, |
ofstream & | trace_file | ||
) |
Doc the solution.
Definition at line 425 of file two_d_unsteady_heat_t_adapt.cc.
References ExactSolnForUnsteadyHeat::get_exact_u().
Referenced by main().
void UnsteadyHeatProblem< ELEMENT >::dump_it | ( | ofstream & | dump_file | ) |
Dump problem to disk to allow for restart.
Dump the solution to disk to allow for restart.
Definition at line 543 of file two_d_unsteady_heat_t_adapt.cc.
double UnsteadyHeatProblem< ELEMENT >::global_temporal_error_norm |
Global error norm for adaptive time-stepping.
Global error norm for adaptive timestepping: RMS error, based on difference between predicted and actual value at all nodes.
Definition at line 573 of file two_d_unsteady_heat_t_adapt.cc.
void UnsteadyHeatProblem< ELEMENT >::restart | ( | ifstream & | restart_file | ) |
Read problem for restart from specified restart file.
Read solution from disk for restart.
Definition at line 557 of file two_d_unsteady_heat_t_adapt.cc.
void UnsteadyHeatProblem< ELEMENT >::set_initial_condition |
Set initial condition (incl previous timesteps) according to specified function.
Set initial condition: Assign previous and current values from exact solution or from restart file.
Definition at line 288 of file two_d_unsteady_heat_t_adapt.cc.
References ExactSolnForUnsteadyHeat::get_exact_u().
Referenced by main().
|
private |
Pointer to control node at which the solution is documented.
Definition at line 151 of file two_d_unsteady_heat_t_adapt.cc.
Referenced by UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem().
|
private |
Pointer to source function.
Definition at line 148 of file two_d_unsteady_heat_t_adapt.cc.
Referenced by UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem().