|
PLaSK library
|
Base class for lazy data (vector) that perform interpolation. More...
#include <plask/mesh/interpolation.hpp>
Public Member Functions | |
| InterpolatedLazyDataImpl (const shared_ptr< const SrcMeshType > &src_mesh, const DataVector< 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 DstT | at (std::size_t index) const=0 |
| Get index-th value from vector. | |
| virtual DataVector< const DstT > | getAll () const |
| Get all values as non-lazy vector. | |
| virtual DataVector< DstT > | claim () const |
Public Attributes | |
| shared_ptr< const SrcMeshType > | src_mesh |
| shared_ptr< const MeshD< SrcMeshType::DIM > > | dst_mesh |
| DataVector< const SrcT > | src_vec |
| InterpolationFlags | flags |
Additional Inherited Members | |
Public Types inherited from plask::LazyDataImpl< DstT > | |
| typedef DstT | CellType |
Base class for lazy data (vector) that perform interpolation.
It has reference to source (src_mesh) and destination (dst_mesh) meshes and to source data vector (src_vec).
Definition at line 417 of file interpolation.hpp.
|
inline |
Definition at line 424 of file interpolation.hpp.
|
inlineoverridevirtual |
Get the number of elements in this vector.
Implements plask::LazyDataImpl< DstT >.
Definition at line 428 of file interpolation.hpp.
| shared_ptr<const MeshD<SrcMeshType::DIM> > plask::InterpolatedLazyDataImpl< DstT, SrcMeshType, SrcT >::dst_mesh |
Definition at line 420 of file interpolation.hpp.
Definition at line 422 of file interpolation.hpp.
| shared_ptr<const SrcMeshType> plask::InterpolatedLazyDataImpl< DstT, SrcMeshType, SrcT >::src_mesh |
Definition at line 419 of file interpolation.hpp.
| DataVector<const SrcT> plask::InterpolatedLazyDataImpl< DstT, SrcMeshType, SrcT >::src_vec |
Definition at line 421 of file interpolation.hpp.