![]() |
|
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 | ||
) |
Exact solution as a scalar.
References Alpha, Beta, cos(), Gamma, BiharmonicTestFunctions2::Pi, Eigen::bfloat16_impl::tanh(), TanPhi, plotDoE::x, X, and Y.
void TanhSolnForUnsteadyHeat::get_exact_u | ( | const double & | time, |
const Vector< double > & | x, | ||
Vector< double > & | u | ||
) |
Exact solution as a Vector.
References Alpha, Beta, cos(), Gamma, BiharmonicTestFunctions2::Pi, Eigen::bfloat16_impl::tanh(), TanPhi, plotDoE::x, X, and Y.
Referenced by RefineableUnsteadyHeatProblem< ELEMENT >::doc_solution().
void TanhSolnForUnsteadyHeat::get_source | ( | const double & | time, |
const Vector< double > & | x, | ||
double & | source | ||
) |
Source function to make it an exact solution.
References Alpha, Beta, cos(), Gamma, BiharmonicTestFunctions2::Pi, Eigen::bfloat16_impl::pow(), sin(), TestProblem::source(), Eigen::bfloat16_impl::tanh(), TanPhi, plotDoE::x, X, and Y.
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.
References Alpha, Beta, cos(), ProblemParameters::flux(), Gamma, BiharmonicTestFunctions2::Pi, Eigen::bfloat16_impl::pow(), Eigen::bfloat16_impl::tanh(), TanPhi, plotDoE::x, X, and Y.
Referenced by RefineableUnsteadyHeatProblem< ELEMENT >::RefineableUnsteadyHeatProblem().
Position of step (x-axis intercept)
References Beta, cos(), Gamma, BiharmonicTestFunctions2::Pi, and Eigen::bfloat16_impl::tanh().
Referenced by RefineableUnsteadyHeatProblem< ELEMENT >::doc_solution().
double TanhSolnForUnsteadyHeat::Alpha |
Parameter for steepness of step.
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.
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.
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.
Referenced by get_exact_u(), get_source(), prescribed_flux_on_fixed_y_boundary(), and RefineableUnsteadyHeatProblem< ELEMENT >::RefineableUnsteadyHeatProblem().