Changes between Version 4 and Version 5 of doc/app/userint/subd


Ignore:
Timestamp:
Sep 15, 2010 9:10:38 AM (14 years ago)
Author:
suehring
Comment:

--

Legend:

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

    v4 v5  
    22
    33By default, the values of the timeseries quantities and the horizontally averaged vertical profiles (saved in local files [../../iofiles#PLOT1D_DATA PLOT1D_DATA]  and [../../iofiles#LIST_PROFIL LIST_PROFIL]) always refer to the total model domain. Independently, up to 9 time series or profiles for different user-defined subdomains can be computed and plotted additionally. Steering in principle is done via the initialization parameter [../../inipar#statistic_regions statistic_regions].\\\\
    4 The exact definition of these subdomains has to be made by the user within the user-defined subroutine {{{user_init}}}. The subdomains are defined with a mask array named {{{rmask}}}, which has to be given the value ''1.0'' for all horizontal grid points belonging to the user-defined subdomain and the value ''0.0'', where grid points do not belong to the user-defined subdomain. In the model {{{rmask}}} is declared as:
     4The exact definition of these subdomains has to be made by the user within the user-defined subroutine [../int#user_init user_init]. The subdomains are defined with a mask array named {{{rmask}}}, which has to be given the value ''1.0'' for all horizontal grid points belonging to the user-defined subdomain and the value ''0.0'', where grid points do not belong to the user-defined subdomain. In the model {{{rmask}}} is declared as:
    55{{{
    66REAL :: rmask(nysd:nynd,nxld:nxrd,0:9) .
    77}}}
    8 The first two indices are the grid point indices in y and x-direction, including the ghost points (see the corresponding description [#parallelization Parallelization]. With parallel model runs {{{nxl}}}, {{{nxr}}}, {{{nys}}} and {{{nyn}}} are the array bounds ({{{nxld, nxrd, nysd, nynd}}} the array bounds of the respective subdomain (don't confuse this with the user-defined subdomain!) on the respective processor. With runs on one processor {{{nys}}} = {{{nxl}}} = ''0'' and {{{nxr}}} = [../../inipar#nx nx] and {{{nyn}}} = [../inipar#ny ny]. The third index determines the user-defined subdomain. The total model domain carries the index ''0'', the user-defined subdomains have the values ''1'' to ''9''.\\\\
     8The first two indices are the grid point indices in y and x-direction, including the ghost points (see the corresponding description [#parallelization Parallelization]. With parallel model runs {{{nxl}}}, {{{nxr}}}, {{{nys}}} and {{{nyn}}} are the array bounds ({{{nxld, nxrd, nysd, nynd}}} the array bounds of the respective subdomain (don't confuse this with the user-defined subdomain!) on the respective processor. With runs on one processor {{{nys}}} = {{{nxl}}} = ''0'' and {{{nxr}}} = [../../inipar#nx nx] and {{{nyn}}} = [../../inipar#ny ny]. The third index determines the user-defined subdomain. The total model domain carries the index ''0'', the user-defined subdomains have the values ''1'' to ''9''.\\\\
    99The following example should illustrate this. Two subdomains 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 subdomain 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]:
    1010{{{