ARTS
2.4.0(git:4fb77825)
|
Creates a 3D field of a base unit. More...
#include <field.h>
Public Member Functions | |
Field3D (const Field3D &g)=default | |
Construct a new Field3D object. More... | |
Field3D< base > & | operator= (const Field3D &g)=default |
Default assignment operator. More... | |
Field3D< base > & | operator= (Field3D &&g)=default |
Default move operator. More... | |
Field3D (Field3D &&g) | |
Construct a new Field3D object. More... | |
Field3D (size_t pages=0, size_t rows=0, size_t cols=0, const base &init=base()) | |
Construct a new Field 3 D object. More... | |
base & | operator() (size_t page=0, size_t row=0, size_t col=0) |
Access operator. More... | |
const base & | operator() (size_t col=0, size_t row=0, size_t page=0) const |
Access operator. More... | |
base | operator() (const GridPos &page={0, {0, 1}}, const GridPos &row={0, {0, 1}}, const GridPos &col={0, {0, 1}}) const |
Weighted access operator by GridPos. More... | |
size_t | npages () const |
Number of pages. More... | |
size_t | nrows () const |
Number of rows. More... | |
size_t | ncols () const |
Number of columns. More... | |
Private Attributes | |
size_t | mpages |
size_t | mrows |
size_t | mcols |
std::vector< base > | data |
Creates a 3D field of a base unit.
Construct a new Field3D object.
[in] | g | Another field |
|
inline |
Number of columns.
Definition at line 176 of file field.h.
References Field3D< base >::mcols.
Referenced by transmat_field_calc_from_propmat_field().
|
inline |
Number of pages.
Definition at line 170 of file field.h.
References Field3D< base >::mpages.
Referenced by operator<<(), and transmat_field_calc_from_propmat_field().
|
inline |
Number of rows.
Definition at line 173 of file field.h.
References Field3D< base >::mrows.
Referenced by operator<<(), and transmat_field_calc_from_propmat_field().
|
inline |
Access operator.
Returns a ref to the object that cannot be changed
[in] | page | Outer dim |
[in] | row | Middle dim |
[in] | col | Inner dim |
Definition at line 114 of file field.h.
References Field3D< base >::data, Field3D< base >::mcols, and Field3D< base >::mrows.
|
inline |
Access operator.
Returns a ref to the object that can be changed in place
[in] | page | Outer dim |
[in] | row | Middle dim |
[in] | col | Inner dim |
Definition at line 100 of file field.h.
References Field3D< base >::data, Field3D< base >::mcols, and Field3D< base >::mrows.
|
default |
Default assignment operator.
[in] | g | Another field |
Default move operator.
[in] | g | Another field |
|
private |
Definition at line 36 of file field.h.
Referenced by Field3D< base >::operator()().
|
private |
Definition at line 35 of file field.h.
Referenced by Field3D< base >::ncols(), and Field3D< base >::operator()().
|
private |
Definition at line 35 of file field.h.
Referenced by Field3D< base >::npages().
|
private |
Definition at line 35 of file field.h.
Referenced by Field3D< base >::nrows(), and Field3D< base >::operator()().