This module handles the initialization of various components of amrvac
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | private | :: | initialized_already | = | .false. |
Initialize amrvac: read par files and initialize variables
Allocate the cell metrics of all max_blocks blocks in one go. The ixGext range is the one over which dvolume and ds are known, the face areas start one cell lower than ixG in every direction.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(geo_t), | intent(inout) | :: | geo | |||
| integer, | intent(in) | :: | ixGmin1 | |||
| integer, | intent(in) | :: | ixGmin2 | |||
| integer, | intent(in) | :: | ixGmin3 | |||
| integer, | intent(in) | :: | ixGmax1 | |||
| integer, | intent(in) | :: | ixGmax2 | |||
| integer, | intent(in) | :: | ixGmax3 | |||
| integer, | intent(in) | :: | ixGextmin1 | |||
| integer, | intent(in) | :: | ixGextmin2 | |||
| integer, | intent(in) | :: | ixGextmin3 | |||
| integer, | intent(in) | :: | ixGextmax1 | |||
| integer, | intent(in) | :: | ixGextmax2 | |||
| integer, | intent(in) | :: | ixGextmax3 |
Initialize (and allocate) simulation and grid variables
Set the index range over which the cell metrics are known. With an even number of ghost cells this is just the ghosted block; with an odd number (or a staggered grid) ghost-cell prolongation needs one extra layer.