Go to the documentation of this file.
13 #ifndef __FRACTALFRICTION_H
14 #define __FRACTALFRICTION_H
19 #include <boost/shared_ptr.hpp>
32 this->
dt = timeStepSize;
39 boost::shared_ptr<double>
mu;
69 static string getType() {
return "FractalFriction";};
78 #endif //__FRACTALFRICTION_H
double k_s
Definition: FractalFriction.h:37
double m_mu
coefficient of friction
Definition: FrictionInteraction.h:68
Frictional+Elastic interaction between particles with fractal distribution of the coefficient of fric...
Definition: FractalFriction.h:55
FractalFrictionIGP & operator=(const FractalFrictionIGP &)
Definition: FractalFriction.cpp:49
double(CFractalFriction::* ScalarFieldFunction)() const
Definition: FractalFriction.h:59
CParticle * m_p2
Definition: Interaction.h:71
Abstract base/interface class for packed messages to be used in TML_Pack.
Definition: packed_message_interface.h:29
double m_k
spring constant
Definition: FrictionInteraction.h:66
Frictional+Elastic interaction between particles.
Definition: FrictionInteraction.h:53
static ScalarFieldFunction getScalarFieldFunction(const string &)
Definition: FractalFriction.cpp:119
static CheckedScalarFieldFunction getCheckedScalarFieldFunction(const string &)
Definition: FractalFriction.cpp:157
Vec3(CFractalFriction::* VectorFieldFunction)() const
Definition: FractalFriction.h:60
virtual std::string getTypeString() const
Definition: FractalFriction.h:28
pair< bool, double >(CFractalFriction::* CheckedScalarFieldFunction)() const
Definition: FractalFriction.h:61
double m_r0
equilibrium distance
Definition: FrictionInteraction.h:67
CParticle * m_p1
Definition: Interaction.h:71
double getPotentialEnergy() const
Definition: FrictionInteraction.cpp:336
double mu_0
Definition: FractalFriction.h:36
static VectorFieldFunction getVectorFieldFunction(const string &)
Definition: FractalFriction.cpp:142
VEC3_INLINE double & X()
Definition: vec3.h:119
double x0
Definition: FractalFriction.h:40
virtual double pop_double()=0
friend ostream & operator<<(ostream &, const CFractalFriction &)
Definition: FractalFriction.cpp:214
double y0
Definition: FractalFriction.h:40
#define NULL
Definition: t_list.h:17
FractalFrictionIGP ParameterType
Definition: FractalFriction.h:57
double dy
origin and grid spacing of the array
Definition: FractalFriction.h:40
double k
Definition: FractalFriction.h:35
std::pair< bool, double > getAbsFrictionalForce() const
Definition: FrictionInteraction.cpp:173
virtual void append(int)=0
VEC3_INLINE double & Y()
Definition: vec3.h:120
void setTimeStepSize(double timeStepSize)
Definition: FractalFriction.h:30
int ny
array size
Definition: FractalFriction.h:41
FractalFrictionIGP()
Definition: FractalFriction.cpp:17
Abstract base class for InteractionGroup parameters.
Definition: IGParam.h:29
std::pair< bool, double > getSlipVelocity() const
Definition: FrictionInteraction.cpp:310
CFractalFriction()
Definition: FractalFriction.cpp:77
~FractalFrictionIGP()
Definition: FractalFriction.cpp:71
std::pair< bool, double > getMuEffXY() const
Definition: FrictionInteraction.h:112
double dx
Definition: FractalFriction.h:40
virtual double Count() const
Definition: FrictionInteraction.cpp:395
double m_ks
shear stiffness (Cundall)
Definition: FrictionInteraction.h:69
double m_dt
time step
Definition: FrictionInteraction.h:70
Interaction parameters for frictional interaction with a fractal distribution of the coefficient of f...
Definition: FractalFriction.h:26
std::pair< bool, double > getMuEffXZ() const
Definition: FrictionInteraction.h:113
ostream & operator<<(ostream &ost, const CFractalFriction &FI)
Definition: FractalFriction.cpp:214
double dt
Definition: FractalFriction.h:38
double getSlipping() const
Definition: FrictionInteraction.cpp:348
int getID() const
Definition: BasicParticle.h:65
double getRad() const
Definition: BasicParticle.h:64
int nx
Definition: FractalFriction.h:41
boost::shared_ptr< double > mu
pointer to the array of friction coeff.
Definition: FractalFriction.h:39
static string getType()
Definition: FractalFriction.h:69
Vec3 getPos() const
Definition: BasicParticle.h:62
vector< int > m_id
id's of the particles involved
Definition: Interaction.h:39
Vec3 m_cpos
contact position
Definition: FrictionInteraction.h:73
Class for a basic particle.
Definition: Particle.h:51
std::pair< bool, double > getAbsMuFN() const
Definition: FrictionInteraction.cpp:224
virtual ~CFractalFriction()
Definition: FractalFriction.cpp:111