![]() |
|
Functions | |
double | exact_u (const double &time, const Vector< double > &x) |
Exact solution. More... | |
double | exact_dudt (const double &time, const Vector< double > &x) |
1st time-deriv of exact solution More... | |
double | exact_d2udt2 (const double &time, const Vector< double > &x) |
2nd time-deriv of exact solution More... | |
void | get_exact_u (const double &time, const Vector< double > &x, Vector< double > &u) |
Exact solution as a vector. More... | |
void | get_source (const double &time, const Vector< double > &x, double &source) |
Source function to make it an exact solution. More... | |
void | get_exact_gradient (const double &time, const Vector< double > &x, Vector< double > &dudx) |
Gradient of exact solution. More... | |
void | prescribed_flux_on_fixed_y_boundary (const double &time, const Vector< double > &x, double &flux) |
Prescribed flux on a fixed y max boundary. More... | |
Variables | |
double | Alpha |
Parameter for steepness of step. More... | |
double | Phi |
Orientation of step wave. More... | |
Namespace for exact solution for LinearWave equation with sharp step
Namespace for travelling wave solution for LinearWave equation with sharp step
2nd time-deriv of exact solution
References Alpha, cos(), Eigen::bfloat16_impl::cosh(), Phi, sin(), Eigen::bfloat16_impl::tanh(), plotDoE::x, and Eigen::zeta().
Referenced by LinearWaveProblem< ELEMENT, TIMESTEPPER >::actions_before_implicit_timestep(), get_exact_u(), and LinearWaveProblem< ELEMENT, TIMESTEPPER >::set_initial_condition().
1st time-deriv of exact solution
References Alpha, cos(), Eigen::bfloat16_impl::cosh(), Phi, sin(), plotDoE::x, and Eigen::zeta().
Referenced by LinearWaveProblem< ELEMENT, TIMESTEPPER >::actions_before_implicit_timestep(), get_exact_u(), and LinearWaveProblem< ELEMENT, TIMESTEPPER >::set_initial_condition().
Exact solution.
References Alpha, cos(), Phi, sin(), Eigen::bfloat16_impl::tanh(), plotDoE::x, and Eigen::zeta().
Referenced by LinearWaveProblem< ELEMENT, TIMESTEPPER >::actions_before_implicit_timestep(), PolarNSProblem< ELEMENT >::actions_before_solve(), oomph::EulerEquations< DIM >::compute_error(), oomph::ScalarAdvectionEquations< DIM >::compute_error(), get_exact_u(), and LinearWaveProblem< ELEMENT, TIMESTEPPER >::set_initial_condition().
void TanhSolnForLinearWave::get_exact_gradient | ( | const double & | time, |
const Vector< double > & | x, | ||
Vector< double > & | dudx | ||
) |
Gradient of exact solution.
References TanhSolnForAdvectionDiffusion::Alpha, cos(), Eigen::bfloat16_impl::cosh(), ExactSolnForUnsteadyHeat::Phi, sin(), plotDoE::x, and Eigen::zeta().
Referenced by prescribed_flux_on_fixed_y_boundary().
void TanhSolnForLinearWave::get_exact_u | ( | const double & | time, |
const Vector< double > & | x, | ||
Vector< double > & | u | ||
) |
Exact solution as a vector.
References exact_d2udt2(), exact_dudt(), exact_u(), and plotDoE::x.
Referenced by LinearWaveProblem< ELEMENT, TIMESTEPPER >::doc_solution().
void TanhSolnForLinearWave::get_source | ( | const double & | time, |
const Vector< double > & | x, | ||
double & | source | ||
) |
Source function to make it an exact solution.
References TestProblem::source().
Referenced by main().
void TanhSolnForLinearWave::prescribed_flux_on_fixed_y_boundary | ( | const double & | time, |
const Vector< double > & | x, | ||
double & | flux | ||
) |
Prescribed flux on a fixed y max boundary.
References ProblemParameters::flux(), get_exact_gradient(), n, and plotDoE::x.
Referenced by LinearWaveProblem< ELEMENT, TIMESTEPPER >::LinearWaveProblem().
double TanhSolnForLinearWave::Alpha |
Parameter for steepness of step.
Referenced by exact_d2udt2(), exact_dudt(), exact_u(), and LinearWaveProblem< ELEMENT, TIMESTEPPER >::LinearWaveProblem().
double TanhSolnForLinearWave::Phi |
Orientation of step wave.
Referenced by exact_d2udt2(), exact_dudt(), exact_u(), and LinearWaveProblem< ELEMENT, TIMESTEPPER >::LinearWaveProblem().