![]() |
|
Namespace for unforced exact solution for UnsteadyHeat equation. 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... | |
| void | prescribed_flux_on_fixed_y_boundary (const double &time, const Vector< double > &x, const Vector< double > &n, const double &u, double &flux) |
| Flux required by the exact solution. More... | |
Variables | |
| double | K =10 |
| Decay factor. More... | |
| double | Phi =1.0 |
| Angle of bump. More... | |
| double | Gamma =10.0 |
| Factor controlling the rate of change. More... | |
Namespace for unforced exact solution for UnsteadyHeat equation.
Namespace for forced exact solution for UnsteadyHeat equation.
//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
| void ExactSolnForUnsteadyHeat::get_exact_u | ( | const double & | time, |
| const Vector< double > & | x, | ||
| double & | u | ||
| ) |
Exact solution as a scalar.
References cos(), Eigen::bfloat16_impl::exp(), K, Phi, sin(), sqrt(), plotDoE::x, and Eigen::zeta().
| void ExactSolnForUnsteadyHeat::get_exact_u | ( | const double & | time, |
| const Vector< double > & | x, | ||
| Vector< double > & | u | ||
| ) |
Exact solution as a Vector.
References cos(), Eigen::bfloat16_impl::exp(), K, Phi, sin(), sqrt(), plotDoE::x, and Eigen::zeta().
Referenced by UnsteadyHeatProblem< ELEMENT >::actions_before_implicit_timestep(), UnsteadyHeatProblem< ELEMENT >::doc_solution(), and UnsteadyHeatProblem< ELEMENT >::set_initial_condition().
| void ExactSolnForUnsteadyHeat::get_source | ( | const double & | time, |
| const Vector< double > & | x, | ||
| double & | source | ||
| ) |
Source function to make it an exact solution.
References TestProblem::source().
| void ExactSolnForUnsteadyHeat::prescribed_flux_on_fixed_y_boundary | ( | const double & | time, |
| const Vector< double > & | x, | ||
| const Vector< double > & | n, | ||
| const double & | u, | ||
| double & | flux | ||
| ) |
Flux required by the exact solution.
References cos(), Eigen::bfloat16_impl::exp(), ProblemParameters::flux(), K, n, Phi, sin(), sqrt(), plotDoE::x, and Eigen::zeta().
| double ExactSolnForUnsteadyHeat::Gamma =10.0 |
Factor controlling the rate of change.
| double ExactSolnForUnsteadyHeat::K =10 |
Decay factor.
Wavenumber.
Referenced by get_exact_u(), prescribed_flux_on_fixed_y_boundary(), and UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem().
| double ExactSolnForUnsteadyHeat::Phi =1.0 |
Angle of bump.
Referenced by TanhSolnForLinearWave::get_exact_gradient(), get_exact_u(), and prescribed_flux_on_fixed_y_boundary().