Functions | Variables
ExactSolnForUnsteadyHeat Namespace Reference

//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// 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,
double &  u 
)

Exact solution as a scalar.

Definition at line 74 of file two_d_unsteady_heat_t_adapt.cc.

References Gamma, K, and Phi.

◆ get_exact_u() [2/2]

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

◆ 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 82 of file two_d_unsteady_heat_t_adapt.cc.

References Gamma, K, and Phi.

Referenced by main().

Variable Documentation

◆ Gamma

double ExactSolnForUnsteadyHeat::Gamma =10.0

Factor controlling the rate of change.

Definition at line 56 of file two_d_unsteady_heat_t_adapt.cc.

Referenced by get_exact_u(), get_source(), and UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem().

◆ K

double ExactSolnForUnsteadyHeat::K =3.0

◆ Phi

double ExactSolnForUnsteadyHeat::Phi =1.0

Angle of bump.

Definition at line 62 of file two_d_unsteady_heat_t_adapt.cc.

Referenced by get_exact_u(), and get_source().