![]() |
|
Namespace for forced exact solution for UnsteadyHeat equation. More...
Functions | |
void | get_exact_u (const double &t, const Vector< double > &x, Vector< double > &u) |
Exact solution as a vector. More... | |
void | get_exact_u (const double &t, const Vector< double > &x, double &u) |
Exact solution as a scalar. More... | |
void | get_source (const double &t, const Vector< double > &x, double &source) |
Source function to make it an exact solution. More... | |
Variables | |
double | U_shift =8.0 |
Namespace for forced exact solution for UnsteadyHeat equation.
//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
Exact solution as a scalar.
References cos(), constants::pi, oomph::MathematicalConstants::Pi, sin(), plotPSD::t, U_shift, and plotDoE::x.
void SinSolution::get_exact_u | ( | const double & | t, |
const Vector< double > & | x, | ||
Vector< double > & | u | ||
) |
Exact solution as a vector.
References cos(), constants::pi, oomph::MathematicalConstants::Pi, sin(), plotPSD::t, U_shift, and plotDoE::x.
Referenced by UnsteadyHeatProblem< ELEMENT >::apply_boundary_conditions(), and UnsteadyHeatProblem< ELEMENT >::doc_solution().
Source function to make it an exact solution.
References GlobalParameters::Alpha, GlobalParameters::Beta, cos(), constants::pi, oomph::MathematicalConstants::Pi, Eigen::bfloat16_impl::pow(), sin(), TestProblem::source(), plotPSD::t, and plotDoE::x.
Referenced by main().
double SinSolution::U_shift =8.0 |
Referenced by get_exact_u().