26 #ifndef EMPTYTANGENTIALINTERACTION_H
27 #define EMPTYTANGENTIALINTERACTION_H
81 void read(std::istream& is)
override;
86 void write(std::ostream& os)
const override;
Defines the basic properties that a interactable object can have.
Definition: BaseInteractable.h:55
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:60
Definition: BaseParticle.h:54
In case one wants to have a frictionless interaction between the interactables (particles or walls),...
Definition: EmptyFrictionInteraction.h:46
void integrate(Mdouble timeStep) override
Does nothing as there is no force.
Definition: EmptyFrictionInteraction.cc:101
std::string getBaseName() const
Returns interaction name/type.
Definition: EmptyFrictionInteraction.cc:140
~EmptyFrictionInteraction() override
Destructor.
Definition: EmptyFrictionInteraction.cc:70
Mdouble getElasticEnergy() const override
Returns zero as it is an frictionless interaction.
Definition: EmptyFrictionInteraction.cc:107
void computeFrictionInteraction()
Definition: EmptyFrictionInteraction.cc:95
Mdouble getTangentialOverlap() const override
Returns zero overlap.
Definition: EmptyFrictionInteraction.cc:115
EmptyFrictionSpecies SpeciesType
An alias name for EmptyFrictionSpecies.
Definition: EmptyFrictionInteraction.h:51
EmptyFrictionInteraction()
Definition: EmptyFrictionInteraction.cc:48
const EmptyFrictionSpecies * getSpecies() const
Returns a const pointer of type EmptyFrictionSpecies*.
Definition: EmptyFrictionInteraction.cc:131
const Vec3D getTangentialForce() const override
Returns zero tangential force.
Definition: EmptyFrictionInteraction.cc:123
void write(std::ostream &os) const override
Interaction write function, which accepts an std::ostream as input.
Definition: EmptyFrictionInteraction.cc:80
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Definition: EmptyFrictionInteraction.cc:86
void computeFrictionForce()
Computes nothing, it is an empty function.
Definition: EmptyFrictionInteraction.cc:92
EmptyFrictionSpecies is used to create a force law without frictional forces.
Definition: EmptyFrictionSpecies.h:42
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73