69 void read(std::istream& is)
override;
71 void write(std::ostream& os)
const override;
73 std::string
getName()
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: SineWall.h:41
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.
Definition: SineWall.cc:190
void read(std::istream &is) override
Definition: SineWall.cc:212
Mdouble l_
Definition: SineWall.h:76
void set(Mdouble length, Mdouble sw_wavn, Mdouble sw_phshift, Mdouble sw_amp)
Definition: SineWall.cc:62
SineWall * copy() const override
Pure virtual function that can be overwritten in inherited classes in order to copy a BaseWall.
Definition: SineWall.cc:70
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: SineWall.cc:75
Mdouble sw_wavn_
Definition: SineWall.h:78
Mdouble sw_amp_
Definition: SineWall.h:77
~SineWall() override
Definition: SineWall.cc:57
std::string getName() const override
Definition: SineWall.cc:237
Mdouble sw_phshift_
Definition: SineWall.h:79
void write(std::ostream &os) const override
Definition: SineWall.cc:225
SineWall()
Default constructor, sets a chute with default parameters.
Definition: SineWall.cc:30
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73