occ
Loading...
Searching...
No Matches
occ::interaction::FileSystemPairEnergyStore Class Reference

#include <pair_energy_store.h>

Inheritance diagram for occ::interaction::FileSystemPairEnergyStore:
[legend]
Collaboration diagram for occ::interaction::FileSystemPairEnergyStore:
[legend]

Public Types

enum class  Format { JSON , XYZ }
 

Public Member Functions

 FileSystemPairEnergyStore (std::string path, Format format=Format::XYZ)
 
bool save (int id, const core::Dimer &d, const CEEnergyComponents &e) override
 
bool load (int id, const core::Dimer &d, CEEnergyComponents &e) override
 
std::string dimer_filename (int id, const core::Dimer &d) const override
 
- Public Member Functions inherited from occ::interaction::PairEnergyStoreBase
virtual ~PairEnergyStoreBase ()=default
 

Member Enumeration Documentation

◆ Format

Enumerator
JSON 
XYZ 

Constructor & Destructor Documentation

◆ FileSystemPairEnergyStore()

occ::interaction::FileSystemPairEnergyStore::FileSystemPairEnergyStore ( std::string  path,
Format  format = Format::XYZ 
)
inlineexplicit

Member Function Documentation

◆ dimer_filename()

std::string occ::interaction::FileSystemPairEnergyStore::dimer_filename ( int  id,
const core::Dimer d 
) const
overridevirtual

◆ load()

bool occ::interaction::FileSystemPairEnergyStore::load ( int  id,
const core::Dimer d,
CEEnergyComponents e 
)
overridevirtual

◆ save()

bool occ::interaction::FileSystemPairEnergyStore::save ( int  id,
const core::Dimer d,
const CEEnergyComponents e 
)
overridevirtual

The documentation for this class was generated from the following file: