pub struct OverrelaxationSweepReverse;
Expand description
Overrelaxation algorithm using the reverse method.
Alone it can’t advance the simulation as it preserved the hamiltonian.
You need to use other method with this one.
You can look at super::HybridMethodVec
and super::HybridMethodCouple
.
The algorithm is described in https://doi.org/10.1016/0370-2693(90)90032-2.
Example
see level module documentation super::overrelaxation
Implementations§
Trait Implementations§
source§impl Clone for OverrelaxationSweepReverse
impl Clone for OverrelaxationSweepReverse
source§fn clone(&self) -> OverrelaxationSweepReverse
fn clone(&self) -> OverrelaxationSweepReverse
Returns a copy 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 OverrelaxationSweepReverse
impl Debug for OverrelaxationSweepReverse
source§impl Default for OverrelaxationSweepReverse
impl Default for OverrelaxationSweepReverse
source§impl<'de> Deserialize<'de> for OverrelaxationSweepReverse
impl<'de> Deserialize<'de> for OverrelaxationSweepReverse
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 Display for OverrelaxationSweepReverse
impl Display for OverrelaxationSweepReverse
source§impl Hash for OverrelaxationSweepReverse
impl Hash for OverrelaxationSweepReverse
source§impl<const D: usize> MonteCarlo<LatticeStateDefault<D>, D> for OverrelaxationSweepReverse
impl<const D: usize> MonteCarlo<LatticeStateDefault<D>, D> for OverrelaxationSweepReverse
source§fn next_element(
&mut self,
state: LatticeStateDefault<D>
) -> Result<LatticeStateDefault<D>, Self::Error>
fn next_element( &mut self, state: LatticeStateDefault<D> ) -> Result<LatticeStateDefault<D>, Self::Error>
Do one Monte Carlo simulation step. Read more
source§impl Ord for OverrelaxationSweepReverse
impl Ord for OverrelaxationSweepReverse
source§fn cmp(&self, other: &OverrelaxationSweepReverse) -> Ordering
fn cmp(&self, other: &OverrelaxationSweepReverse) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<OverrelaxationSweepReverse> for OverrelaxationSweepReverse
impl PartialEq<OverrelaxationSweepReverse> for OverrelaxationSweepReverse
source§fn eq(&self, other: &OverrelaxationSweepReverse) -> bool
fn eq(&self, other: &OverrelaxationSweepReverse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<OverrelaxationSweepReverse> for OverrelaxationSweepReverse
impl PartialOrd<OverrelaxationSweepReverse> for OverrelaxationSweepReverse
source§fn partial_cmp(&self, other: &OverrelaxationSweepReverse) -> Option<Ordering>
fn partial_cmp(&self, other: &OverrelaxationSweepReverse) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OverrelaxationSweepReverse
impl Eq for OverrelaxationSweepReverse
impl StructuralEq for OverrelaxationSweepReverse
impl StructuralPartialEq for OverrelaxationSweepReverse
Auto Trait Implementations§
impl RefUnwindSafe for OverrelaxationSweepReverse
impl Send for OverrelaxationSweepReverse
impl Sync for OverrelaxationSweepReverse
impl Unpin for OverrelaxationSweepReverse
impl UnwindSafe for OverrelaxationSweepReverse
Blanket Implementations§
§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 more§fn 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.