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 K =10
 Decay factor. More...
 
double Phi =1.0
 Angle of bump. More...
 

Detailed Description

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

Namespace for unforced 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 69 of file two_d_unsteady_heat.cc.

References 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 76 of file two_d_unsteady_heat.cc.

Referenced by main().

Variable Documentation

◆ K

double ExactSolnForUnsteadyHeat::K =10

Decay factor.

Definition at line 55 of file two_d_unsteady_heat.cc.

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

◆ Phi

double ExactSolnForUnsteadyHeat::Phi =1.0

Angle of bump.

Definition at line 58 of file two_d_unsteady_heat.cc.

Referenced by get_exact_u().