Skip to content

Namespace state_interface_mod

Namespace List > state_interface_mod

Public Attributes

Type Name
integer, parameter, public state_status_error = -1
integer, parameter, public state_status_initialized = 1
integer, parameter, public state_status_uninitialized = 0
State status enumeration.
integer, parameter, public state_status_valid = 2
integer, parameter, public state_type_chem = 2
integer, parameter, public state_type_diag = 4
integer, parameter, public state_type_emis = 3
integer, parameter, public state_type_met = 1
State type enumeration.

Public Functions

Type Name
subroutine, public allocate_met_field (class(metstatetype), intent(inout) met_state, character(len=*), intent(in) field_name, integer, intent(out) rc)
Allocate a specific field in a MetStateType object.
character(len=32) function, public get_state_type_name (integer, intent(in) state_type)
Get state type name from enumeration.
subroutine validator_validate_dimensions (class(statevalidatorutilstype), intent(in) this, integer, dimension(:), intent(in) array_shape, integer, dimension(:), intent(in) expected_shape, integer, intent(out) rc)
Validate array dimensions.

Public Attributes Documentation

variable state_status_error

integer, parameter, public state_interface_mod::state_status_error;

variable state_status_initialized

integer, parameter, public state_interface_mod::state_status_initialized;

variable state_status_uninitialized

State status enumeration.

integer, parameter, public state_interface_mod::state_status_uninitialized;


variable state_status_valid

integer, parameter, public state_interface_mod::state_status_valid;

variable state_type_chem

integer, parameter, public state_interface_mod::state_type_chem;

variable state_type_diag

integer, parameter, public state_interface_mod::state_type_diag;

variable state_type_emis

integer, parameter, public state_interface_mod::state_type_emis;

variable state_type_met

State type enumeration.

integer, parameter, public state_interface_mod::state_type_met;


Public Functions Documentation

function allocate_met_field

Allocate a specific field in a MetStateType object.

subroutine, public state_interface_mod::allocate_met_field (
    class( metstatetype ), intent(inout) met_state,
    character(len=*), intent(in) field_name,
    integer, intent(out) rc
) 

Direct utility function for field allocation in MetStateType. For more complex state management, use CATChemCore_Mod.

Parameters:

  • met_state MetStateType object
  • field_name Name of the field to allocate (or 'ALL')
  • rc Return code (CC_SUCCESS or error code)

function get_state_type_name

Get state type name from enumeration.

character(len=32) function, public state_interface_mod::get_state_type_name (
    integer, intent(in) state_type
) 


function validator_validate_dimensions

Validate array dimensions.

subroutine state_interface_mod::validator_validate_dimensions (
    class( statevalidatorutilstype ), intent(in) this,
    integer, dimension(:), intent(in) array_shape,
    integer, dimension(:), intent(in) expected_shape,
    integer, intent(out) rc
) 



The documentation for this class was generated from the following file src/core/state_interface_mod.F90