occ
Loading...
Searching...
No Matches
occ::xtb::TbliteCalculator Class Reference

#include <tblite_wrapper.h>

Public Types

enum class  Method { GFN1 , GFN2 }
 

Public Member Functions

 TbliteCalculator (const occ::core::Molecule &mol)
 
 TbliteCalculator (const occ::core::Dimer &dimer)
 
 TbliteCalculator (const occ::core::Molecule &mol, Method method)
 
 TbliteCalculator (const occ::core::Dimer &dimer, Method method)
 
 TbliteCalculator (const occ::crystal::Crystal &crystal)
 
 TbliteCalculator (const occ::crystal::Crystal &crystal, Method method)
 
double single_point_energy ()
 
const auto & positions () const
 
const auto & lattice_vectors () const
 
const auto & virial () const
 
const auto & gradients () const
 
void set_charge (double c)
 
void set_num_unpaired_electrons (int n)
 
void set_accuracy (double accuracy)
 
void set_max_iterations (int iterations)
 
void set_temperature (double temp)
 
void set_mixer_damping (double damping_factor)
 
bool set_solvent (const std::string &)
 
Vec charges () const
 
Mat bond_orders () const
 
int num_atoms () const
 
void update_structure (const Mat3N &positions)
 
void update_structure (const Mat3N &positions, const Mat3 &lattice)
 
occ::crystal::Crystal to_crystal () const
 
occ::core::Molecule to_molecule () const
 
 ~TbliteCalculator ()
 

Member Enumeration Documentation

◆ Method

Enumerator
GFN1 
GFN2 

Constructor & Destructor Documentation

◆ TbliteCalculator() [1/6]

occ::xtb::TbliteCalculator::TbliteCalculator ( const occ::core::Molecule mol)

◆ TbliteCalculator() [2/6]

occ::xtb::TbliteCalculator::TbliteCalculator ( const occ::core::Dimer dimer)

◆ TbliteCalculator() [3/6]

occ::xtb::TbliteCalculator::TbliteCalculator ( const occ::core::Molecule mol,
Method  method 
)

◆ TbliteCalculator() [4/6]

occ::xtb::TbliteCalculator::TbliteCalculator ( const occ::core::Dimer dimer,
Method  method 
)

◆ TbliteCalculator() [5/6]

occ::xtb::TbliteCalculator::TbliteCalculator ( const occ::crystal::Crystal crystal)

◆ TbliteCalculator() [6/6]

occ::xtb::TbliteCalculator::TbliteCalculator ( const occ::crystal::Crystal crystal,
Method  method 
)

◆ ~TbliteCalculator()

occ::xtb::TbliteCalculator::~TbliteCalculator ( )

Member Function Documentation

◆ bond_orders()

Mat occ::xtb::TbliteCalculator::bond_orders ( ) const

◆ charges()

Vec occ::xtb::TbliteCalculator::charges ( ) const

◆ gradients()

const auto & occ::xtb::TbliteCalculator::gradients ( ) const
inline

◆ lattice_vectors()

const auto & occ::xtb::TbliteCalculator::lattice_vectors ( ) const
inline

◆ num_atoms()

int occ::xtb::TbliteCalculator::num_atoms ( ) const
inline

◆ positions()

const auto & occ::xtb::TbliteCalculator::positions ( ) const
inline

◆ set_accuracy()

void occ::xtb::TbliteCalculator::set_accuracy ( double  accuracy)

◆ set_charge()

void occ::xtb::TbliteCalculator::set_charge ( double  c)

◆ set_max_iterations()

void occ::xtb::TbliteCalculator::set_max_iterations ( int  iterations)

◆ set_mixer_damping()

void occ::xtb::TbliteCalculator::set_mixer_damping ( double  damping_factor)

◆ set_num_unpaired_electrons()

void occ::xtb::TbliteCalculator::set_num_unpaired_electrons ( int  n)

◆ set_solvent()

bool occ::xtb::TbliteCalculator::set_solvent ( const std::string &  )

◆ set_temperature()

void occ::xtb::TbliteCalculator::set_temperature ( double  temp)

◆ single_point_energy()

double occ::xtb::TbliteCalculator::single_point_energy ( )

◆ to_crystal()

occ::crystal::Crystal occ::xtb::TbliteCalculator::to_crystal ( ) const

◆ to_molecule()

occ::core::Molecule occ::xtb::TbliteCalculator::to_molecule ( ) const

◆ update_structure() [1/2]

void occ::xtb::TbliteCalculator::update_structure ( const Mat3N positions)

◆ update_structure() [2/2]

void occ::xtb::TbliteCalculator::update_structure ( const Mat3N positions,
const Mat3 lattice 
)

◆ virial()

const auto & occ::xtb::TbliteCalculator::virial ( ) const
inline

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