Go to the documentation of this file.
16 gftwo.
set_name (
"I'm a GriddedField2");
50 if (!gfone.checksize())
51 cout << gfone.get_name() <<
": Sizes of grid and data don't match" << endl;
55 cout << gftwo.
get_name() <<
": Sizes of grids and data don't match" << endl;
60 cout <<
"GriddedField1: " << gfone << endl;
61 cout <<
"GriddedField2: " << gftwo << endl;
Implementation of gridded fields.
void set_grid_name(Index i, const String &s)
Set grid name.
void set_name(const String &s)
Set name of this gridded field.
Implements the class MakeArray, which is a derived class of Array, allowing explicit initialization.
const String & get_name() const
Get the name of this gridded field.
virtual bool checksize() const
Consistency check.
void set_grid(Index i, const Vector &g)
Set a numeric grid.
Explicit construction of Arrays.