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

Go to the source code of this file.

Classes

class  MyUnitCircle
 //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// More...
 
class  RefineableUnsteadyHeatProblem< ELEMENT >
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
 

Namespaces

 TanhSolnForUnsteadyHeat
 //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
 

Functions

double TanhSolnForUnsteadyHeat::step_position (const double &time)
 Position of step (x-axis intercept) More...
 
void TanhSolnForUnsteadyHeat::get_exact_u (const double &time, const Vector< double > &x, Vector< double > &u)
 Exact solution as a Vector. More...
 
void TanhSolnForUnsteadyHeat::get_exact_u (const double &time, const Vector< double > &x, double &u)
 Exact solution as a scalar. More...
 
void TanhSolnForUnsteadyHeat::get_source (const double &time, const Vector< double > &x, double &source)
 Source function to make it an exact solution. More...
 
void TanhSolnForUnsteadyHeat::prescribed_flux_on_fixed_y_boundary (const double &time, const Vector< double > &x, double &flux)
 Flux required by the exact solution on a boundary on which y is fixed. More...
 
int main (int argc, char *argv[])
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
 

Variables

double TanhSolnForUnsteadyHeat::Alpha
 Parameter for steepness of step. More...
 
double TanhSolnForUnsteadyHeat::Beta
 Parameter for amplitude of step translation. More...
 
double TanhSolnForUnsteadyHeat::Gamma
 Parameter for timescale of step translation. More...
 
double TanhSolnForUnsteadyHeat::TanPhi
 Parameter for angle of step. More...
 

Function Documentation

◆ main()

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

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

Demonstrate how to solve an unsteady heat problem with mesh adaptation. Command line arguments specify the name of the restart file.

Definition at line 884 of file two_d_unsteady_heat_adapt.cc.

References RefineableUnsteadyHeatProblem< ELEMENT >::bulk_mesh_pt(), RefineableUnsteadyHeatProblem< ELEMENT >::doc_solution(), TanhSolnForUnsteadyHeat::get_source(), and RefineableUnsteadyHeatProblem< ELEMENT >::set_initial_condition().