pub struct PbcSpec {
pub min: [f64; 3],
pub max: [f64; 3],
}Expand description
Periodic-boundary box declared at the top level via pbc.
Packmol accepts two forms (getinp.f90):
pbc X Y Z→min = [0,0,0],max = [X,Y,Z]pbc X0 Y0 Z0 X1 Y1 Z1→min = [X0,Y0,Z0],max = [X1,Y1,Z1]
Both forms declare periodicity on every axis.
Fields§
§min: [f64; 3]§max: [f64; 3]Trait Implementations§
impl Copy for PbcSpec
impl StructuralPartialEq for PbcSpec
Auto Trait Implementations§
impl Freeze for PbcSpec
impl RefUnwindSafe for PbcSpec
impl Send for PbcSpec
impl Sync for PbcSpec
impl Unpin for PbcSpec
impl UnsafeUnpin for PbcSpec
impl UnwindSafe for PbcSpec
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