///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// 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... | |
| 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... | |
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 91 of file two_d_unsteady_heat.cc.
| UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem | ( | UnsteadyHeatEquations< 2 >::UnsteadyHeatSourceFctPt | source_fct_pt | ) |
Constructor.
Constructor for UnsteadyHeat problem in square domain.
Definition at line 138 of file two_d_unsteady_heat.cc.
References UnsteadyHeatProblem< ELEMENT >::Control_node_pt, ExactSolnForUnsteadyHeat::K, and UnsteadyHeatProblem< ELEMENT >::Source_fct_pt.
|
inline |
Destructor (empty)
Definition at line 101 of file two_d_unsteady_heat.cc.
| UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem | ( | UnsteadyHeatEquations< 2 >::UnsteadyHeatSourceFctPt | source_fct_pt | ) |
Constructor.
|
inline |
Destructor (empty)
Definition at line 101 of file two_d_unsteady_heat_restarted.cc.
|
inline |
Update the problem specs after solve (empty)
Definition at line 110 of file two_d_unsteady_heat.cc.
|
inline |
Update the problem specs after solve (empty)
Definition at line 110 of file two_d_unsteady_heat_restarted.cc.
|
inline |
Update the problem specs after solve (empty)
Definition at line 104 of file two_d_unsteady_heat.cc.
|
inline |
Update the problem specs after solve (empty)
Definition at line 104 of file two_d_unsteady_heat_restarted.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 228 of file two_d_unsteady_heat.cc.
References ExactSolnForUnsteadyHeat::get_exact_u().
| void UnsteadyHeatProblem< ELEMENT >::actions_before_implicit_timestep | ( | ) |
Update the problem specs before next timestep: Set Dirchlet boundary conditions from exact solution.
|
inline |
Update the problem specs before solve (empty)
Definition at line 107 of file two_d_unsteady_heat.cc.
|
inline |
Update the problem specs before solve (empty)
Definition at line 107 of file two_d_unsteady_heat_restarted.cc.
| void UnsteadyHeatProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info, |
| ofstream & | trace_file | ||
| ) |
Doc the solution.
Definition at line 326 of file two_d_unsteady_heat.cc.
References ExactSolnForUnsteadyHeat::get_exact_u().
Referenced by main().
| void UnsteadyHeatProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info, |
| ofstream & | trace_file | ||
| ) |
Doc the solution.
| 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 496 of file two_d_unsteady_heat_restarted.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 510 of file two_d_unsteady_heat_restarted.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.
Set initial condition: Assign previous and current values from exact solution.
Definition at line 261 of file two_d_unsteady_heat.cc.
References ExactSolnForUnsteadyHeat::get_exact_u().
Referenced by main().
| void UnsteadyHeatProblem< ELEMENT >::set_initial_condition | ( | ) |
Set initial condition (incl previous timesteps) according to specified function.
|
private |
Pointer to control node at which the solution is documented.
Definition at line 129 of file two_d_unsteady_heat.cc.
Referenced by UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem().
|
private |
Pointer to source function.
Definition at line 126 of file two_d_unsteady_heat.cc.
Referenced by UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem().