|
| Parameters (const Config &config) |
| Initialize grid defaults from a configuration database.
|
|
| Parameters (const Config &config, unsigned Mx_, unsigned My_, double Lx, double Ly) |
| Initialize grid defaults from a configuration database, but set Mx and My explicitly.
|
|
| Parameters (std::shared_ptr< units::System > unit_system, const File &file, const std::string &variable_name, Registration r) |
| Initialize grid defaults from a NetCDF variable.
|
|
void | horizontal_size_and_extent_from_options (const Config &config) |
| Process -Lx, -Ly, -x0, -y0; set Lx, Ly, x0, y0.
|
|
void | vertical_grid_from_options (const Config &config) |
| Process -Mz and -Lz; set z;.
|
|
void | ownership_ranges_from_options (const Config &config, unsigned int size) |
| Re-compute ownership ranges. Uses current values of Mx and My.
|
|
void | validate () const |
| Validate data members.
|
|
|
double | Lx |
| Domain half-width in the X direction.
|
|
double | Ly |
| Domain half-width in the Y direction.
|
|
double | x0 |
| Domain center in the X direction.
|
|
double | y0 |
| Domain center in the Y direction.
|
|
unsigned int | Mx |
| Number of grid points in the X direction.
|
|
unsigned int | My |
| Number of grid points in the Y direction.
|
|
Registration | registration |
| Grid registration.
|
|
Periodicity | periodicity |
| Grid periodicity.
|
|
std::vector< double > | z |
| Vertical levels.
|
|
std::vector< unsigned int > | procs_x |
| Processor ownership ranges in the X direction.
|
|
std::vector< unsigned int > | procs_y |
| Processor ownership ranges in the Y direction.
|
|
std::string | variable_name |
| Name of the variable used to initialize the instance (empty if not used)
|
|
Grid parameters; used to collect defaults before an Grid is allocated.
Definition at line 123 of file Grid.hh.