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

A structure containing the two ChunkViews necessary to define a constant 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

 PolarSplineView (PolarSpline< PolarBSplinesType, MemSpace > const &spl)
 Construct a constant reference to a PolarSpline. More...
 
 PolarSplineView (PolarSplineSpan< PolarBSplinesType, MemSpace > const &spl)
 Construct a constant reference to a PolarSpline from a PolarSplineSpan. More...
 
PolarSplineSpan< PolarBSplinesType, MemSpace > span_view () const
 Get a 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 const, ddc::DiscreteDomain< BSplinesR, BSplinesTheta >, std::experimental::layout_right, MemSpace > const spline_coef
 A ChunkView containing the coefficients in front of the b-spline elements which can be expressed as a tensor product of 1D bsplines.
 
ddc::ChunkSpan< double const, ddc::DiscreteDomain< PolarBSplinesType >, std::experimental::layout_right, MemSpace > const singular_spline_coef
 A ChunkView 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 PolarSplineView< PolarBSplinesType, MemSpace >

A structure containing the two ChunkViews necessary to define a constant 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

◆ PolarSplineView() [1/2]

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

Construct a constant reference to a PolarSpline.

Parameters
splThe PolarSpline being referenced.

◆ PolarSplineView() [2/2]

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

Construct a constant reference to a PolarSpline from a PolarSplineSpan.

Parameters
splThe PolarSpline being referenced.

Member Function Documentation

◆ span_view()

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

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

Returns
A reference to a polar spline.

◆ span_cview()

template<class PolarBSplinesType , class MemSpace >
PolarSplineView<PolarBSplinesType, MemSpace> PolarSplineView< 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: