AEqualB¶
-
class
AEqualB
: public feasst::Constraint¶ Constrain the number of the first type of particle, A, to be equal to the number of the second type of particle, B.
Public Functions
-
AEqualB
(const argtype &args = argtype())¶ args:
particle_type_A: particle type for A (default: 0).
particle_type_B: particle type for B (default: 1).
extra_A: allow this many extra A particles (default: 0).
-