Functions | Variables
ExactSolnForUnsteadyHeat Namespace Reference

Namespace for forced exact solution for UnsteadyHeat equation. More...

Functions

void get_exact_u (const double &time, const Vector< double > &x, Vector< double > &u)
 Exact solution as a Vector. More...
 
void get_exact_u (const double &time, const Vector< double > &x, double &u)
 Exact solution as a scalar. More...
 
void get_source (const double &time, const Vector< double > &x, double &source)
 Source function to make it an exact solution. More...
 

Variables

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

Detailed Description

Namespace for forced exact solution for UnsteadyHeat equation.

Function Documentation

◆ get_exact_u() [1/2]

void ExactSolnForUnsteadyHeat::get_exact_u ( const double &  time,
const Vector< double > &  x,
Vector< double > &  u 
)

◆ get_exact_u() [2/2]

void ExactSolnForUnsteadyHeat::get_exact_u ( const double &  time,
const Vector< double > &  x,
double &  u 
)

Exact solution as a scalar.

Definition at line 78 of file two_d_unsteady_heat_t_adapt.cc.

◆ get_source()

void ExactSolnForUnsteadyHeat::get_source ( const double &  time,
const Vector< double > &  x,
double &  source 
)

Source function to make it an exact solution.

Definition at line 86 of file two_d_unsteady_heat_t_adapt.cc.

Referenced by main().

Variable Documentation

◆ Gamma

double ExactSolnForUnsteadyHeat::Gamma =10.0

Factor controlling the rate of change.

Definition at line 60 of file two_d_unsteady_heat_t_adapt.cc.

Referenced by UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem().

◆ K

double ExactSolnForUnsteadyHeat::K =3.0

Wavenumber.

Definition at line 63 of file two_d_unsteady_heat_t_adapt.cc.

Referenced by UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem().

◆ Phi

double ExactSolnForUnsteadyHeat::Phi =1.0

Angle of bump.

Definition at line 66 of file two_d_unsteady_heat_t_adapt.cc.