5 int nlong,
int ntrans,
double lmin,
double tmin,
double lmax,
double tmax)
8 , lmin(lmin), tmin(tmin), lmax(lmax), tmax(tmax)
45 return array.shape()[0];
49 return array.shape()[1];
54 return array[lind][tind];
virtual int lsize() const
Helper method to give the array size in longitudinal dimension.
std::shared_ptr< const IDepo > pointer
virtual double tpos(int ind, double offset=0.0) const
Diffusion(IDepo::pointer depo, int nlong, int ntrans, double lmin, double tmin, double lmax, double tmax)
virtual double set(int lind, int tind, double value)
double lbin() const
Return bins size in longitudinal direction.
virtual double lpos(int ind, double offset=0.0) const
auto array(Array const &a)
Returns a manipulator which will print the specified array.
virtual int tsize() const
Helper method to give the array size in transverse dimension.
virtual IDepo::pointer depo() const
Return the deposition that led to this diffusion.
Diffusion & operator=(const Diffusion &other)
const GenericPointer< typename T::ValueType > T2 value
virtual double get(int lind, int tind) const
Get value at bin.
boost::multi_array< double, 2 > array
double tbin() const
Return bins size in transverse direction.