File kernel/src/modelingTools/NewtonImpactFrictionNSL.hpp#
Go to the source code of this file
Fremond-Impact Non-Smooth Law
Newton-Impact Non-Smooth Law
-
class NewtonImpactFrictionNSL : public NonSmoothLaw
- #include <NewtonImpactFrictionNSL.hpp>
Newton Impact-Friction Non Smooth Law.
Public Functions
-
NewtonImpactFrictionNSL(unsigned int size)
basic constructor
- Parameters:
size – size of the ns law
-
NewtonImpactFrictionNSL(double en, double et, double mu, unsigned int size)
constructor with the value of the NewtonImpactFrictionNSL attributes
- Parameters:
en – double : normal e coefficient
et – double : tangent e coefficient
mu – double : friction coefficient
size – unsigned int: size of the ns law
-
~NewtonImpactFrictionNSL()
Destructor.
-
virtual bool isVerified(void) const override
check the ns law to see if it is verified
- Returns:
a boolean value whioch determines if the NS Law is verified
-
inline double en() const
- Returns:
the value of en
-
inline void setEn(double newVal)
setter of en
- Parameters:
newVal – a double to set en
-
inline double et() const
- Returns:
the value of et
-
inline void setEt(double newVal)
setter of et
- Parameters:
newVal – a double to set et
-
inline double mu() const
- Returns:
the value of mu
-
inline void setMu(double newVal)
setter of mu
- Parameters:
newVal – a double to set mu
-
virtual void display() const override
print the data to the screen
-
ACCEPT_STD_VISITORS()#
Private Functions
-
ACCEPT_SERIALIZATION(NewtonImpactFrictionNSL)#
-
NewtonImpactFrictionNSL()#
default constructor
-
NewtonImpactFrictionNSL(unsigned int size)