pub struct Molecule {
Show 21 fields pub ctrl: InputKeywords, pub geom: GeomCell, pub spin_channel: usize, pub xc_data: DFA4REST, pub num_state: usize, pub num_basis: usize, pub num_auxbas: usize, pub num_elec: Vec<f64>, pub start_mo: usize, pub basis4elem: Vec<Basis4Elem>, pub fdqc_bas: Vec<BasInfo>, pub cint_fdqc: Vec<Vec<usize>>, pub cint_bas: Vec<Vec<i32>>, pub cint_atm: Vec<Vec<i32>>, pub cint_env: Vec<f64>, pub fdqc_aux_bas: Vec<BasInfo>, pub cint_aux_fdqc: Vec<Vec<usize>>, pub cint_aux_bas: Vec<Vec<i32>>, pub cint_aux_atm: Vec<Vec<i32>>, pub cint_aux_env: Vec<f64>, pub cint_type: CintType,
}
Expand description

Molecule

Molecule contains all basic information of the molecule in the calculation task self.ctrl: include the input keywords and many derived keywors to control the calculation task self.bas: the basis set shell by shell organized for libcint self.geom: the molecular structure information self.xc_data: the information and operations for DFT: DFA4REST.

self.spin_channel: 1: spin unpolarized or 2: spin polarized self.num_state: the number of molecular orbitals self.num_basis: the number of basis functions self.start_mo: the first molecular orbital in the frozen-core approximation for pt2, rpa and so forth

self.fdqc_bas: the basis set information BasInfo for each shell self.cint_*: all these fields are the interface to libcint self.cint_type: CintType::Spheric or CintType::Cartesian

Fields

ctrl: InputKeywordsgeom: GeomCellspin_channel: usizexc_data: DFA4RESTnum_state: usizenum_basis: usizenum_auxbas: usizenum_elec: Vec<f64>start_mo: usizebasis4elem: Vec<Basis4Elem>fdqc_bas: Vec<BasInfo>cint_fdqc: Vec<Vec<usize>>cint_bas: Vec<Vec<i32>>cint_atm: Vec<Vec<i32>>cint_env: Vec<f64>fdqc_aux_bas: Vec<BasInfo>cint_aux_fdqc: Vec<Vec<usize>>cint_aux_bas: Vec<Vec<i32>>cint_aux_atm: Vec<Vec<i32>>cint_aux_env: Vec<f64>cint_type: CintType

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Checks if self is actually part of its subset T (and can be converted to it).
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
The inclusion map: converts self to the equivalent element of its superset.
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Checks if self is actually part of its subset T (and can be converted to it).
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
The inclusion map: converts self to the equivalent element of its superset.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more