pub struct Vasp {}
Expand description
The VASP file format for reading/writing CHG, PARCHG and CHGCARs.
Trait Implementations§
source§impl FileFormat for Vasp
impl FileFormat for Vasp
source§fn read(&self, filename: String) -> ReadFunction
fn read(&self, filename: String) -> ReadFunction
Read a VASP density.
source§fn write(
&self,
atoms: &Atoms,
data: Vec<Option<f64>>,
filename: String,
visible_pbar: bool
) -> Result<()>
fn write( &self, atoms: &Atoms, data: Vec<Option<f64>>, filename: String, visible_pbar: bool ) -> Result<()>
Write a CHGCAR from a vector of options where None will be written as zero.
Auto Trait Implementations§
impl RefUnwindSafe for Vasp
impl Send for Vasp
impl Sync for Vasp
impl Unpin for Vasp
impl UnwindSafe for Vasp
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