pub struct ShellRef<'a> {
pub center: Vec3,
pub l: usize,
pub exps: &'a [f64],
pub coeffs: &'a [f64],
}Expand description
A contracted Cartesian shell as seen by the HGP engine: its centre, angular
momentum, and primitive (exponent, effective-coefficient) data. The
coefficients are the driver’s effective coefficients d_i · N(α_i, l) — the
engine itself works on un-normalised monomials and only multiplies the four
coefficients into the contracted accumulator.
Fields§
§center: Vec3Shell centre (bohr).
l: usizeAngular momentum.
exps: &'a [f64]Primitive exponents.
coeffs: &'a [f64]Effective contraction coefficients, aligned with exps.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ShellRef<'a>
impl<'a> RefUnwindSafe for ShellRef<'a>
impl<'a> Send for ShellRef<'a>
impl<'a> Sync for ShellRef<'a>
impl<'a> Unpin for ShellRef<'a>
impl<'a> UnsafeUnpin for ShellRef<'a>
impl<'a> UnwindSafe for ShellRef<'a>
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