Procedures

ProcedureLocationProcedure TypeDescription
checkmctc_env_testingInterface
collect_identicalmctc_io_symbolsSubroutine

Establish a mapping between unique atom types and species

crossprodmctc_io_mathFunction

Implements the cross/vector product between two 3D vectors

dirnamemainFunction

Extract dirname from path

eigval_3x3mctc_io_mathSubroutine

Calculates eigenvalues based on the trigonometric solution of A = pB + qI

eigvec_3x3mctc_io_mathSubroutine

Calculates eigenvector using an analytical method based on vector cross

existsmainFunction

test if pathname already exists

fatal_errormctc_env_errorSubroutine

A fatal error is encountered

filenamemctc_io_utilsFunction
get_argumentmctc_env_systemSubroutine

Obtain the command line argument at a given index

get_argumentsmainSubroutine
get_filetypemctc_io_filetypeFunction
get_identitymctc_io_symbolsInterface

Get chemical identity

get_mctc_featuremctc_versionFunction
get_mctc_versionmctc_versionSubroutine

Getter function to retrieve mctc-lib version

get_structure_readermctc_io_readSubroutine

Retrieve reader for corresponding file type

get_variablemctc_env_systemSubroutine

Obtain the value of an environment variable

getlinemctc_io_utilsSubroutine
helpmainSubroutine
io2_errormctc_io_utilsSubroutine

Create new IO error

io_errormctc_io_utilsSubroutine

Create new IO error

is_unixmctc_env_systemFunction

Try to determine if we run on Unix and probably can rely on POSIX compliance

is_windowsmctc_env_systemFunction

Try to determine if we run on Windows and don’t have POSIX compliance around

joinmainFunction

Construct path by joining strings with os file separator

matdet_3x3mctc_io_mathFunction

Determinant of 3×3 matrix

matinv_3x3mctc_io_mathFunction

Performs a direct calculation of the inverse of a 3×3 matrix.

newmctc_io_structureInterface
new_structuremctc_io_structureSubroutine

Constructor for structure representations

new_testsuitemctc_env_testingFunction

Register a new testsuite

new_unittestmctc_env_testingFunction

Register a new unit test

next_linemctc_io_utilsSubroutine

Convenience function to read a line and update associated descriptors

next_tokenmctc_io_utilsSubroutine

Advance pointer to next text token

number_to_lcsymbolmctc_io_symbolsSubroutine

Convert atomic number to element symbol

number_to_symbolmctc_io_symbolsSubroutine

Convert atomic number to element symbol

read_aimsmctc_io_read_aimsSubroutine
read_cjsonmctc_io_read_cjsonSubroutine
read_coordmctc_io_read_turbomoleSubroutine
read_filemainSubroutine
read_gaussian_externalmctc_io_read_gaussianSubroutine
read_genformatmctc_io_read_genformatSubroutine
read_molfilemctc_io_read_ctfileSubroutine
read_next_tokenmctc_io_utilsInterface
read_pdbmctc_io_read_pdbSubroutine
read_qchemmctc_io_read_qchemSubroutine
read_qcschemamctc_io_read_qcschemaSubroutine
read_sdfmctc_io_read_ctfileSubroutine
read_structuremctc_io_readInterface
read_tokenmctc_io_utilsInterface
read_vaspmctc_io_read_vaspSubroutine
read_xyzmctc_io_read_xyzSubroutine
resizemctc_io_resizeInterface

Overloaded resize interface

resizemctc_io_structure_infoInterface
run_selectedmctc_env_testingSubroutine

Driver for selective testing

run_testsuitemctc_env_testingSubroutine

Driver for testsuite

select_suitemctc_env_testingFunction

Select a test suite from all available suites

select_testmctc_env_testingFunction

Select a unit test from all available tests

symbol_to_numbermctc_io_symbolsSubroutine

Convert element symbol to atomic number

test_failedmctc_env_testingSubroutine
to_lcsymbolmctc_io_symbolsFunction

Convert atomic number to element symbol

to_numbermctc_io_symbolsFunction

Convert element symbol to atomic number

to_stringmctc_io_utilsFunction

Represent an integer as character sequence.

to_symbolmctc_io_symbolsFunction

Convert atomic number to element symbol

versionmainSubroutine
write_aimsmctc_io_write_aimsSubroutine
write_cjsonmctc_io_write_cjsonSubroutine
write_coordmctc_io_write_turbomoleSubroutine
write_gaussian_externalmctc_io_write_gaussianSubroutine
write_genformatmctc_io_write_genformatSubroutine
write_molfilemctc_io_write_ctfileSubroutine
write_pdbmctc_io_write_pdbSubroutine
write_qchemmctc_io_write_qchemSubroutine
write_qcschemamctc_io_write_qcschemaSubroutine
write_sdfmctc_io_write_ctfileSubroutine
write_structuremctc_io_writeInterface
write_vaspmctc_io_write_vaspSubroutine
write_xyzmctc_io_write_xyzSubroutine