pub struct Isobaric {
pub pressure: f64,
}Expand description
Constant pressure macrostate.
Use Isobaric to set the system pressure using a thermostat or Monte
Carlo trial moves. Pressure is given in units of $[\mathrm{energy}] \cdot [\mathrm{length}]^{-D}$ where $D$ is the dimensionality of the system.
§Example
use hoomd_simulation::macrostate::Isobaric;
let macrostate = Isobaric { pressure: 0.4 };Fields§
§pressure: f64The system’s pressure $([\mathrm{energy}] \cdot [\mathrm{length}]^{-D})$.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Isobaric
impl<'de> Deserialize<'de> for Isobaric
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Isobaric
Auto Trait Implementations§
impl Freeze for Isobaric
impl RefUnwindSafe for Isobaric
impl Send for Isobaric
impl Sync for Isobaric
impl Unpin for Isobaric
impl UnsafeUnpin for Isobaric
impl UnwindSafe for Isobaric
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