Changes between Initial Version and Version 1 of U_init_dim_l

Jan 21, 2016, 3:22:57 PM (5 years ago)



  • U_init_dim_l

    v1 v1  
     1= U_init_dim_l =
     3The page document the user-supplied call-back routine `U_init_dim_l`.
     5The routine `U_init_dim_l` 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_dim_l_pdaf`, but in the full interface, the user can choose the name of the routine.
     6The routine is used with all filter algorithms using domain-localization (LSEIK, LETKF, LESTKF) and is independent of the particular algorithm.
     7The routine is called during the loop over the local analysis domains in the analysis step. It has to provide the dimension of the sub-state vector for the specified local analysis domain.
     9The interface is the following:
     11SUBROUTINE U_init_dim_l(step, domain_p, dim_l)
     14 * `step` : `integer, intent(in)`[[BR]] Current time step
     15 * `domain_p` : `integer, intent(in)`[[BR]] Index of current local analysis domain
     16 * `dim_l` :: `integer, intent(out)`[[BR]] Dimension of state vector in local analysis domain
     19 * If a local analysis domain is a single grid point, the dimension of the local state vector is the number of model fields at this grid point.
     20 * If a local analysis domain is a single vertical column of the model grid, the size of the state in the local analysis domain will be just the number of vertical grid points at this location times the number of 3-dimensional fields, plus the number of 2D fields.