Changes between Initial Version and Version 1 of U_init_n_domains


Ignore:
Timestamp:
Jan 21, 2016, 3:09:39 PM (5 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • U_init_n_domains

    v1 v1  
     1= U_init_n_domains =
     2
     3The page document the user-supplied call-back routine `U_init_n_domains`.
     4
     5The routine `U_init_n_domains` is a call-back routine that has to be provided by the user. In the simplified interface the predefined name of the routine is `init_n_domains_pdaf`, but in the full interface, the user can choose the name of the routine.
     6This routine is used by all filter algorithms with domain-localization (LSEIK, LETKF, LESTKF) and is independent of the particular algorithm.
     7The routine is called during the analysis step before the loop over the local analysis domains is entered. It has to provide the number of local analysis domains. In case of a domain-decomposed model the number of local analysis domain for the model sub-domain of the calling process has to be initialized.
     8
     9The interface is the following:
     10{{{
     11SUBROUTINE init_n_domains(step, n_domains_p)
     12}}}
     13with
     14 * `step` : `integer, intent(in)`[[BR]] Current time step
     15 * `n_domains_p`: `integer, intent(out)`[[BR]] Number of analysis domains for process-local model sub-domain
     16
     17Hints:
     18 * For a full 3-dimensional localization, a local analysis domain can be a single grid point. I nhtis case `n_domains_p` would be the number of grid points in a process-local sub-domain of the model grid.
     19 * If the localization is only performed horizontally (a frequent choice with ocean circulation models assimilating satellite data), the local analysis domains can be single vertical columns of the model grid. In this case, `n_domains_p` is the number of vertical columns in the local model sub-domain.