Beispiel #1
0
 /// 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;
 }
Beispiel #2
0
 /// Default constructor
 public ChConstraintTwoTuplesContactN()
 {
     this.mode = eChConstraintMode.CONSTRAINT_FRIC;
     Constraint2TuplesNall.SetFrictionCoefficient(0.0);
     Constraint2TuplesNall.SetCohesion(0.0);
     constraint_U = constraint_V = null;
 }
Beispiel #3
0
 /// Set pointer to V tangential component
 public void SetTangentialConstraintV(ChConstraintTwoTuplesFrictionT <Ta, Tb> mconstr)
 {
     constraint_V = mconstr;
 }
Beispiel #4
0
 /// Copy constructor
 public ChConstraintTwoTuplesFrictionT(ChConstraintTwoTuplesFrictionT <Ta, Tb> other)
     : base(other)
 {
 }