Type of right-hand side (rhs) function of the Poisson equation. More...
Public Types | |
using | evaluator_type = ddc::SplineEvaluator2D< Kokkos::DefaultHostExecutionSpace, Kokkos::HostSpace, BSplinesR, BSplinesTheta, GridR, GridTheta, RadialExtrapolationRule, RadialExtrapolationRule, ddc::PeriodicExtrapolationRule< Theta >, ddc::PeriodicExtrapolationRule< Theta >, GridR, GridTheta > |
The type of the 2D Spline Evaluator used by this class. | |
Public Member Functions | |
PoissonLikeRHSFunction (host_t< ConstSpline2D > coefs, evaluator_type const &evaluator) | |
Instantiate a PoissonLikeRHSFunction. | |
double | operator() (CoordRTheta const &coord_rp) const |
Get the value of the function at a given coordinate. | |
Type of right-hand side (rhs) function of the Poisson equation.
RadialExtrapolationRule | The extrapolation rule applied at the outer radial bound. |
|
inline |
Instantiate a PoissonLikeRHSFunction.
[in] | coefs | The bsplines coefficients of the right-hand side function. |
[in] | evaluator | Evaluator on bsplines. |
|
inline |
Get the value of the function at a given coordinate.
[in] | coord_rp | Polar coordinate where we want to evaluate the rhs function. |