| 1 | = PDAF_iau_add_inc = |
| 2 | |
| 3 | This page documents the routine `PDAF_iau_add_inc` of PDAF, which was introduced with PDAF V3.0. |
| 4 | |
| 5 | This routine is used with the flexible parallelization mode if a routine PDAF3_put_state_X (or any other PDAF*_put_state) routine is used. Since PDAF*_put_state is only called after a model state is intergrated over the forecast period, this routine cannot apply the increment. For this one has to call `PDAF_iau_add_inc` at each model time step in the time stepping loop of the model. This routine adds the increment for the currently integrated ensemble member according to the specified IAU type and number of IAU steps. |
| 6 | |
| 7 | The routine has to be inserted in time stepping loop of the model code. It has to be called at each time step. |
| 8 | |
| 9 | The interface is the following: |
| 10 | {{{ |
| 11 | SUBROUTINE PDAF_iau_add_inc(U_collect_state, U_distribute_state) |
| 12 | }}} |
| 13 | with the following arguments: |
| 14 | {{{ |
| 15 | EXTERNAL :: U_collect_state, & !< Routine to collect a state vector |
| 16 | U_distribute_state !< Routine to distribute a state vector |
| 17 | }}} |