pub struct XcFuncType {
xc_func_type: *mut xc_func_type,
pub xc_func_info_type: *const xc_func_info_type,
pub xc_func_family: LibXCFamily,
spin_channel: usize,
}
Fields
xc_func_type: *mut xc_func_type
xc_func_info_type: *const xc_func_info_type
xc_func_family: LibXCFamily
spin_channel: usize
Implementations
sourceimpl XcFuncType
impl XcFuncType
pub fn xc_version(&self)
pub fn xc_func_init(func_id: usize, spin_channel: usize) -> XcFuncType
pub fn xc_code_fdqc(name: &str) -> (usize, usize, usize)
pub fn xc_func_end(&mut self)
pub fn get_family_name(&self) -> String
pub fn use_density_gradient(&self) -> bool
pub fn use_kinetic_density(&self) -> bool
pub fn use_exact_exchange(&self) -> bool
pub fn is_lda(&self) -> bool
pub fn is_gga(&self) -> bool
pub fn is_mgga(&self) -> bool
pub fn is_hybrid_gga(&self) -> bool
pub fn is_hybrid_mgga(&self) -> bool
pub fn xc_hyb_exx_coeff(&self) -> f64
pub fn lda_exc(&self, rho: &[f64]) -> Vec<f64>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn gga_exc(&self, rho: &[f64], sigma: &[f64]) -> Vec<f64>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn lda_exc_vxc(&self, rho: &[f64]) -> (Vec<f64>, Vec<f64>)
pub fn gga_exc_vxc(
&self,
rho: &[f64],
sigma: &[f64]
) -> (Vec<f64>, Vec<f64>, Vec<f64>)
pub fn get_family_name_std(family_id: u32) -> String
pub fn get_family_id(xc_info: *const xc_func_info_type) -> u32
pub fn get_family_enum(xc_info: *const xc_func_info_type) -> LibXCFamily
pub fn printout_family_name_ref(xc_info: *const xc_func_info_type, x_or_c: &str)
pub fn xc_func_info_printout(&self)
Trait Implementations
sourceimpl Clone for XcFuncType
impl Clone for XcFuncType
sourcefn clone(&self) -> XcFuncType
fn clone(&self) -> XcFuncType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for XcFuncType
impl !Send for XcFuncType
impl !Sync for XcFuncType
impl Unpin for XcFuncType
impl UnwindSafe for XcFuncType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read morefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read morefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.