Gyselalib++
 
Loading...
Searching...
No Matches
NullExtrapolationRule Struct Reference

Define null extrapolation rule commun to all geometries. More...

Public Member Functions

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.
 

Detailed Description

Define null extrapolation rule commun to all geometries.

See also
MultipatchSplineEvaluator2D.

Member Function Documentation

◆ 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_extrapCoordinate where we want to evaluate.
[in]patches_splinesSplines stored in a MultipatchType.
[in]out_of_bounds_idxIndex 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: