//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// More...
Functions | |
double | step_position (const double &time) |
Position of step (x-axis intercept) More... | |
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... | |
void | 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... | |
Variables | |
double | Alpha |
Parameter for steepness of step. More... | |
double | Beta |
Parameter for amplitude of step translation. More... | |
double | Gamma |
Parameter for timescale of step translation. More... | |
double | TanPhi |
Parameter for angle of step. More... | |
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
Namespace for exact solution of unsteady heat equation with sharp step
void TanhSolnForUnsteadyHeat::get_exact_u | ( | const double & | time, |
const Vector< double > & | x, | ||
double & | u | ||
) |
void TanhSolnForUnsteadyHeat::get_exact_u | ( | const double & | time, |
const Vector< double > & | x, | ||
Vector< double > & | u | ||
) |
Exact solution as a Vector.
Definition at line 121 of file two_d_unsteady_heat_adapt.cc.
References Alpha, Beta, Gamma, and TanPhi.
Referenced by RefineableUnsteadyHeatProblem< ELEMENT >::actions_before_implicit_timestep(), RefineableUnsteadyHeatProblem< ELEMENT >::doc_solution(), and RefineableUnsteadyHeatProblem< ELEMENT >::set_initial_condition().
void TanhSolnForUnsteadyHeat::get_source | ( | const double & | time, |
const Vector< double > & | x, | ||
double & | source | ||
) |
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.
Definition at line 157 of file two_d_unsteady_heat_adapt.cc.
References Alpha, Beta, Gamma, and TanPhi.
Referenced by RefineableUnsteadyHeatProblem< ELEMENT >::actions_after_adapt(), and RefineableUnsteadyHeatProblem< ELEMENT >::RefineableUnsteadyHeatProblem().
double TanhSolnForUnsteadyHeat::step_position | ( | const double & | time | ) |
Position of step (x-axis intercept)
Definition at line 115 of file two_d_unsteady_heat_adapt.cc.
Referenced by RefineableUnsteadyHeatProblem< ELEMENT >::doc_solution().
double TanhSolnForUnsteadyHeat::Alpha |
Parameter for steepness of step.
Definition at line 103 of file two_d_unsteady_heat_adapt.cc.
Referenced by get_exact_u(), get_source(), prescribed_flux_on_fixed_y_boundary(), and RefineableUnsteadyHeatProblem< ELEMENT >::RefineableUnsteadyHeatProblem().
double TanhSolnForUnsteadyHeat::Beta |
Parameter for amplitude of step translation.
Definition at line 106 of file two_d_unsteady_heat_adapt.cc.
Referenced by get_exact_u(), get_source(), prescribed_flux_on_fixed_y_boundary(), RefineableUnsteadyHeatProblem< ELEMENT >::RefineableUnsteadyHeatProblem(), and step_position().
double TanhSolnForUnsteadyHeat::Gamma |
Parameter for timescale of step translation.
Definition at line 109 of file two_d_unsteady_heat_adapt.cc.
Referenced by get_exact_u(), get_source(), prescribed_flux_on_fixed_y_boundary(), RefineableUnsteadyHeatProblem< ELEMENT >::RefineableUnsteadyHeatProblem(), and step_position().
double TanhSolnForUnsteadyHeat::TanPhi |
Parameter for angle of step.
Definition at line 112 of file two_d_unsteady_heat_adapt.cc.
Referenced by get_exact_u(), get_source(), prescribed_flux_on_fixed_y_boundary(), and RefineableUnsteadyHeatProblem< ELEMENT >::RefineableUnsteadyHeatProblem().