![]() |
Project
|
this is a simple vector class which is used in the poisson solver class More...
#include <Vector3D.h>
Public Member Functions | |
Vector3D (const unsigned int nr, const unsigned int nz, const unsigned int nphi) | |
Vector3D ()=default | |
default constructor | |
DataT & | operator() (const unsigned int iR, const unsigned int iZ, const unsigned int iPhi) |
operator to set the values | |
const DataT & | operator() (const unsigned int iR, const unsigned int iZ, const unsigned int iPhi) const |
operator to read the values | |
DataT & | operator[] (const unsigned int index) |
operator to directly access the values | |
const DataT & | operator[] (const unsigned int index) const |
int | getIndex (const unsigned int iR, const unsigned int iZ, const unsigned int iPhi) const |
void | resize (const unsigned int nr, const unsigned int nz, const unsigned int nphi) |
const auto & | data () const |
auto & | data () |
unsigned int | getNr () const |
get number of data points in r direction | |
unsigned int | getNz () const |
get number of data points in z direction | |
unsigned int | getNphi () const |
get number of data points in phi direction | |
unsigned int | size () const |
get number of data points | |
auto | begin () const |
auto | begin () |
auto | end () const |
auto | end () |
this is a simple vector class which is used in the poisson solver class
DataT | the data type of the mStorage which is used during the calculations |
Definition at line 30 of file Vector3D.h.
|
inline |
Constructor for a tricubic interpolator
nr | number of data points in r directions |
nz | number of data points in r directions |
nphi | number of data points in r directions |
Definition at line 37 of file Vector3D.h.
|
default |
default constructor
|
inline |
Definition at line 95 of file Vector3D.h.
|
inline |
Definition at line 94 of file Vector3D.h.
|
inline |
Definition at line 87 of file Vector3D.h.
|
inline |
Definition at line 86 of file Vector3D.h.
|
inline |
Definition at line 98 of file Vector3D.h.
|
inline |
Definition at line 97 of file Vector3D.h.
|
inline |
iR | index in r direction |
iZ | index in z direction |
iPhi | index in phi direction |
Definition at line 69 of file Vector3D.h.
|
inline |
get number of data points in phi direction
Definition at line 91 of file Vector3D.h.
|
inline |
get number of data points in r direction
Definition at line 89 of file Vector3D.h.
|
inline |
get number of data points in z direction
Definition at line 90 of file Vector3D.h.
|
inline |
operator to set the values
Definition at line 43 of file Vector3D.h.
|
inline |
operator to read the values
Definition at line 49 of file Vector3D.h.
|
inline |
operator to directly access the values
Definition at line 55 of file Vector3D.h.
|
inline |
Definition at line 60 of file Vector3D.h.
|
inline |
resize the vector
nr | number of data points in r directions |
nz | number of data points in r directions |
nphi | number of data points in r directions |
Definition at line 78 of file Vector3D.h.
|
inline |
get number of data points
Definition at line 92 of file Vector3D.h.