Changes between Version 337 and Version 338 of LnDevel
- Timestamp:
- Apr 16, 2026, 2:25:55 PM (13 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LnDevel
v337 v338 59 59 - Added routines to control and assess random numbers seeds. The routines [wiki:PDAF_set_seedvec], [wiki:PDAF_get_seedvec], [wiki:PDAF_get_rndcount] allow one to store and reset the seed for random number generation in PDAF. 60 60 - Added routine [wiki:PDAF_generate_rndvec] to perturb a vector according to a chosen distribution. This can be used, e.g. to generate perturbed model parameters. 61 - Make routine [wiki:PDAF_generate_rndmat] accessible to user. This routine was previsouly only used internally. It is used to generate matrices representing random rotations, which, when mutiplying with it, preserve the mean state and variances of an ensemble. This can be used to generate perturbed fields, e.g., for an ensemble of perturbed forcings. 61 62 - Added routine [wiki:PDAF3_init_parallel] to let PDAF configure the ensemble parallelization. It is used in the routine ''init_parallel_pdaf'' and moves the communicator splitting from this routine into PDAF, which simplifies the code. This also allows PDAF to handle the initialization and finalization of MPI which simplifies the implementation. For the offline coupling and for online coupling for models without parallelization, one does not need to call MPI_init in the user code any more. 62 63 - New function [wiki:PDAF_assim_flag] as alternative to the subroutine [wiki:PDAF_get_assim_flag]. Using the function can simplify the code compared to using the subroutine.
