Changes between Version 17 and Version 18 of doc/app/userint/subd


Ignore:
Timestamp:
Nov 22, 2018 3:18:06 PM (6 years ago)
Author:
scharf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/userint/subd

    v17 v18  
    77REAL :: rmask(nysg:nyng,nxlg:nxrg,0:9) .
    88}}}
    9 The first two indices denote the array bounds (including the ghost points) in y and x-direction for each domain (see the corresponding description of [../../parallel#parallelization Parallelization]; don't confuse this with the user-defined domain!). The third index determines the user-defined domain, where 0 indicates the total model domain and ''1'' to ''9'' the user-defined domains.\\\\
     9The first two indices denote the array bounds (including the ghost points) in y and x-direction for each domain (see the corresponding description of [wiki:doc/tec/parallel Parallelization]; don't confuse this with the user-defined domain!). The third index determines the user-defined domain, where 0 indicates the total model domain and ''1'' to ''9'' the user-defined domains.\\\\
    1010The following example should illustrate this. Two domains are defined by the user. The first is determined by all grid points which lie within a circle whose center is equal to the (horizontal) center of the model domain and whose diameter is equal to half of the total horizontal domain size (square total domain assumed). The second domain should be defined by all points outside of this domain. This may be obtained by the following lines of code in [../int#user_init user_init]:
    1111{{{
     
    3535ENDDO
    3636}}}
    37 The module {{{statistics}}} must be used because it contains {{{rmask}}}. Likewise the modules {{{grid_variables}}} and {{{indices}}} are necessary in this example because grid spacing and indices are used. All array elements of {{{rmask}}} ({{{rmask(:,:,:)}}} are preset by the model with ''1.0''. In no case this assignment must be changed for the total domain ({{{rmask(:,:,0)}}})! Computations and output for the user-defined domains only take place if the user sets [../../inipar#statistic_regions statistic_regions] ≥ ''1''. Beyond that, names for the user-defined domains can be assigned via the initialization parameter [../../userpar#region region]. Output of the names of the selected user-defined domains happens in the local files [../../iofiles#HEADER HEADER] and [../../iofiles#RUN_CONTROL RUN_CONTROL] within the user-defined routine [../int#user_header user_header].
     37The module {{{statistics}}} must be used because it contains {{{rmask}}}. Likewise the modules {{{grid_variables}}} and {{{indices}}} are necessary in this example because grid spacing and indices are used. All array elements of {{{rmask}}} ({{{rmask(:,:,:)}}} are preset by the model with ''1.0''. In no case this assignment must be changed for the total domain ({{{rmask(:,:,0)}}})! \\
     38
     39Computations and output for the user-defined domains only take place if the user sets [../../inipar#statistic_regions statistic_regions] ≥ ''1''. Beyond that, names for the user-defined domains can be assigned via the initialization parameter [../../userpar#region region]. Output of the names of the selected user-defined domains happens in the local files [../../iofiles#HEADER HEADER] and [../../iofiles#RUN_CONTROL RUN_CONTROL] within the user-defined routine [../int#user_header user_header].