PLaSK library
|
#include <plask/mesh/rectangular_spline.hpp>
Public Member Functions | |
SplineRect2DLazyDataImpl (const shared_ptr< const RectangularMesh2D > &src_mesh, const DataVector< const SrcT > &src_vec, const shared_ptr< const MeshD< 2 > > &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, RectangularMesh2D, const SrcT > | |
InterpolatedLazyDataImpl (const shared_ptr< const RectangularMesh2D > &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< SrcT > | diff0 |
DataVector< SrcT > | diff1 |
Public Attributes inherited from plask::InterpolatedLazyDataImpl< DstT, RectangularMesh2D, const SrcT > | |
shared_ptr< const RectangularMesh2D > | src_mesh |
shared_ptr< const MeshD< SrcMeshType::DIM > > | dst_mesh |
DataVector< const const SrcT > | src_vec |
InterpolationFlags | flags |
Additional Inherited Members | |
Public Types inherited from plask::LazyDataImpl< DstT > | |
typedef DstT | CellType |
Definition at line 27 of file rectangular_spline.hpp.
plask::SplineRect2DLazyDataImpl< DstT, SrcT >::SplineRect2DLazyDataImpl | ( | const shared_ptr< const RectangularMesh2D > & | src_mesh, |
const DataVector< const SrcT > & | src_vec, | ||
const shared_ptr< const MeshD< 2 > > & | dst_mesh, | ||
const InterpolationFlags & | flags | ||
) |
Definition at line 22 of file rectangular_spline.cpp.
|
overridevirtual |
Get index-th value from vector.
index | should be a value from 0 to size()-1 |
Implements plask::LazyDataImpl< DstT >.
Definition at line 30 of file rectangular_spline.cpp.
DataVector<SrcT> plask::SplineRect2DLazyDataImpl< DstT, SrcT >::diff0 |
Definition at line 29 of file rectangular_spline.hpp.
DataVector<SrcT> plask::SplineRect2DLazyDataImpl< DstT, SrcT >::diff1 |
Definition at line 29 of file rectangular_spline.hpp.