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;
Explicit construction of Arrays.
virtual bool checksize() const
Consistency check.
const String & get_name() const
Get the name of this gridded field.
void set_grid(Index i, const Vector &g)
Set a numeric grid.
Implements the class MakeArray, which is a derived class of Array, allowing explicit initialization...
void set_name(const String &s)
Set name of this gridded field.
void set_grid_name(Index i, const String &s)
Set grid name.
Implementation of gridded fields.