mqc_calc_types Module

Defines integer constants for calculation types to avoid string comparisons throughout the codebase. Provides conversion utilities between string representations and integer constants.


Uses

    • pic_types
  • module~~mqc_calc_types~~UsesGraph module~mqc_calc_types mqc_calc_types pic_types pic_types module~mqc_calc_types->pic_types

Used by

  • module~~mqc_calc_types~~UsedByGraph module~mqc_calc_types mqc_calc_types module~mqc_calculation_interface mqc_calculation_interface module~mqc_calculation_interface->module~mqc_calc_types module~mqc_config_parser mqc_config_parser module~mqc_calculation_interface->module~mqc_config_parser module~mqc_config_parser->module~mqc_calc_types module~mqc_driver mqc_driver module~mqc_driver->module~mqc_calc_types module~mqc_driver->module~mqc_config_parser module~mqc_mbe_fragment_distribution_scheme mqc_mbe_fragment_distribution_scheme module~mqc_driver->module~mqc_mbe_fragment_distribution_scheme module~mqc_config_adapter mqc_config_adapter module~mqc_driver->module~mqc_config_adapter module~mqc_many_body_expansion mqc_many_body_expansion module~mqc_driver->module~mqc_many_body_expansion module~mqc_gmbe_fragment_distribution_scheme mqc_gmbe_fragment_distribution_scheme module~mqc_gmbe_fragment_distribution_scheme->module~mqc_calc_types module~mqc_gmbe_fragment_distribution_scheme->module~mqc_mbe_fragment_distribution_scheme module~mqc_mbe_fragment_distribution_scheme->module~mqc_calc_types module~mqc_mbe_fragment_distribution_scheme->module~mqc_config_adapter proc~gmbe_pie_coordinator gmbe_pie_coordinator proc~gmbe_pie_coordinator->module~mqc_calc_types proc~serial_gmbe_pie_processor serial_gmbe_pie_processor proc~serial_gmbe_pie_processor->module~mqc_calc_types module~mpi_fragment_work_smod mpi_fragment_work_smod module~mpi_fragment_work_smod->module~mqc_mbe_fragment_distribution_scheme module~mqc_config_adapter->module~mqc_config_parser module~mqc_config_parser_basic_sections mqc_config_parser_basic_sections module~mqc_config_parser_basic_sections->module~mqc_config_parser module~mqc_config_parser_calc_settings mqc_config_parser_calc_settings module~mqc_config_parser_calc_settings->module~mqc_config_parser module~mqc_config_parser_fragments mqc_config_parser_fragments module~mqc_config_parser_fragments->module~mqc_config_parser module~mqc_config_parser_molecules mqc_config_parser_molecules module~mqc_config_parser_molecules->module~mqc_config_parser module~mqc_config_parser_structure mqc_config_parser_structure module~mqc_config_parser_structure->module~mqc_config_parser module~mqc_hessian_distribution_scheme mqc_hessian_distribution_scheme module~mqc_hessian_distribution_scheme->module~mqc_mbe_fragment_distribution_scheme module~mqc_serial_fragment_processor mqc_serial_fragment_processor module~mqc_serial_fragment_processor->module~mqc_mbe_fragment_distribution_scheme module~mqc_unfragmented_workflow mqc_unfragmented_workflow module~mqc_unfragmented_workflow->module~mqc_mbe_fragment_distribution_scheme proc~check_fragment_overlap check_fragment_overlap proc~check_fragment_overlap->module~mqc_config_parser proc~compute_energy_and_forces compute_energy_and_forces proc~compute_energy_and_forces->module~mqc_driver proc~compute_energy_and_forces->module~mqc_config_adapter proc~compute_gmbe compute_gmbe proc~compute_gmbe->module~mqc_config_parser proc~gmbe_run_distributed gmbe_context_t%gmbe_run_distributed proc~gmbe_run_distributed->module~mqc_gmbe_fragment_distribution_scheme proc~gmbe_run_distributed->module~mqc_mbe_fragment_distribution_scheme proc~gmbe_run_serial gmbe_context_t%gmbe_run_serial proc~gmbe_run_serial->module~mqc_gmbe_fragment_distribution_scheme proc~initialize_fragmented_system initialize_fragmented_system proc~initialize_fragmented_system->module~mqc_config_parser proc~mbe_run_distributed mbe_context_t%mbe_run_distributed proc~mbe_run_distributed->module~mqc_mbe_fragment_distribution_scheme proc~mbe_run_serial mbe_context_t%mbe_run_serial proc~mbe_run_serial->module~mqc_mbe_fragment_distribution_scheme proc~molecule_to_system_geometry molecule_to_system_geometry proc~molecule_to_system_geometry->module~mqc_config_parser proc~process_intersection_derivatives process_intersection_derivatives proc~process_intersection_derivatives->module~mqc_config_parser proc~run_multi_molecule_calculations run_multi_molecule_calculations proc~run_multi_molecule_calculations->module~mqc_config_parser proc~run_multi_molecule_calculations->module~mqc_config_adapter program~main main program~main->module~mqc_config_parser program~main->module~mqc_driver program~main->module~mqc_config_adapter module~mqc_many_body_expansion->module~mqc_config_adapter proc~apply_distance_screening apply_distance_screening proc~apply_distance_screening->module~mqc_config_adapter proc~fragment_should_be_screened fragment_should_be_screened proc~fragment_should_be_screened->module~mqc_config_adapter

Variables

Type Visibility Attributes Name Initial
integer(kind=int32), public, parameter :: CALC_TYPE_ENERGY = 1
integer(kind=int32), public, parameter :: CALC_TYPE_GRADIENT = 2
integer(kind=int32), public, parameter :: CALC_TYPE_HESSIAN = 3
integer(kind=int32), public, parameter :: CALC_TYPE_UNKNOWN = 0

Functions

public pure function calc_type_from_string(calc_type_str) result(calc_type)

Convert calculation type string to integer constant

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: calc_type_str

Input string (e.g., “energy”, “gradient”)

Return Value integer(kind=int32)

Output integer constant

public pure function calc_type_to_string(calc_type) result(calc_type_str)

Convert calculation type integer constant to string

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: calc_type

Input integer constant

Return Value character(len=:), allocatable

Output string representation