![]() |
|
Namespace for exact solution for Poisson equation with "sharp step". More...
Functions | |
void | get_exact_u (const Vector< double > &x, Vector< double > &u) |
Exact solution as a Vector. More... | |
void | get_source (const Vector< double > &x, double &source) |
Source function required to make the solution above an exact solution. More... | |
void | get_exact_gradient (const Vector< double > &x, Vector< double > &dudx) |
Exact gradient as a Vector. More... | |
Variables | |
double | Alpha =100.0 |
Parameter for steepness of "step". More... | |
Namespace for exact solution for Poisson equation with "sharp step".
void ArcTanSolnForPoisson::get_exact_gradient | ( | const Vector< double > & | x, |
Vector< double > & | dudx | ||
) |
Exact gradient as a Vector.
References TanhSolnForAdvectionDiffusion::Alpha, and plotDoE::x.
Exact solution as a Vector.
References Alpha, Eigen::bfloat16_impl::atan(), and plotDoE::x.
Referenced by RefineableOneDPoissonProblem< ELEMENT >::actions_before_newton_solve(), PRefineableOneDPoissonProblem< ELEMENT >::actions_before_newton_solve(), RefineableOneDPoissonProblem< ELEMENT >::doc_solution(), and PRefineableOneDPoissonProblem< ELEMENT >::doc_solution().
Source function required to make the solution above an exact solution.
References Alpha, Eigen::bfloat16_impl::atan(), TestProblem::source(), Eigen::bfloat16_impl::tan(), and plotDoE::x.
Referenced by main().
double ArcTanSolnForPoisson::Alpha =100.0 |
Parameter for steepness of "step".
Referenced by get_exact_u(), get_source(), and main().