pub struct Isothermal {
pub temperature: f64,
}Expand description
Constant temperature macrostate.
Use Isothermal to set the system temperature using a thermostat or Monte
Carlo trial moves. Temperature is given in units of $[\mathrm{energy}]$:
$\mathrm{temperature} = kT$.
§Example
use hoomd_simulation::macrostate::Isothermal;
let macrostate = Isothermal { temperature: 1.2 };Fields§
§temperature: f64The system’s temperature $([\mathrm{energy}])$.
Trait Implementations§
Source§impl Clone for Isothermal
impl Clone for Isothermal
Source§fn clone(&self) -> Isothermal
fn clone(&self) -> Isothermal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Isothermal
impl Debug for Isothermal
Source§impl<'de> Deserialize<'de> for Isothermal
impl<'de> Deserialize<'de> for Isothermal
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
Source§impl PartialEq for Isothermal
impl PartialEq for Isothermal
Source§impl Serialize for Isothermal
impl Serialize for Isothermal
Source§impl Temperature for Isothermal
impl Temperature for Isothermal
Source§fn temperature(&self) -> &f64
fn temperature(&self) -> &f64
The system’s temperature $
([\mathrm{energy}])$.Source§fn temperature_mut(&mut self) -> &mut f64
fn temperature_mut(&mut self) -> &mut f64
The system’s temperature $
([\mathrm{energy}])$.impl StructuralPartialEq for Isothermal
Auto Trait Implementations§
impl Freeze for Isothermal
impl RefUnwindSafe for Isothermal
impl Send for Isothermal
impl Sync for Isothermal
impl Unpin for Isothermal
impl UnsafeUnpin for Isothermal
impl UnwindSafe for Isothermal
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