occ
|
file input and output module including reading wavefunction files More...
Namespaces | |
namespace | basis |
namespace | conversion |
namespace | crystalgrower |
namespace | impl |
namespace | kmcpp |
Typedefs | |
using | Position = std::array< double, 3 > |
using | ElementMap = ankerl::unordered_dense::map< int, ElementBasis > |
using | PointChargeList = std::vector< occ::core::PointCharge > |
Enumerations | |
enum class | PruningScheme { None , NWChem , NumGrid } |
Enumeration of available angular pruning schemes. More... | |
enum class | GridQuality { Coarse , Standard , Fine , VeryFine } |
Standard grid quality levels (similar to Q-Chem's SG system) More... | |
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={}) |
GridSettings | get_grid_settings (GridQuality quality) |
Get grid settings for a specific quality level. | |
std::string | grid_quality_to_string (GridQuality quality) |
Convert GridQuality enum to string. | |
GridQuality | grid_quality_from_string (const std::string &str) |
Convert string to GridQuality enum. | |
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) |
occ::crystal::Crystal | load_crystal (const std::string &filename) |
occ::core::Molecule | load_molecule (const std::string &filename) |
void | write_obj_file (const std::string &filename, const isosurface::Isosurface &isosurface) |
template<typename T > | |
OccInput | build (const std::string &filename) |
template<typename T > | |
OccInput | build (std::istream &file) |
PointChargeFileReader::PointChargeList | point_charges_from_file (const std::string &) |
PointChargeFileReader::PointChargeList | point_charges_from_string (const std::string &) |
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) |
JsonFormat | json_format (const std::string &str) |
bool | valid_json_format_string (const std::string &str) |
occ::core::Molecule | molecule_from_xyz_file (const std::string &) |
occ::core::Molecule | molecule_from_xyz_string (const std::string &) |
file input and output module including reading wavefunction files
using occ::io::ElementMap = typedef ankerl::unordered_dense::map<int, ElementBasis> |
using occ::io::PointChargeList = typedef std::vector<occ::core::PointCharge> |
typedef std::array< double, 3 > occ::io::Position |
|
strong |
|
strong |
|
strong |
Standard grid quality levels (similar to Q-Chem's SG system)
|
strong |
|
strong |
OccInput occ::io::build | ( | const std::string & | filename | ) |
OccInput occ::io::build | ( | std::istream & | file | ) |
GridSettings occ::io::get_grid_settings | ( | GridQuality | quality | ) |
Get grid settings for a specific quality level.
quality | Grid quality level |
GridQuality occ::io::grid_quality_from_string | ( | const std::string & | str | ) |
Convert string to GridQuality enum.
str | String representation (case-insensitive) |
std::invalid_argument | if string is not recognized |
std::string occ::io::grid_quality_to_string | ( | GridQuality | quality | ) |
Convert GridQuality enum to string.
quality | Grid quality level |
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 & | ) |
|
inline |
void occ::io::write_isosurface_json | ( | const std::string & | filename, |
const isosurface::Isosurface & | surf | ||
) |
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 |
||
) |