template<class ExecSpace, class MemorySpace, template< typename P > typename BSplineOnPatch, template< typename P > typename GridOnPatch, ddc::BoundCond BcLower, ddc::BoundCond BcUpper, ddc::BoundCond BcTransition, class Connectivity, ddc::SplineSolver Solver, template< typename P > typename ValuesOnPatch, class... Patches>
class MultipatchSplineBuilder< ExecSpace, MemorySpace, BSplineOnPatch, GridOnPatch, BcLower, BcUpper, BcTransition, Connectivity, Solver, ValuesOnPatch, Patches >
A class to call all the builders of all the patches once.
We need to instantiate all the builders for all the patches in the main code. We process the same way for the Fields containing the spline coefficients and the values of the function on each patch. The Fields are stored in MultipatchField objects. The builders are stored in this class. This class is instantiated with all the builders. The operator() allows to call all the builders stored in the member of this class in one single line.
This function is useful to avoid calling all the builders individually, especially in a multipatch geometry with several patches.
- Template Parameters
-
ExecSpace | The space (CPU/GPU) where the calculations are carried out. |
MemorySpace | The space (CPU/GPU) where the coefficients and values are stored. |
BSplineOnPatch | A type alias which provides the BSpline type along which the splines are built. |
GridOnPatch | A type alias which provides the Grid type along which the interpolation points of the splines are found. |
BcLower | The lower boundary condition. |
BcUpper | The upper boundary condition. |
BcTransition | The boundary condition used at the interface between 2 patches. |
Connectivity | A MultipatchConnectivity object describing the interfaces between patches. |
Solver | The SplineSolver giving the backend used to perform the spline approximation. See DDC for more details. |
ValuesOnPatch | A type alias which provides the field type which will be used to pass the values of the function at the interpolation points. The index range of this field type should contain any batch dimensions. |