PLaSK library
Loading...
Searching...
No Matches
plask::SplineMaskedRectElement3DLazyDataImpl< DstT, SrcT > Struct Template Reference

#include <plask/mesh/rectangular_masked_spline.hpp>

Inheritance diagram for plask::SplineMaskedRectElement3DLazyDataImpl< DstT, SrcT >:
[legend]
Collaboration diagram for plask::SplineMaskedRectElement3DLazyDataImpl< DstT, SrcT >:
[legend]

Public Types

typedef RectangularMaskedMesh3D::ElementMesh MeshType
 
- Public Types inherited from plask::LazyDataImpl< DstT >
typedef DstT CellType
 

Public Member Functions

 SplineMaskedRectElement3DLazyDataImpl (const shared_ptr< const RectangularMaskedMesh3D::ElementMesh > &src_mesh, const DataVector< const SrcT > &src_vec, const shared_ptr< const MeshD< 3 > > &dst_mesh, const InterpolationFlags &flags)
 
DstT at (std::size_t index) const override
 Get index-th value from vector.
 
- Public Member Functions inherited from plask::InterpolatedLazyDataImpl< DstT, RectangularMaskedMesh3D::ElementMesh, const SrcT >
 InterpolatedLazyDataImpl (const shared_ptr< const RectangularMaskedMesh3D::ElementMesh > &src_mesh, const DataVector< const const SrcT > &src_vec, const shared_ptr< const MeshD< SrcMeshType::DIM > > &dst_mesh, const InterpolationFlags &flags)
 
std::size_t size () const override
 Get the number of elements in this vector.
 
- Public Member Functions inherited from plask::LazyDataImpl< DstT >
virtual ~LazyDataImpl ()
 
virtual DataVector< const DstT > getAll () const
 Get all values as non-lazy vector.
 
virtual DataVector< DstT > claim () const
 

Public Attributes

DataVector< SrcTdiff0
 
DataVector< SrcTdiff1
 
DataVector< SrcTdiff2
 
- Public Attributes inherited from plask::InterpolatedLazyDataImpl< DstT, RectangularMaskedMesh3D::ElementMesh, const SrcT >
shared_ptr< const RectangularMaskedMesh3D::ElementMeshsrc_mesh
 
shared_ptr< const MeshD< SrcMeshType::DIM > > dst_mesh
 
DataVector< const const SrcT > src_vec
 
InterpolationFlags flags
 

Detailed Description

template<typename DstT, typename SrcT>
struct plask::SplineMaskedRectElement3DLazyDataImpl< DstT, SrcT >

Definition at line 77 of file rectangular_masked_spline.hpp.

Member Typedef Documentation

◆ MeshType

Constructor & Destructor Documentation

◆ SplineMaskedRectElement3DLazyDataImpl()

template<typename DstT , typename SrcT >
plask::SplineMaskedRectElement3DLazyDataImpl< DstT, SrcT >::SplineMaskedRectElement3DLazyDataImpl ( const shared_ptr< const RectangularMaskedMesh3D::ElementMesh > &  src_mesh,
const DataVector< const SrcT > &  src_vec,
const shared_ptr< const MeshD< 3 > > &  dst_mesh,
const InterpolationFlags flags 
)
inline

Definition at line 83 of file rectangular_masked_spline.hpp.

Member Function Documentation

◆ at()

template<typename DstT , typename SrcT >
DstT plask::SplineMaskedRectElement3DLazyDataImpl< DstT, SrcT >::at ( std::size_t  index) const
overridevirtual

Get index-th value from vector.

Parameters
indexshould be a value from 0 to size()-1
Returns
index-th value from vector

Implements plask::LazyDataImpl< DstT >.

Definition at line 285 of file rectangular_masked_spline.cpp.

Member Data Documentation

◆ diff0

◆ diff1

◆ diff2


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