pub struct XtbCalculator { /* private fields */ }Expand description
XTB single point calculator
Implementations§
Source§impl XtbCalculator
impl XtbCalculator
Sourcepub fn load_parametrization(
&self,
mol: &XtbMolecule,
env: &XtbEnvironment,
method: XtbMethod,
) -> Result<()>
pub fn load_parametrization( &self, mol: &XtbMolecule, env: &XtbEnvironment, method: XtbMethod, ) -> Result<()>
Load parametrization of GFN-xTB method method.
Sourcepub fn set_max_iterations(&self, env: &XtbEnvironment, n: usize)
pub fn set_max_iterations(&self, env: &XtbEnvironment, n: usize)
Set maximum number of iterations for self-consistent TB calculators. Set maximum number of iterations for self-consistent charge methods, values smaller than one will be silently ignored by the API. Failing to converge in a given number of cycles is not necessarily reported as an error by the API.
Sourcepub fn set_electronic_temperature(&self, env: &XtbEnvironment, temp: f64)
pub fn set_electronic_temperature(&self, env: &XtbEnvironment, temp: f64)
Set electronic temperature for level filling in tight binding calculators in K
Sourcepub fn set_accuracy(&self, env: &XtbEnvironment, acc: f64)
pub fn set_accuracy(&self, env: &XtbEnvironment, acc: f64)
Set numerical accuracy of calculator in the range of 1000 to 0.0001
Sourcepub fn single_point(
&self,
mol: &XtbMolecule,
env: &XtbEnvironment,
) -> Result<XtbResults>
pub fn single_point( &self, mol: &XtbMolecule, env: &XtbEnvironment, ) -> Result<XtbResults>
Perform singlepoint calculation. Note that the a previous result is overwritten by default.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XtbCalculator
impl RefUnwindSafe for XtbCalculator
impl !Send for XtbCalculator
impl !Sync for XtbCalculator
impl Unpin for XtbCalculator
impl UnwindSafe for XtbCalculator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more