/// Copy constructor public ChConstraintTwoTuplesContactN(ChConstraintTwoTuplesContactN <Ta, Tb> other) : base(other) { Constraint2TuplesNall.SetFrictionCoefficient(other.Constraint2TuplesNall.GetFrictionCoefficient()); Constraint2TuplesNall.SetCohesion(other.Constraint2TuplesNall.GetCohesion()); constraint_U = other.constraint_U; constraint_V = other.constraint_V; }
/// Default constructor public ChConstraintTwoTuplesContactN() { this.mode = eChConstraintMode.CONSTRAINT_FRIC; Constraint2TuplesNall.SetFrictionCoefficient(0.0); Constraint2TuplesNall.SetCohesion(0.0); constraint_U = constraint_V = null; }
/// Set pointer to V tangential component public void SetTangentialConstraintV(ChConstraintTwoTuplesFrictionT <Ta, Tb> mconstr) { constraint_V = mconstr; }
/// Copy constructor public ChConstraintTwoTuplesFrictionT(ChConstraintTwoTuplesFrictionT <Ta, Tb> other) : base(other) { }