5 #ifndef SCREWSYMMETRICINTERSECTIONOFWALLS_H
6 #define SCREWSYMMETRICINTERSECTIONOFWALLS_H
152 void read(std::istream& is)
final;
157 void write(std::ostream& os)
const final;
float * p
Definition: Tutorial_Map_using.cpp:9
Definition: BaseParticle.h:33
A IntersectionOfWalls is convex polygon defined as an intersection of InfiniteWall's.
Definition: IntersectionOfWalls.h:38
Definition: ParticleSpecies.h:16
Use ScrewsymmetricIntersectionOfWalls to define screwsymmetric walls, such as cylinders,...
Definition: ScrewsymmetricIntersectionOfWalls.h:105
Mdouble getThickness() const
Definition: ScrewsymmetricIntersectionOfWalls.h:178
~ScrewsymmetricIntersectionOfWalls() override
Destructor.
Definition: ScrewsymmetricIntersectionOfWalls.cc:37
Mdouble pitch_
Definition: ScrewsymmetricIntersectionOfWalls.h:201
Mdouble getLength() const
Definition: ScrewsymmetricIntersectionOfWalls.h:181
void setThickness(Mdouble thickness)
Definition: ScrewsymmetricIntersectionOfWalls.h:177
ScrewsymmetricIntersectionOfWalls * copy() const final
Wall copy method. It calls the copy constructor of this Wall, useful for polymorphism.
Definition: ScrewsymmetricIntersectionOfWalls.cc:61
Mdouble getPitch() const
Definition: ScrewsymmetricIntersectionOfWalls.h:175
Mdouble length_
The length of the screw.
Definition: ScrewsymmetricIntersectionOfWalls.h:207
std::string getName() const final
Returns the name of the object.
Definition: ScrewsymmetricIntersectionOfWalls.cc:253
void setRightHandedness(bool rightHandedness)
Definition: ScrewsymmetricIntersectionOfWalls.h:171
ScrewsymmetricIntersectionOfWalls()
Default constructor.
Definition: ScrewsymmetricIntersectionOfWalls.cc:11
ScrewsymmetricIntersectionOfWalls & operator=(const ScrewsymmetricIntersectionOfWalls &other)
Copy assignment operator.
Definition: ScrewsymmetricIntersectionOfWalls.cc:46
Mdouble computeDeltaZ(const Vec3D &positionLabFrame, Mdouble h, Mdouble pitch) const
Definition: ScrewsymmetricIntersectionOfWalls.cc:188
bool rightHandedness_
The right handedness of the screw, i.e. the direction of the screw-blade.
Definition: ScrewsymmetricIntersectionOfWalls.h:184
bool getRightHandedness() const
Definition: ScrewsymmetricIntersectionOfWalls.h:172
void setAxis(Vec3D a)
Definition: ScrewsymmetricIntersectionOfWalls.cc:258
void read(std::istream &is) final
reads wall
Definition: ScrewsymmetricIntersectionOfWalls.cc:236
void setPitch(Mdouble pitch)
Definition: ScrewsymmetricIntersectionOfWalls.h:174
void writeVTK(VTKContainer &vtk) const override
Definition: ScrewsymmetricIntersectionOfWalls.cc:277
void setLength(Mdouble length)
Definition: ScrewsymmetricIntersectionOfWalls.h:180
void computeNormalRadialDeltaN(const Vec3D &positionLabFrame, Vec3D &normalVector, Vec3D &radialVector, Mdouble &deltaN) const
Definition: ScrewsymmetricIntersectionOfWalls.cc:131
void write(std::ostream &os) const final
outputs wall
Definition: ScrewsymmetricIntersectionOfWalls.cc:245
bool getDistanceAndNormal(const BaseParticle &P, Mdouble &distance, Vec3D &normal_return) const final
Computes the distance from the wall for a given BaseParticle and returns true if there is a collision...
Definition: ScrewsymmetricIntersectionOfWalls.cc:76
Mdouble thickness_
The thickness of the screw blade.
Definition: ScrewsymmetricIntersectionOfWalls.h:204
void convertLimits(Vec3D &min, Vec3D &max) const
Definition: ScrewsymmetricIntersectionOfWalls.cc:263
Definition: Kernel/Math/Vector.h:30
#define min(a, b)
Definition: datatypes.h:22
#define max(a, b)
Definition: datatypes.h:23
const Scalar * a
Definition: level2_cplx_impl.h:32
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:77
void normal(const Vector< double > &x, Vector< double > &normal)
Definition: free_surface_rotation.cc:65
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
Definition: BaseWall.h:17