Changes between Version 2 and Version 3 of PDAFlocal_set_indices


Ignore:
Timestamp:
Sep 9, 2024, 3:21:27 PM (4 weeks ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAFlocal_set_indices

    v2 v3  
    11= PDAFlocal_set_indices =
    22
    3 This page documents the routine `PDAFlocal_set_indices` of PDAF, which is used with the [wiki:PDAFlocal_overview PDAFlocal] interface. This routine was introduced with PDAF V2.3.
     3This page documents the routine `PDAFlocal_set_indices` of PDAF, which is used with the [wiki:PDAFlocal_overview PDAFlocal interface]. This routine was introduced with PDAF V2.3.
    44
    55This routine is called in `init_dim_l_pdaf` when the dimension of the local state vector has to be determined. In addition to this dimension, the implementation guide recommends to also initialize the coordinates of the local analysis domain and the indices of the elements ofthe local state vector in the non-localized (global or domain-decomposed) state vector `state_p`. Thise indices are then used in the mapping from the global to the local state vector before the analysis and back after the analysis update in the local analysis loop. With PDAFlocal, one uses `PDAFlocal_set_indices` to pass the vector of indices to PDAFlocal, which later performs the mapping for all ensemble states.