Gyselalib++
PolarSplineSpan< PolarBSplinesType, MemSpace > Struct Template Reference

A structure containing the two ChunkSpans necessary to define a reference to a spline on a set of polar basis splines. More...

Public Types

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.
 

Public Member Functions

 PolarSplineSpan (PolarSpline< PolarBSplinesType, MemSpace > &spl)
 Construct a reference to a PolarSpline. More...
 
PolarSplineSpan< PolarBSplinesType, MemSpace > span_view ()
 Get a modifiable reference to the polar spline referenced by this polar spline view. More...
 
PolarSplineView< PolarBSplinesType, MemSpace > span_cview () const
 Get a constant reference to the polar spline referenced by this polar spline view. More...
 

Public Attributes

ddc::ChunkSpan< double, ddc::DiscreteDomain< BSplinesR, BSplinesTheta >, std::experimental::layout_right, MemSpace > spline_coef
 A ChunkSpan containing the coefficients in front of the b-spline elements which can be expressed as a tensor product of 1D bsplines.
 
ddc::ChunkSpan< double, ddc::DiscreteDomain< PolarBSplinesType >, std::experimental::layout_right, MemSpace > singular_spline_coef
 A ChunkSpan 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.
 

Detailed Description

template<class PolarBSplinesType, class MemSpace>
struct PolarSplineSpan< PolarBSplinesType, MemSpace >

A structure containing the two ChunkSpans necessary to define a reference to a spline on a set of polar basis splines.

Template Parameters
PolarBSplinesTypeThe type of the polar bsplines on which this spline is defined.

Constructor & Destructor Documentation

◆ PolarSplineSpan()

template<class PolarBSplinesType , class MemSpace >
PolarSplineSpan< PolarBSplinesType, MemSpace >::PolarSplineSpan ( PolarSpline< PolarBSplinesType, MemSpace > &  spl)
inline

Construct a reference to a PolarSpline.

Parameters
splThe PolarSpline being referenced.

Member Function Documentation

◆ span_view()

template<class PolarBSplinesType , class MemSpace >
PolarSplineSpan<PolarBSplinesType, MemSpace> PolarSplineSpan< PolarBSplinesType, MemSpace >::span_view ( )
inline

Get a modifiable reference to the polar spline referenced by this polar spline view.

Returns
A modifiable reference to a polar spline.

◆ span_cview()

template<class PolarBSplinesType , class MemSpace >
PolarSplineView<PolarBSplinesType, MemSpace> PolarSplineSpan< PolarBSplinesType, MemSpace >::span_cview ( ) const
inline

Get a constant reference to the polar spline referenced by this polar spline view.

Returns
A constant reference to a polar spline.

The documentation for this struct was generated from the following file: