PLaSK library
Loading...
Searching...
No Matches
plask::electrical::diffusion::Diffusion3DSolver::ConcentrationDataImpl Struct Reference

#include <solvers/electrical/diffusion/diffusion3d.hpp>

Inheritance diagram for plask::electrical::diffusion::Diffusion3DSolver::ConcentrationDataImpl:
[legend]
Collaboration diagram for plask::electrical::diffusion::Diffusion3DSolver::ConcentrationDataImpl:
[legend]

Public Member Functions

 ConcentrationDataImpl (const Diffusion3DSolver *solver, shared_ptr< const MeshD< 3 > > 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 Diffusion3DSolversolver
 
shared_ptr< const MeshD< 3 > > destination_mesh
 
InterpolationFlags interpolationFlags
 
std::vector< LazyData< double > > concentrations
 

Additional Inherited Members

- Public Types inherited from plask::LazyDataImpl< double >
typedef double CellType
 

Detailed Description

Definition at line 147 of file diffusion3d.hpp.

Constructor & Destructor Documentation

◆ ConcentrationDataImpl()

plask::electrical::diffusion::Diffusion3DSolver::ConcentrationDataImpl::ConcentrationDataImpl ( const Diffusion3DSolver solver,
shared_ptr< const MeshD< 3 > >  dest_mesh,
InterpolationMethod  interp 
)

Definition at line 405 of file diffusion3d.cpp.

Member Function Documentation

◆ at()

double plask::electrical::diffusion::Diffusion3DSolver::ConcentrationDataImpl::at ( size_t  i) const
override

Definition at line 473 of file diffusion3d.cpp.

◆ size()

size_t plask::electrical::diffusion::Diffusion3DSolver::ConcentrationDataImpl::size ( ) const
inlineoverridevirtual

Get the number of elements in this vector.

Returns
the number of elements in this vector

Implements plask::LazyDataImpl< double >.

Definition at line 154 of file diffusion3d.hpp.

Member Data Documentation

◆ concentrations

std::vector<LazyData<double> > plask::electrical::diffusion::Diffusion3DSolver::ConcentrationDataImpl::concentrations

Definition at line 151 of file diffusion3d.hpp.

◆ destination_mesh

shared_ptr<const MeshD<3> > plask::electrical::diffusion::Diffusion3DSolver::ConcentrationDataImpl::destination_mesh

Definition at line 149 of file diffusion3d.hpp.

◆ interpolationFlags

InterpolationFlags plask::electrical::diffusion::Diffusion3DSolver::ConcentrationDataImpl::interpolationFlags

Definition at line 150 of file diffusion3d.hpp.

◆ solver

const Diffusion3DSolver* plask::electrical::diffusion::Diffusion3DSolver::ConcentrationDataImpl::solver

Definition at line 148 of file diffusion3d.hpp.


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