Skip to content

Group core_modules

Modules > core_modules

Core modules and data types for CATChem. More...

Files

Type Name
file CATChemCore_Mod.F90
Central CATChem core framework with unified component management.
file ChemSpeciesUtils_Mod.F90
Utility functions for chemical species access and manipulation.
file ConfigManager_Mod.F90
Enhanced configuration management for CATChem.
file DiagnosticInterface_Mod.F90
Dynamic diagnostic system interfaces and types.
file DiagnosticManager_Mod.F90
Central diagnostic manager integrating with CATChem framework.
file ExtEmisData_Mod.F90
Module for external emission data storage.
file GridManager_Mod.F90
Advanced grid management with column virtualization support.
file Precision_Mod.F90
Module PRECISION_MOD is used to change the precision of many variables throughout catchem at compile-time.
file StateManager_Mod.F90
Unified state management module for CATChem.
file UnitConversion_Mod.F90
Comprehensive unit conversion utilities for atmospheric chemistry.
file VirtualColumn_Mod.F90
Virtual column data container for CATChem processes with macro-generated meteorological fields.
file chemstate_mod.F90
Contains the ChemStateType data type and related subroutines and functions.
file constants.F90
Physical and mathematical constants for CATChem.
file met_utilities_mod.F90
Meteorological utility functions for CATChem.
file run_mod.F90
Run module for CATChem atmospheric chemistry processes.
file species_mod.F90
Modern species definition and management for CATChem.
file state_interface_mod.F90
State interface module for CATChem.
file utilities_mod.F90
General utility functions for CATChem.

Public Functions

Type Name
subroutine, public cc_checkvar (character(len=*), intent(in) variable, integer, intent(in) operation, integer, intent(inout) rc)
CC_CheckVar.
subroutine, public cc_warning (character(len=*), intent(in) warnmsg, integer, intent(inout) rc, character(len=*), intent(in), optional thisloc, character(len=*), intent(in), optional instr)
CC_Warning.
subroutine, public find_number_of_species (type(chemstatetype), intent(inout) chemstate, integer, intent(out) rc)
Find the number of species.

Detailed Description

This group contains all core modules, state definitions, and fundamental data types used throughout the CATChem system.

Public Functions Documentation

function cc_checkvar

CC_CheckVar.

subroutine, public cc_checkvar (
    character(len=*), intent(in) variable,
    integer, intent(in) operation,
    integer, intent(inout) rc
) 

This subroutine checks if a variable is allocated.

Parameters:

  • Variable The variable to check
  • Operation 0=Allocate 1=Register 2=Deallocate
  • RC The return code

function cc_warning

CC_Warning.

subroutine, public cc_warning (
    character(len=*), intent(in) warnmsg,
    integer, intent(inout) rc,
    character(len=*), intent(in), optional thisloc,
    character(len=*), intent(in), optional instr
) 

This subroutine prints a warning message and sets RC to CC_SUCCESS.

Parameters:

  • WarnMsg The warning message
  • RC The return code
  • ThisLoc The location of the warning
  • Instr Other instructions

function find_number_of_species

Find the number of species.

subroutine, public find_number_of_species (
    type(chemstatetype), intent(inout) chemstate,
    integer, intent(out) rc
) 

This subroutine finds the number of species

Parameters:

  • ChemState The ChemState object
  • RC The return code