63 void read(std::istream& is)
override;
65 void write(std::ostream& os)
const override;
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
Container to store Interaction objects.
Definition: InteractionHandler.h:45
Definition: ParabolaChute.h:35
bool getDistanceAndNormal(const BaseParticle &P, Mdouble &distance, Vec3D &normal_return) const override
Pure virtual function that computes the distance of a BaseParticle to this wall and returns the norma...
Definition: ParabolaChute.cc:69
BaseInteraction * getInteractionWith(BaseParticle *p, unsigned timeStamp, InteractionHandler *interactionHandler) override
Returns the interaction between this wall and a given particle, nullptr if there is no interaction.
void write(std::ostream &os) const override
Function that writes a BaseWall to an output stream, usually a restart file.
std::string getName() const override
A purely virtual function.
Mdouble ws_
Definition: ParabolaChute.h:71
ParabolaChute()
Default constructor, sets a chute with default parameters.
Definition: ParabolaChute.cc:30
void set(Mdouble length, Mdouble widthscale)
Definition: ParabolaChute.cc:57
~ParabolaChute() override
Definition: ParabolaChute.cc:52
void read(std::istream &is) override
Function that reads a BaseWall from an input stream, usually a restart file.
ParabolaChute * copy() const override
Pure virtual function that can be overwritten in inherited classes in order to copy a BaseWall.
Mdouble l_
Definition: ParabolaChute.h:70
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73