Changes between Version 1 and Version 2 of PDAF_iau_set_pointer
- Timestamp:
- Mar 25, 2025, 7:39:07 PM (8 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PDAF_iau_set_pointer
v1 v2 5 5 With this routine the user can set a pointer to the PDAF-internal array of ensemble increments. This gives direct access to the increment array e.g. to analyze it or to write it into a file for restarting. 6 6 7 The routine can be called by each single process, but it only provides a pointer to the process local part of the increment array. For domain-decomposed models, this array only include the state vector part for the process domain. In addition, it usually only contains a sub-ensemlbe unless one uses the flexible parallelization mode with a single model task. For the fully parallel mode, the process(es) of a single model task only hold a single ensemble state.7 The routine can be called by each single process, but it only provides a pointer to the process-local part of the increment array. For domain-decomposed models, this array only includes the state vector part for the process domain. In addition, it usually only contains a sub-ensemble unless one uses the flexible parallelization mode with a single model task. For the fully parallel mode, the process(es) of a single model task only hold a single ensemble state. 8 8 9 The interface is the following:9 The interface is: 10 10 {{{ 11 11 SUBROUTINE PDAF_iau_set_pointer(iau_ptr, flag) 12 }}} 13 with the following arguments: 14 {{{ 15 REAL, POINTER, INTENT(out) :: iau_ptr(:,:) !< Pointer to IAU ensemble array 16 INTEGER, INTENT(out) :: flag !< Status flag 12 13 REAL, POINTER, INTENT(out) :: iau_ptr(:,:) ! Pointer to IAU ensemble array 14 INTEGER, INTENT(out) :: flag ! Status flag 17 15 }}} 18 16