PDAFlocal Module

PDAF-LOCAL routines handling localization

This module contains subroutines that handle the localization of the state vector

  • PDAFlocal_set_indices \n Set indices of elements of lcoal state vector in global state vector
  • PDAFlocal_set_increment_weights \n Set optional increment weights applied when upating the lobal state vector from the local analysis state vector
  • PDAFlocal_clear_increment_weights \n Deallocate vector of increment weights. Afterwards l2g_state is applied without weights

Revision history: * 2024-08 - Lars Nerger - Initial code * Later revisions - see repository log



Variables

Type Visibility Attributes Name Initial
integer, public, ALLOCATABLE :: id_lstate_in_pstate(:)
real, public, ALLOCATABLE :: l2g_weights(:)
logical, public :: PDAFlocal_was_used = .FALSE.

Interfaces

interface

  • public subroutine PDAFlocal_g2l_cb(step, domain_p, dim_p, state_p, dim_l, state_l)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: step
    integer, intent(in) :: domain_p
    integer, intent(in) :: dim_p
    real, intent(in) :: state_p(dim_p)
    integer, intent(in) :: dim_l
    real, intent(out) :: state_l(dim_l)

interface

  • public subroutine PDAFlocal_l2g_cb(step, domain_p, dim_l, state_l, dim_p, state_p)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: step
    integer, intent(in) :: domain_p
    integer, intent(in) :: dim_l
    real, intent(in) :: state_l(dim_l)
    integer, intent(in) :: dim_p
    real, intent(inout) :: state_p(dim_p)