pub struct CuestAOShell { /* private fields */ }Expand description
A cuEST AO shell object (cuestAOShell_t).
See CuestShellSpec for the input data and normalization conventions.
Implementations§
Source§impl CuestAOShell
impl CuestAOShell
Sourcepub fn new(
context: &CuestContext,
spec: &CuestShellSpec,
) -> Result<Self, CuestError>
pub fn new( context: &CuestContext, spec: &CuestShellSpec, ) -> Result<Self, CuestError>
Create a shell from spec on the given context.
The spec’s primitive lists are validated again here: the fields of
CuestShellSpec are public, and cuEST reads exponents.len()
coefficients from both arrays.
Sourcepub fn spec(&self) -> &CuestShellSpec
pub fn spec(&self) -> &CuestShellSpec
The specification this shell was created from.
Sourcepub fn num_primitive(&self) -> u64
pub fn num_primitive(&self) -> u64
Number of primitive Gaussians.
Sourcepub fn num_ao(&self) -> u64
pub fn num_ao(&self) -> u64
Number of basis functions of this shell (pure or Cartesian as set).
Sourcepub fn query<A: AoshellAttribute>(&self) -> Result<A::Value, CuestError>
pub fn query<A: AoshellAttribute>(&self) -> Result<A::Value, CuestError>
Query an attribute through the typed attribute mechanism.
Sourcepub fn raw_handle(&self) -> cuestAOShell_t
pub fn raw_handle(&self) -> cuestAOShell_t
The raw cuEST shell handle (escape hatch).
Trait Implementations§
Source§impl Clone for CuestAOShell
impl Clone for CuestAOShell
Source§impl Debug for CuestAOShell
impl Debug for CuestAOShell
impl Send for CuestAOShell
Auto Trait Implementations§
impl !Sync for CuestAOShell
impl Freeze for CuestAOShell
impl RefUnwindSafe for CuestAOShell
impl Unpin for CuestAOShell
impl UnsafeUnpin for CuestAOShell
impl UnwindSafe for CuestAOShell
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