![]() |
|
Namespace for exact solution for MultiPoisson equation with "sharp step". More...
Functions | |
double | scalar_soln (const Vector< double > &x) |
Scalar solution. More... | |
double | scalar_source (const Vector< double > &x) |
Scalar source. More... | |
void | get_exact_u (const Vector< double > &x, Vector< double > &u) |
Exact solution as a Vector. More... | |
void | source_function (const Vector< double > &x, Vector< double > &source) |
Source function required to make the solution above an exact solution. More... | |
Variables | |
double | Alpha =5.0 |
Parameter for steepness of "step". More... | |
double | TanPhi =1.0 |
Parameter for angle Phi of "step" (45 degrees) More... | |
double | Beta =1.0 |
Interaction parameter. More... | |
Namespace for exact solution for MultiPoisson equation with "sharp step".
Exact solution as a Vector.
References i, N_FIELD, scalar_soln(), and plotDoE::x.
Referenced by MultiPoissonProblem< ELEMENT >::actions_before_newton_solve(), and MultiPoissonProblem< ELEMENT >::doc_solution().
Scalar solution.
References Alpha, Eigen::bfloat16_impl::tanh(), TanPhi, and plotDoE::x.
Referenced by get_exact_u(), and source_function().
Scalar source.
References Alpha, Eigen::bfloat16_impl::pow(), Eigen::bfloat16_impl::tanh(), TanPhi, and plotDoE::x.
Referenced by source_function().
void TanhSolnForMultiPoisson::source_function | ( | const Vector< double > & | x, |
Vector< double > & | source | ||
) |
Source function required to make the solution above an exact solution.
References Beta, i, k, N_FIELD, scalar_soln(), scalar_source(), TestProblem::source(), and plotDoE::x.
Referenced by MultiPoissonProblem< ELEMENT >::MultiPoissonProblem().
double TanhSolnForMultiPoisson::Alpha =5.0 |
Parameter for steepness of "step".
Referenced by main(), scalar_soln(), and scalar_source().
double TanhSolnForMultiPoisson::Beta =1.0 |
Interaction parameter.
Referenced by MultiPoissonProblem< ELEMENT >::MultiPoissonProblem(), and source_function().
double TanhSolnForMultiPoisson::TanPhi =1.0 |
Parameter for angle Phi of "step" (45 degrees)
Referenced by scalar_soln(), and scalar_source().