A structure containing the two Chunks necessary to define a spline on a set of polar basis splines.
More...
|
using | BSplinesR = typename PolarBSplinesType::BSplinesR_tag |
| The radial bspline from which the polar bsplines are constructed.
|
|
using | BSplinesTheta = typename PolarBSplinesType::BSplinesTheta_tag |
| The poloidal bspline from which the polar bsplines are constructed.
|
|
|
ddc::Chunk< double, ddc::DiscreteDomain< BSplinesR, BSplinesTheta >, ddc::KokkosAllocator< double, MemSpace > > | spline_coef |
| A Chunk containing the coefficients in front of the b-spline elements which can be expressed as a tensor product of 1D bsplines.
|
|
ddc::Chunk< double, ddc::DiscreteDomain< PolarBSplinesType >, ddc::KokkosAllocator< double, MemSpace > > | singular_spline_coef |
| A Chunk containing the coefficients in front of the b-spline elements near the singular point which cannot be expressed as a tensor product of 1D bsplines.
|
|
template<class PolarBSplinesType, class MemSpace = Kokkos::DefaultExecutionSpace::memory_space>
struct PolarSpline< PolarBSplinesType, MemSpace >
A structure containing the two Chunks necessary to define a spline on a set of polar basis splines.
- Template Parameters
-
PolarBSplinesType | The type of the polar bsplines on which this spline is defined. |
◆ PolarSpline() [1/2]
template<class PolarBSplinesType , class MemSpace = Kokkos::DefaultExecutionSpace::memory_space>
A constructor for the PolarSpline.
A constructor for the PolarSpline which takes a 2D domain of bsplines. This domain is then split into the domains which are relevant for a polar bspline constructed from these 2D bsplines. These new domains are then used to create the chunks which define the spline.
- Parameters
-
domain | A 2D domain of bsplines. |
◆ PolarSpline() [2/2]
template<class PolarBSplinesType , class MemSpace = Kokkos::DefaultExecutionSpace::memory_space>
Initialise the Chunks containing the coefficients of the spline representation.
- Parameters
-
singular_domain | The domain for the coefficients in front of the b-spline elements near the singular point. These are the elements which cannot be expressed as a tensor product of 1D bsplines. |
domain | The domain for the coefficients in front of the b-spline elements which can be expressed as a tensor product of 1D bsplines. |
◆ span_view()
template<class PolarBSplinesType , class MemSpace = Kokkos::DefaultExecutionSpace::memory_space>
Get a modifiable reference to this polar spline.
- Returns
- A modifiable reference to this polar spline.
◆ span_cview()
template<class PolarBSplinesType , class MemSpace = Kokkos::DefaultExecutionSpace::memory_space>
Get a constant reference to this polar spline view.
- Returns
- A constant reference to this polar spline.
The documentation for this struct was generated from the following file:
- /home/runner/work/gyselalibxx/gyselalibxx/code_branch/vendor/sll/include/sll/polar_spline.hpp