Classes | Namespaces | Functions | Variables
two_d_unsteady_heat_t_adapt.cc File Reference

Go to the source code of this file.

Classes

class  UnsteadyHeatProblem< ELEMENT >
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
 

Namespaces

 ExactSolnForUnsteadyHeat
 //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
 

Functions

void ExactSolnForUnsteadyHeat::get_exact_u (const double &time, const Vector< double > &x, Vector< double > &u)
 Exact solution as a Vector. More...
 
void ExactSolnForUnsteadyHeat::get_exact_u (const double &time, const Vector< double > &x, double &u)
 Exact solution as a scalar. More...
 
void ExactSolnForUnsteadyHeat::get_source (const double &time, const Vector< double > &x, double &source)
 Source function to make it an exact solution. More...
 
int main (int argc, char *argv[])
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
 

Variables

double ExactSolnForUnsteadyHeat::Gamma =10.0
 Factor controlling the rate of change. More...
 
double ExactSolnForUnsteadyHeat::K =3.0
 Wavenumber. More...
 
double ExactSolnForUnsteadyHeat::Phi =1.0
 Angle of bump. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////

Driver code for the adaptive solution of an unsteady heat equation with option for restart from disk: Only a single command line argument is allowed. If specified it is interpreted as the name of the restart file.

Definition at line 612 of file two_d_unsteady_heat_t_adapt.cc.

References UnsteadyHeatProblem< ELEMENT >::doc_solution(), ExactSolnForUnsteadyHeat::get_source(), and UnsteadyHeatProblem< ELEMENT >::set_initial_condition().