PLaSK library
|
#include <solvers/electrical/diffusion/diffusion2d.hpp>
Public Member Functions | |
ConcentrationDataImpl (const Diffusion2DSolver *solver, shared_ptr< const MeshD< 2 > > dest_mesh, InterpolationMethod interp) | |
double | at (size_t i) const override |
size_t | size () const override |
Get the number of elements in this vector. | |
Public Member Functions inherited from plask::LazyDataImpl< double > | |
virtual | ~LazyDataImpl () |
virtual double | at (std::size_t index) const=0 |
Get index-th value from vector. | |
virtual DataVector< const double > | getAll () const |
Get all values as non-lazy vector. | |
virtual DataVector< double > | claim () const |
Public Attributes | |
const Diffusion2DSolver * | solver |
shared_ptr< const MeshD< 2 > > | destination_mesh |
InterpolationFlags | interpolationFlags |
std::vector< LazyData< double > > | concentrations |
Additional Inherited Members | |
Public Types inherited from plask::LazyDataImpl< double > | |
typedef double | CellType |
Definition at line 117 of file diffusion2d.hpp.
plask::electrical::diffusion::Diffusion2DSolver< Geometry2DType >::ConcentrationDataImpl::ConcentrationDataImpl | ( | const Diffusion2DSolver * | solver, |
shared_ptr< const MeshD< 2 > > | dest_mesh, | ||
InterpolationMethod | interp | ||
) |
Definition at line 518 of file diffusion2d.cpp.
|
override |
Definition at line 566 of file diffusion2d.cpp.
|
inlineoverridevirtual |
Get the number of elements in this vector.
Implements plask::LazyDataImpl< double >.
Definition at line 124 of file diffusion2d.hpp.
std::vector<LazyData<double> > plask::electrical::diffusion::Diffusion2DSolver< Geometry2DType >::ConcentrationDataImpl::concentrations |
Definition at line 121 of file diffusion2d.hpp.
shared_ptr<const MeshD<2> > plask::electrical::diffusion::Diffusion2DSolver< Geometry2DType >::ConcentrationDataImpl::destination_mesh |
Definition at line 119 of file diffusion2d.hpp.
InterpolationFlags plask::electrical::diffusion::Diffusion2DSolver< Geometry2DType >::ConcentrationDataImpl::interpolationFlags |
Definition at line 120 of file diffusion2d.hpp.
const Diffusion2DSolver* plask::electrical::diffusion::Diffusion2DSolver< Geometry2DType >::ConcentrationDataImpl::solver |
Definition at line 118 of file diffusion2d.hpp.