Contains the grid splitting program. More...
Go to the source code of this file.
Data Types | |
| type | stats_grid |
| type | stats_mean |
| type | part_grid |
Functions/Subroutines | |
| program | w3gspl |
| Grid splitting program. More... | |
| subroutine | grinfo |
| Compile statistical info on all sub grids (no halo). More... | |
| subroutine | grtrim |
| Trim edges of all grids where they are next to another grid or next to unassigned grid points. More... | |
| subroutine | grfill (ND) |
| Reassign unassigned grid points to grids, starting with the smallest grids. More... | |
| subroutine | grlost |
| Reassign unassigned grid points to grids. More... | |
| subroutine | grsqrg |
| Attempt to square-up grid. More... | |
| subroutine | grsngl (OK) |
| Remove seapoints with only one adjacent point in same grid. More... | |
| subroutine | grsepa (OK, FRAC) |
| Remove smaller grid parts. More... | |
| subroutine | grfsml |
| Subroutine called when lowest grid size is stuck. More... | |
| subroutine | grflrg |
| Like GRFSML for largest grid ... More... | |
| subroutine | gr1grd |
| Extract single grid from master map. More... | |
| subroutine w3gspl::gr1grd |
Extract single grid from master map.
Extract single grid from master map, including halo needed for grid overlap in ww3_multi.
Definition at line 3084 of file ww3_gspl.F90.
| subroutine w3gspl::grfill | ( | integer, intent(in) | ND | ) |
Reassign unassigned grid points to grids, starting with the smallest grids.
| [in] | ND | Depth of halo for first sweep. |
Definition at line 1652 of file ww3_gspl.F90.
References grlost().
| subroutine w3gspl::grflrg |
| subroutine w3gspl::grfsml |
Subroutine called when lowest grid size is stuck.
Attempting to join to neighbor grid, otherwise mark as a accepted small grid. note that a small grid does not influence parallel scaling like a big grid does .....
Definition at line 2639 of file ww3_gspl.F90.
| subroutine w3gspl::grinfo |
Compile statistical info on all sub grids (no halo).
Definition at line 1302 of file ww3_gspl.F90.
| subroutine w3gspl::grlost |
Reassign unassigned grid points to grids.
Dealing with lost point by finding closest grids.
Definition at line 1913 of file ww3_gspl.F90.
Referenced by grfill().
| subroutine w3gspl::grsepa | ( | logical, intent(inout) | OK, |
| real, intent(in) | FRAC | ||
| ) |
Remove smaller grid parts.
Remove smaller parts of a grid that are separated from the main body, and that can be attached to other grids.
| [in,out] | OK | |
| [in] | FRAC | Fraction of average size used to remove grid part. |
Definition at line 2294 of file ww3_gspl.F90.
| subroutine w3gspl::grsngl | ( | logical, intent(inout) | OK | ) |
Remove seapoints with only one adjacent point in same grid.
Remove points from a grid that are in the middle of the sea, but that have only one adjacent point in the same grid. Directly select a new grid for this point rather than deactivate and use GRFILL.
| [in,out] | OK | Flag for grid status |
Definition at line 2123 of file ww3_gspl.F90.
| subroutine w3gspl::grsqrg |
Attempt to square-up grid.
Attempt to square-up grid by taking off grid point in outermost grid point in X and Y only, after which GRFILL is to be run to re-assign grid points.
Definition at line 2017 of file ww3_gspl.F90.
| subroutine w3gspl::grtrim |
Trim edges of all grids where they are next to another grid or next to unassigned grid points.
This trimming is done in preparation for reassigning edges of grids to smaller adjacent grids.
Definition at line 1480 of file ww3_gspl.F90.
| program w3gspl |
Grid splitting program.
Take an existing grid and create from this the grid data for a set of overlapping grids to be used in the ww3_multi code for hybid paralellization.
Definition at line 26 of file ww3_gspl.F90.
References w3servmd::extcde(), w3odatmd::fnmpre, w3servmd::itrace(), w3odatmd::ndse, w3odatmd::ndso, w3odatmd::ndst, w3servmd::nextln(), w3arrymd::outa2i(), w3arrymd::outa2r(), w3servmd::strace(), w3iogrmd::w3iogr(), w3adatmd::w3naux(), w3odatmd::w3nout(), w3adatmd::w3seta(), and w3odatmd::w3seto().