|
occ
|
file input and output module including reading wavefunction files More...
Namespaces | |
| namespace | basis |
| namespace | conversion |
| namespace | crystalgrower |
| namespace | impl |
| namespace | kmcpp |
Classes | |
| struct | AdaptiveBounds |
| class | AdaptiveGridBounds |
| struct | AdpData |
| struct | AtomData |
| struct | Basis |
| Everything needed to define the energy model, independent of crystal packing. More... | |
| struct | BasisSetInput |
| struct | BuckinghamPair |
| struct | CellData |
| class | CifParser |
| class | CifWriter |
| Writer class for crystallographic information files (CIF) More... | |
| struct | ColumnConfiguration |
| struct | COSXSettings |
| struct | CrystalData |
| struct | CrystalInput |
| class | Cube |
| class | DftbGenFormat |
| struct | DispersionCorrectionInput |
| struct | DriverInput |
| struct | ElectronInput |
| class | EngradReader |
| class | FchkReader |
| class | FchkWriter |
| class | FileJsonCache |
| Documents on disk, one file per key. Persists between runs. More... | |
| struct | GaussianInputFile |
| struct | GeometryInput |
| class | GMFWriter |
| struct | GridFileHeader |
| struct | GridSymmetryInfo |
| struct | IndependentMolecule |
| struct | IsosurfaceInput |
| class | JsonCache |
| Somewhere to keep expensive intermediate results (monomer energies, wavefunctions, solvation surfaces) as JSON documents, so a repeat calculation can skip them. More... | |
| struct | JsonWavefunctionReader |
| struct | JsonWavefunctionWriter |
| class | MemoryJsonCache |
| Documents held for the lifetime of the object; nothing touches the disk. More... | |
| struct | MethodInput |
| class | MoldenReader |
| Reader for Molden format wavefunction files. More... | |
| struct | MoleculeSite |
| struct | MoleculeType |
| struct | OccInput |
| struct | OptimizationInput |
| class | OrcaJSONReader |
| struct | OutputInput |
| struct | PairInput |
| class | PeriodicGrid |
| struct | PointChargeFileReader |
| struct | Potentials |
| struct | QCSchemaBond |
| struct | QCSchemaInput |
| struct | QCSchemaModel |
| class | QCSchemaReader |
| struct | QCSchemaTopology |
| struct | ReferenceEnergies |
| struct | RowConfiguration |
| struct | RuntimeInput |
| struct | Settings |
| class | ShelxFile |
| Unified reader/writer for SHELX .res/.ins crystallographic files. More... | |
| struct | SiteMultipoles |
| struct | SolventInput |
| struct | StructureInput |
| Complete input for crystal energy calculations. More... | |
| struct | SymmetryData |
| class | Table |
| struct | XyzFileReader |
Typedefs | |
| using | Position = std::array< double, 3 > |
| using | PointChargeList = std::vector< occ::core::PointCharge > |
Enumerations | |
| enum class | RIPolicy { Auto , None , JK , COSX } |
| enum class | GridFormat { GeneralGrid , PeriodicGrid } |
| enum class | GridDataType { Raw , Indexed } |
| enum class | JsonFormat { JSON , UBJSON , CBOR , BSON , MSGPACK } |
Functions | |
| template<typename PropertyFunctor > | |
| auto | make_adaptive_bounds (PropertyFunctor &func, const typename AdaptiveGridBounds< PropertyFunctor >::Parameters ¶ms={}) |
| occ::crystal::Crystal | load_crystal (const std::string &filename) |
| occ::core::Molecule | load_molecule (const std::string &filename) |
| template<typename T > | |
| OccInput | build (const std::string &filename) |
| template<typename T > | |
| OccInput | build (std::istream &file) |
| OccInput | read_occ_input_file (const std::string path) |
| PointChargeFileReader::PointChargeList | point_charges_from_file (const std::string &) |
| PointChargeFileReader::PointChargeList | point_charges_from_string (const std::string &) |
| void | to_json (nlohmann::json &j, const SiteMultipoles &m) |
| void | from_json (const nlohmann::json &j, SiteMultipoles &m) |
| void | to_json (nlohmann::json &j, const MoleculeSite &s) |
| void | from_json (const nlohmann::json &j, MoleculeSite &s) |
| void | to_json (nlohmann::json &j, const MoleculeType &mt) |
| void | from_json (const nlohmann::json &j, MoleculeType &mt) |
| void | to_json (nlohmann::json &j, const IndependentMolecule &im) |
| void | from_json (const nlohmann::json &j, IndependentMolecule &im) |
| void | to_json (nlohmann::json &j, const BuckinghamPair &bp) |
| void | from_json (const nlohmann::json &j, BuckinghamPair &bp) |
| void | to_json (nlohmann::json &j, const Potentials &p) |
| void | from_json (const nlohmann::json &j, Potentials &p) |
| void | to_json (nlohmann::json &j, const Settings &s) |
| void | from_json (const nlohmann::json &j, Settings &s) |
| void | to_json (nlohmann::json &j, const ReferenceEnergies &r) |
| void | from_json (const nlohmann::json &j, ReferenceEnergies &r) |
| void | to_json (nlohmann::json &j, const Basis &b) |
| void | from_json (const nlohmann::json &j, Basis &b) |
| void | to_json (nlohmann::json &j, const CrystalData &c) |
| void | from_json (const nlohmann::json &j, CrystalData &c) |
| void | to_json (nlohmann::json &j, const StructureInput &si) |
| void | from_json (const nlohmann::json &j, StructureInput &si) |
| StructureInput | read_structure_json (const std::string &path) |
| void | write_structure_json (const std::string &path, const StructureInput &input) |
| void | write_force_field_json (const std::string &path, const Basis &basis, const std::string &title="") |
| Write only the force-field section (molecule definitions, multipoles, pair potentials, and model settings) to a standalone JSON file. | |
| bool | is_structure_format (const std::string &json_path) |
| Detect whether a JSON file uses the structure format. | |
| occ::core::Molecule | molecule_from_xyz_file (const std::string &) |
| occ::core::Molecule | molecule_from_xyz_string (const std::string &) |
| std::string | to_xyz_string (const occ::core::Molecule &molecule) |
| std::string | to_xyz_string (const occ::core::Molecule &molecule, const std::string &comment) |
| nlohmann::json | isosurface_to_json (const isosurface::Isosurface &surf) |
| void | write_isosurface_json (const std::string &filename, const isosurface::Isosurface &surf) |
| std::string | isosurface_to_json_string (const isosurface::Isosurface &surf) |
| void | write_obj_file (const std::string &filename, const isosurface::Isosurface &isosurface) |
| void | write_ply_file (const std::string &filename, const Eigen::Matrix3Xf &vertices, const Eigen::Matrix3Xi &faces) |
| void | write_ply_mesh (const std::string &filename, const isosurface::Isosurface &isosurface, bool binary=true) |
| void | write_molden (const occ::qm::Wavefunction &wfn, std::ostream &os) |
| Write a wavefunction in Molden format. | |
| void | write_molden (const occ::qm::Wavefunction &wfn, const std::string &filename) |
| JsonFormat | json_format (const std::string &str) |
| bool | valid_json_format_string (const std::string &str) |
file input and output module including reading wavefunction files
| using occ::io::PointChargeList = typedef std::vector<occ::core::PointCharge> |
| typedef std::array< double, 3 > occ::io::Position |
|
strong |
|
strong |
|
strong |
|
strong |
| OccInput occ::io::build | ( | const std::string & | filename | ) |
| OccInput occ::io::build | ( | std::istream & | file | ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| Basis & | b | ||
| ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| BuckinghamPair & | bp | ||
| ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| CrystalData & | c | ||
| ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| IndependentMolecule & | im | ||
| ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| MoleculeSite & | s | ||
| ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| MoleculeType & | mt | ||
| ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| Potentials & | p | ||
| ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| ReferenceEnergies & | r | ||
| ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| Settings & | s | ||
| ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| SiteMultipoles & | m | ||
| ) |
| void occ::io::from_json | ( | const nlohmann::json & | j, |
| StructureInput & | si | ||
| ) |
| bool occ::io::is_structure_format | ( | const std::string & | json_path | ) |
Detect whether a JSON file uses the structure format.
| nlohmann::json occ::io::isosurface_to_json | ( | const isosurface::Isosurface & | surf | ) |
| std::string occ::io::isosurface_to_json_string | ( | const isosurface::Isosurface & | surf | ) |
|
inline |
| occ::crystal::Crystal occ::io::load_crystal | ( | const std::string & | filename | ) |
| occ::core::Molecule occ::io::load_molecule | ( | const std::string & | filename | ) |
| auto occ::io::make_adaptive_bounds | ( | PropertyFunctor & | func, |
| const typename AdaptiveGridBounds< PropertyFunctor >::Parameters & | params = {} |
||
| ) |
| occ::core::Molecule occ::io::molecule_from_xyz_file | ( | const std::string & | ) |
| occ::core::Molecule occ::io::molecule_from_xyz_string | ( | const std::string & | ) |
| PointChargeFileReader::PointChargeList occ::io::point_charges_from_file | ( | const std::string & | ) |
| PointChargeFileReader::PointChargeList occ::io::point_charges_from_string | ( | const std::string & | ) |
| OccInput occ::io::read_occ_input_file | ( | const std::string | path | ) |
| StructureInput occ::io::read_structure_json | ( | const std::string & | path | ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const Basis & | b | ||
| ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const BuckinghamPair & | bp | ||
| ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const CrystalData & | c | ||
| ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const IndependentMolecule & | im | ||
| ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const MoleculeSite & | s | ||
| ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const MoleculeType & | mt | ||
| ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const Potentials & | p | ||
| ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const ReferenceEnergies & | r | ||
| ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const Settings & | s | ||
| ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const SiteMultipoles & | m | ||
| ) |
| void occ::io::to_json | ( | nlohmann::json & | j, |
| const StructureInput & | si | ||
| ) |
| std::string occ::io::to_xyz_string | ( | const occ::core::Molecule & | molecule | ) |
| std::string occ::io::to_xyz_string | ( | const occ::core::Molecule & | molecule, |
| const std::string & | comment | ||
| ) |
|
inline |
| void occ::io::write_force_field_json | ( | const std::string & | path, |
| const Basis & | basis, | ||
| const std::string & | title = "" |
||
| ) |
Write only the force-field section (molecule definitions, multipoles, pair potentials, and model settings) to a standalone JSON file.
Despite the serialized key being "basis" for historical reasons, this is distinct from the GTO basis set used elsewhere in OCC.
| void occ::io::write_isosurface_json | ( | const std::string & | filename, |
| const isosurface::Isosurface & | surf | ||
| ) |
| void occ::io::write_molden | ( | const occ::qm::Wavefunction & | wfn, |
| const std::string & | filename | ||
| ) |
| void occ::io::write_molden | ( | const occ::qm::Wavefunction & | wfn, |
| std::ostream & | os | ||
| ) |
Write a wavefunction in Molden format.
Coordinates are in bohr. Spherical bases are flagged with [5D] [7F] [9G]; Cartesian functions are written unit-normalized, as the format requires. Unrestricted wavefunctions are written as alpha then beta orbitals in one [MO] section. ECPs cannot be represented in Molden files.
| void occ::io::write_obj_file | ( | const std::string & | filename, |
| const isosurface::Isosurface & | isosurface | ||
| ) |
| void occ::io::write_ply_file | ( | const std::string & | filename, |
| const Eigen::Matrix3Xf & | vertices, | ||
| const Eigen::Matrix3Xi & | faces | ||
| ) |
| void occ::io::write_ply_mesh | ( | const std::string & | filename, |
| const isosurface::Isosurface & | isosurface, | ||
| bool | binary = true |
||
| ) |
| void occ::io::write_structure_json | ( | const std::string & | path, |
| const StructureInput & | input | ||
| ) |