| 1 | |
| 2 | = Nesting parameters = |
| 3 | |
| 4 | \\\\ |
| 5 | NAMELIST group name: [=#nestpar '''nestpar''']\\ |
| 6 | ---- |
| 7 | |
| 8 | |
| 9 | [=#mode '''Mode:]\\ |
| 10 | ||='''Parameter Name''' =||='''[../fortrantypes FORTRAN]\\[../fortrantypes Type]''' =||='''Default\\Value''' =||='''Explanation''' =|| |
| 11 | |---------------- |
| 12 | {{{#!td style="vertical-align:top;width: 150px" |
| 13 | [=#domain_layouts '''domain_layouts'''] |
| 14 | }}} |
| 15 | {{{#!td style="vertical-align:top;width: 50px" |
| 16 | derived \\ |
| 17 | TYPE \\ |
| 18 | pmc_layout(64) |
| 19 | }}} |
| 20 | {{{#!td style="vertical-align:top;width: 75px" |
| 21 | none |
| 22 | }}} |
| 23 | {{{#!td |
| 24 | General informations about the nested domains to be used.\\\\ |
| 25 | Up to 64 domains can be used. The derived data type has the structure |
| 26 | {{{ |
| 27 | TYPE pmc_layout |
| 28 | |
| 29 | CHARACTER(len=32) :: name |
| 30 | |
| 31 | INTEGER :: id |
| 32 | INTEGER :: parent_id |
| 33 | INTEGER :: npe_x |
| 34 | INTEGER :: npe_y |
| 35 | |
| 36 | REAL(wp) :: lower_left_x |
| 37 | REAL(wp) :: lower_left_y |
| 38 | |
| 39 | END TYPE pmc_layout |
| 40 | }}} |
| 41 | {{{name}}} is the domain name given by the user. {{{id}}} is the number of the domain (can be arbitrarily chosen, but it would be good practise to number the domains in ascending order starting with 1), while {{{parent_id}}} gives the number of the domain in which this domain is embedded. The so-called ''root''-domain which includes all other ''nested''-domains should have the id 1. The ''root''-domain has no ''parent''-domain and must be given ''-1'' as its {{{parent_id}}}. {{{npe_x}}} and {{{npe_y}}} are the number of PEs to be used along x and y for this domain (i.e. the virtual PE-grid of the domain). {{{lower_left_x}}} and {{{lower_left_y}}} are the coordinates in m of the south-left scalar (?) gridpoint of the domain. The ''root''-domain has {{{lower_left_x}}} = ''0.0'' and {{{lower_left_y}}} = ''0.0''. A ''nested''-domain must be completely embedded in its ''parent''-domain. \\\\ |
| 42 | The following gives an example for defining a single nested-domain embedded in a root-domain: |
| 43 | {{{ |
| 44 | domain_layouts = 'coarse', 1, -1, 4, 4, 0.0, 0.0, |
| 45 | 'fine', 2, 1, 4, 4, 320.0, 128.0, |
| 46 | }}} |
| 47 | The total number of MPI-processes required by this configuration is 4*4 + 4*4 = 32. |
| 48 | }}} |
| 49 | |---------------- |
| 50 | {{{#!td style="vertical-align:top" |
| 51 | [=#nesting_mode '''nesting_mode'''] |
| 52 | }}} |
| 53 | {{{#!td style="vertical-align:top" |
| 54 | C*7 |
| 55 | }}} |
| 56 | {{{#!td style="vertical-align:top" |
| 57 | '' 'two-way' '' |
| 58 | }}} |
| 59 | {{{#!td |
| 60 | Type of nesting mode.\\\\ |
| 61 | ''one-way'' or ''two-way'' nesting is allowed. |
| 62 | }}} |