26 #ifndef AXISYMMETRICWALL_H
27 #define AXISYMMETRICWALL_H
81 Mdouble& overlap)
const override;
86 void read(std::istream& is)
final;
91 void write(std::ostream& os)
const final;
96 std::string
getName()
const final;
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:60
Definition: BaseParticle.h:54
Basic class for walls.
Definition: BaseWall.h:49
virtual BaseInteraction * getInteractionWithSuperQuad(SuperQuadricParticle *p, unsigned timeStamp, InteractionHandler *interactionHandler)
Definition: BaseWall.cc:524
A infinite wall fills the half-space {point: (position_-point)*normal_<=0}.
Definition: InfiniteWall.h:48
Vec3D getFurthestPointSuperQuadric(const Vec3D &normalBodyFixed, const Vec3D &axes, Mdouble eps1, Mdouble eps2) const override
Largely untested, use at your own risk for anything other than ellipsoids.
Definition: InfiniteWall.cc:312
Container to store Interaction objects.
Definition: InteractionHandler.h:45
A drum in xz-direction with centre at the origin with a certain radius. Usable with superquadric part...
Definition: SimpleDrumSuperquadrics.h:45
InfiniteWall wall
Definition: SimpleDrumSuperquadrics.h:118
SimpleDrumSuperquadrics * copy() const final
Wall copy method. It calls the copy constructor of this Wall, useful for polymorphism.
Definition: SimpleDrumSuperquadrics.cc:73
BaseInteraction * getInteractionWithSuperQuad(SuperQuadricParticle *p, unsigned timeStamp, InteractionHandler *interactionHandler) override
Definition: SimpleDrumSuperquadrics.h:106
bool getDistanceNormalOverlapSuperquadric(const SuperQuadricParticle &p, Mdouble &distance, Vec3D &normal_return, Mdouble &overlap) const override
Definition: SimpleDrumSuperquadrics.cc:102
void setAxis(Vec3D a)
Definition: SimpleDrumSuperquadrics.cc:145
std::string getName() const final
Returns the name of the object.
Definition: SimpleDrumSuperquadrics.cc:140
void setRadius(const Mdouble &radius)
Definition: SimpleDrumSuperquadrics.h:100
SimpleDrumSuperquadrics()
Default constructor.
Definition: SimpleDrumSuperquadrics.cc:31
bool getDistanceAndNormal(const BaseParticle &P, Mdouble &distance, Vec3D &normal_return) const override
Computes the distance from the wall for a given BaseParticle and returns true if there is a collision...
Definition: SimpleDrumSuperquadrics.cc:88
void read(std::istream &is) final
reads wall
Definition: SimpleDrumSuperquadrics.cc:119
Vec3D getFurthestPointSuperQuadric(const Vec3D &normalBodyFixed, const Vec3D &axes, Mdouble eps1, Mdouble eps2) const override
Definition: SimpleDrumSuperquadrics.h:112
Mdouble radius_
Definition: SimpleDrumSuperquadrics.h:119
~SimpleDrumSuperquadrics() override
Destructor.
Definition: SimpleDrumSuperquadrics.cc:49
void write(std::ostream &os) const final
outputs wall
Definition: SimpleDrumSuperquadrics.cc:130
SimpleDrumSuperquadrics & operator=(const SimpleDrumSuperquadrics &other)
Copy assignment operator.
Definition: SimpleDrumSuperquadrics.cc:58
Definition: SuperQuadricParticle.h:57
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73