![]() |
|
Namespace for exact solution for Poisson equation. More...
Functions | |
void | get_exact_u (const Vector< double > &x, Vector< double > &u) |
Exact solution as a Vector. More... | |
void | source_function (const Vector< double > &x, double &source) |
Source function required to make the solution above an exact solution. More... | |
void | prescribed_flux_on_fixed_x_boundary (const Vector< double > &x, double &flux) |
Flux required by the exact solution on a boundary on which x is fixed. More... | |
Variables | |
double | Alpha =4.0 |
Parameter for steepness of "step". More... | |
double | TanPhi =1.0 |
Parameter for angle Phi of "step". More... | |
Namespace for exact solution for Poisson equation.
/////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
Exact solution as a Vector.
References Alpha, Eigen::bfloat16_impl::tanh(), TanPhi, and plotDoE::x.
Referenced by FluxPoissonMGProblem< ELEMENT, MESH >::doc_solution().
void SolnForPoisson::prescribed_flux_on_fixed_x_boundary | ( | const Vector< double > & | x, |
double & | flux | ||
) |
Flux required by the exact solution on a boundary on which x is fixed.
References Alpha, ProblemParameters::flux(), N, Eigen::bfloat16_impl::pow(), Eigen::bfloat16_impl::tanh(), TanPhi, and plotDoE::x.
Referenced by FluxPoissonMGProblem< ELEMENT, MESH >::create_flux_elements().
Source function required to make the solution above an exact solution.
References Alpha, Eigen::bfloat16_impl::pow(), TestProblem::source(), Eigen::bfloat16_impl::tanh(), TanPhi, and plotDoE::x.
Referenced by main(), and FluxPoissonMGProblem< ELEMENT, MESH >::make_new_problem().
double SolnForPoisson::Alpha =4.0 |
Parameter for steepness of "step".
Referenced by get_exact_u(), prescribed_flux_on_fixed_x_boundary(), and source_function().
double SolnForPoisson::TanPhi =1.0 |
Parameter for angle Phi of "step".
Referenced by get_exact_u(), prescribed_flux_on_fixed_x_boundary(), and source_function().