Exemplo n.º 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;
 }
Exemplo n.º 2
0
 /// Copy constructor
 public ChConstraintTwoTuplesRollingN(ChConstraintTwoTuplesRollingN <Ta, Tb> other) : base(other)
 {
     rollingfriction  = other.rollingfriction;
     spinningfriction = other.spinningfriction;
     constraint_U     = other.constraint_U;
     constraint_V     = other.constraint_V;
     constraint_N     = other.constraint_N;
 }
Exemplo n.º 3
0
        protected ChConstraintTwoTuplesContactN <Ta, Tb> constraint_N; //< the pointer to N  component


        /// Default constructor
        public ChConstraintTwoTuplesRollingN()
        {
            rollingfriction  = 0;
            spinningfriction = 0;
            constraint_U     = null;
            constraint_V     = null;
            constraint_N     = null;

            this.mode = eChConstraintMode.CONSTRAINT_FRIC;
        }
Exemplo n.º 4
0
 /// Set pointer to normal contact component
 public void SetNormalConstraint(ChConstraintTwoTuplesContactN <Ta, Tb> mconstr)
 {
     constraint_N = mconstr;
 }