Go to the documentation of this file.
34 #ifndef gridded_fields_h
35 #define gridded_fields_h
const ArrayOfString & get_string_grid(Index i) const
Get a string grid.
void set_grid_name(Index i, const String &s)
Set grid name.
void resize(Index b, Index p, Index r, Index c)
Resize function.
void resize(Index n)
Resize the data vector.
Array< GriddedField3 > ArrayOfGriddedField3
void resize(Index b, Index p, Index r, Index c)
Resize the data tensor.
Array< GridType > mgridtypes
GriddedField2()
Construct an empty GriddedField2.
Array< GridType > ArrayOfGridType
GriddedField3 & operator=(Numeric n)
void resize(Index n)
Resize function.
Index get_dim() const
Get the dimension of this gridded field.
Array< Array< GriddedField1 > > ArrayOfArrayOfGriddedField1
friend ostream & operator<<(ostream &os, const GriddedField &gf)
Output operator for GriddedField.
GriddedField(const Index d, const String &s)
Construct a GriddedField.
Index nrows() const
Returns the number of rows.
ArrayOfVector mnumericgrids
friend ostream & operator<<(ostream &os, const GriddedField2 &gf)
Output operator for GriddedField2.
ConstVectorView get_numeric_grid(Index i) const
Get a numeric grid.
virtual bool checksize() const
Consistency check.
This file contains the definition of Array.
void resize(Index r, Index c)
Resize the data matrix.
GriddedField3(const String &s)
Construct an empty GriddedField3 with the given name.
void resize(Index p, Index r, Index c)
Resize function.
Index npages() const
Returns the number of pages.
Index get_grid_size(Index i) const
Get the size of a grid.
GriddedField2(const String &s)
Construct an empty GriddedField2 with the given name.
GridType get_grid_type(Index i) const
Get grid type.
Array< ArrayOfString > mstringgrids
void resize(Index p, Index r, Index c)
Resize the data tensor.
GriddedField()
Construct an empty GriddedField.
Index ncols() const
Returns the number of columns.
Array< GriddedField4 > ArrayOfGriddedField4
Index nelem() const
Returns the number of elements.
GriddedField3()
Construct an empty GriddedField3.
Index ncols() const
Returns the number of columns.
GriddedField4(const String &s)
Construct an empty GriddedField4 with the given name.
NUMERIC Numeric
The type to use for all floating point numbers.
GriddedField1(const String &s)
Construct an empty GriddedField1 with the given name.
Index npages() const
Returns the number of pages.
void copy_grids(const GriddedField &gf)
Copy grids.
void set_name(const String &s)
Set name of this gridded field.
Index nbooks() const
Returns the number of books.
const String & get_name() const
Get the name of this gridded field.
void resize(const GriddedField3 &gf)
Make this GriddedField3 the same size as the given one.
void resize(const GriddedField4 &gf)
Make this GriddedField4 the same size as the given one.
void resize(Index r, Index c)
Resize function.
Index nrows() const
Returns the number of rows.
Index nrows() const
Returns the number of rows.
virtual bool checksize() const
Consistency check.
friend ostream & operator<<(ostream &os, const GriddedField4 &gf)
Output operator for GriddedField4.
virtual bool checksize() const
Consistency check.
void set_grid(Index i, const Vector &g)
Set a numeric grid.
virtual bool checksize() const
Consistency check.
GriddedField1()
Construct an empty GriddedField1.
ostream & operator<<(ostream &os, const GriddedField &gf)
Output operator for GriddedField.
Index ncols() const
Returns the number of columns.
GriddedField4()
Construct an empty GriddedField4.
Array< GriddedField1 > ArrayOfGriddedField1
virtual ~GriddedField()
GriddedField destructor.
friend ostream & operator<<(ostream &os, const GriddedField3 &gf)
Output operator for GriddedField3.
void resize(const GriddedField1 &gf)
Make this GriddedField1 the same size as the given one.
Array< Array< GriddedField3 > > ArrayOfArrayOfGriddedField3
Array< GriddedField2 > ArrayOfGriddedField2
INDEX Index
The type to use for all integer numbers and indices.
const String & get_grid_name(Index i) const
Get grid name.
virtual bool checksize() const
Consistency check.
A constant view of a Vector.
Index nelem() const
Number of elements.
This file contains the definition of String, the ARTS string class.
void resize(const GriddedField2 &gf)
Make this GriddedField2 the same size as the given one.
friend ostream & operator<<(ostream &os, const GriddedField1 &gf)
Output operator for GriddedField1.