Define null extrapolation rule commun to all geometries.
More...
|
template<class... Dim, template< typename P > typename SplinesOnPatch, class... Patches> |
KOKKOS_FUNCTION double | operator() (Coord< Dim... > const &coord_extrap, MultipatchType< SplinesOnPatch, Patches... > const &patches_splines, int const out_of_bounds_idx) const |
| Evaluate to zero the splines at a given coordinate outside of the splines domain.
|
|
Define null extrapolation rule commun to all geometries.
- See also
- MultipatchSplineEvaluator2D.
◆ operator()()
template<class... Dim, template< typename P > typename SplinesOnPatch, class... Patches>
KOKKOS_FUNCTION double NullExtrapolationRule::operator() |
( |
Coord< Dim... > const & |
coord_extrap, |
|
|
MultipatchType< SplinesOnPatch, Patches... > const & |
patches_splines, |
|
|
int const |
out_of_bounds_idx |
|
) |
| const |
|
inline |
Evaluate to zero the splines at a given coordinate outside of the splines domain.
- Parameters
-
[in] | coord_extrap | Coordinate where we want to evaluate. |
[in] | patches_splines | Splines stored in a MultipatchType. |
[in] | out_of_bounds_idx | Index of the localisation of the coordinate. It is supposed to be negative to be considered as outside of the domain. |
- Returns
- A null double.
The documentation for this struct was generated from the following file: