|
Registration | pism::grid::string_to_registration (const std::string &keyword) |
|
std::string | pism::grid::registration_to_string (Registration registration) |
|
Periodicity | pism::grid::string_to_periodicity (const std::string &keyword) |
| Convert a string to Periodicity.
|
|
std::string | pism::grid::periodicity_to_string (Periodicity p) |
| Convert Periodicity to a STL string.
|
|
VerticalSpacing | pism::grid::string_to_spacing (const std::string &keyword) |
| Convert an STL string to SpacingType.
|
|
std::string | pism::grid::spacing_to_string (VerticalSpacing s) |
| Convert SpacingType to an STL string.
|
|
std::vector< double > | pism::grid::compute_vertical_levels (double new_Lz, size_t new_Mz, grid::VerticalSpacing spacing, double lambda) |
| Set the vertical levels in the ice according to values in Mz (number of levels), Lz (domain height), spacing (quadratic or equal) and lambda (quadratic spacing parameter).
|
|
double | pism::grid::radius (const Grid &grid, int i, int j) |
| Returns the distance from the point (i,j) to the origin.
|
|
bool | pism::grid::in_null_strip (const Grid &grid, int i, int j, double strip_width) |
| Check if a point (i,j) is in the strip of stripwidth meters around the edge of the computational domain.
|
|
bool | pism::grid::domain_edge (const Grid &grid, int i, int j) |
|
std::array< unsigned, 2 > | pism::grid::nprocs (unsigned int size, unsigned int Mx, unsigned int My) |
| Computes the number of processors in the X- and Y-directions.
|
|
std::vector< unsigned int > | pism::grid::ownership_ranges (unsigned int Mx, unsigned int Nx) |
| Computes processor ownership ranges corresponding to equal area distribution among processors.
|
|