Chirality2D
-
class Chirality2D : public feasst::Analyze
Compute the 2D chirality by analyzing the sign of the cross product between two bonds.
Public Functions
-
std::string header(const MonteCarlo &mc) const
Return the header for writing.
-
void initialize(MonteCarlo *mc)
Initialize and precompute before trials.
-
void update(const MonteCarlo &mc)
Perform update action.
-
std::string write(const MonteCarlo &mc)
Perform write action.
-
const Accumulator &num_positive() const
Return the average number of chiral positive particles.
Arguments
group: group index in Configuration (default: 0).
bond1: index of the first bond (default: 0).
bond2: index of the second bond (default: 1).
sign_error: error if chirality of sign and != 0 (default 0).
Stepper arguments.
-
std::string header(const MonteCarlo &mc) const