File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ Grid::Grid(std::string gridtype) {
16
16
17
17
Inputs::grid_input_struct grid_input = input.get_grid_inputs (gridtype);
18
18
19
+ gridType = gridtype;
20
+
19
21
nX = grid_input.nX + nGCs * 2 ;
20
22
nLons = nX;
21
23
nY = grid_input.nY + nGCs * 2 ;
@@ -465,6 +467,14 @@ bool Grid::get_IsGeoGrid() {
465
467
return IsGeoGrid;
466
468
}
467
469
470
+ // --------------------------------------------------------------------------
471
+ // Return grid type (neu or ion)
472
+ // --------------------------------------------------------------------------
473
+
474
+ std::string Grid::get_gridtype () {
475
+ return gridType;
476
+ }
477
+
468
478
// --------------------------------------------------------------------------
469
479
// Get whether the grid is a experimental (return true for experimental)
470
480
// --------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments