Trait qsym2::drivers::QSym2Driver

source ·
pub trait QSym2Driver {
    type Params;
    type Outcome;

    // Required methods
    fn run(&mut self) -> Result<(), Error>;
    fn result(&self) -> Result<&Self::Outcome, Error>;
}
Expand description

Trait defining behaviours of QSym2 drivers.

Required Associated Types§

source

type Params

The type of the parameter structure controlling the driver.

source

type Outcome

The type of the successful outcome when executing the driver.

Required Methods§

source

fn run(&mut self) -> Result<(), Error>

Executes the driver and stores the result internally.

source

fn result(&self) -> Result<&Self::Outcome, Error>

Returns the result of the driver execution.

Implementors§

source§

impl QSym2Driver for SymmetryGroupDetectionDriver<'_>

source§

impl<'a> QSym2Driver for MoleculeSymmetrisationBootstrapDriver<'a>

source§

impl<'a> QSym2Driver for DensityRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, f64>

source§

impl<'a> QSym2Driver for DensityRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, Complex<f64>>

source§

impl<'a> QSym2Driver for DensityRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, f64>

source§

impl<'a> QSym2Driver for DensityRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, Complex<f64>>

source§

impl<'a> QSym2Driver for MultiDeterminantRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, f64, EagerBasis<SlaterDeterminant<'a, f64>>>

source§

impl<'a> QSym2Driver for MultiDeterminantRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, f64, OrbitBasis<'a, MagneticRepresentedSymmetryGroup, SlaterDeterminant<'a, f64>>>

source§

impl<'a> QSym2Driver for MultiDeterminantRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, Complex<f64>, EagerBasis<SlaterDeterminant<'a, Complex<f64>>>>

source§

impl<'a> QSym2Driver for MultiDeterminantRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, Complex<f64>, OrbitBasis<'a, MagneticRepresentedSymmetryGroup, SlaterDeterminant<'a, Complex<f64>>>>

source§

impl<'a> QSym2Driver for MultiDeterminantRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, f64, EagerBasis<SlaterDeterminant<'a, f64>>>

source§

impl<'a> QSym2Driver for MultiDeterminantRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, f64, OrbitBasis<'a, UnitaryRepresentedSymmetryGroup, SlaterDeterminant<'a, f64>>>

source§

impl<'a> QSym2Driver for MultiDeterminantRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, Complex<f64>, EagerBasis<SlaterDeterminant<'a, Complex<f64>>>>

source§

impl<'a> QSym2Driver for MultiDeterminantRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, Complex<f64>, OrbitBasis<'a, UnitaryRepresentedSymmetryGroup, SlaterDeterminant<'a, Complex<f64>>>>

source§

impl<'a> QSym2Driver for SlaterDeterminantRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, f64>

source§

impl<'a> QSym2Driver for SlaterDeterminantRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, Complex<f64>>

source§

impl<'a> QSym2Driver for SlaterDeterminantRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, f64>

source§

impl<'a> QSym2Driver for SlaterDeterminantRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, Complex<f64>>

source§

impl<'a> QSym2Driver for VibrationalCoordinateRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, f64>

source§

impl<'a> QSym2Driver for VibrationalCoordinateRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, Complex<f64>>

source§

impl<'a> QSym2Driver for VibrationalCoordinateRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, f64>

source§

impl<'a> QSym2Driver for VibrationalCoordinateRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, Complex<f64>>

source§

impl<'a, F> QSym2Driver for RealSpaceFunctionRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, f64, F>
where F: Clone + Sync + Send + Fn(&Point3<f64>) -> f64,

source§

impl<'a, F> QSym2Driver for RealSpaceFunctionRepAnalysisDriver<'a, MagneticRepresentedSymmetryGroup, Complex<f64>, F>
where F: Clone + Sync + Send + Fn(&Point3<f64>) -> Complex<f64>,

source§

impl<'a, F> QSym2Driver for RealSpaceFunctionRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, f64, F>
where F: Clone + Sync + Send + Fn(&Point3<f64>) -> f64,

source§

impl<'a, F> QSym2Driver for RealSpaceFunctionRepAnalysisDriver<'a, UnitaryRepresentedSymmetryGroup, Complex<f64>, F>
where F: Clone + Sync + Send + Fn(&Point3<f64>) -> Complex<f64>,