pub fn build_orca_header(
config: &Config,
charge: i32,
mult: usize,
tail: &str,
input_basename: &str,
) -> StringExpand description
Builds an ORCA input file header string with basename.
This function constructs the header for an ORCA input file based on the provided configuration and state-specific parameters. It requires a basename for proper .gbw file path construction.
§Arguments
config- The global configuration for the MECP calculationcharge- Molecular charge for the current statemult- Spin multiplicity for the current statetail- Additional ORCA keywords (tail section content)input_basename- Full path prefix for .gbw files
§Returns
Returns a String containing the formatted ORCA input header.