16 class CollidableParticleSphere;
20 class UnstructuredGrid;
56 double PredictCollision(
CollidableBase& rCollidable,
int& rType)
override;
76 virtual bool IsPhysical()
const = 0;
92 const Eigen::Vector3d& GetDirection()
const;
95 const Eigen::Vector3d& GetPosition()
const;
112 virtual void Print(std::ostream& rReturnStream)
const override;
123 int GetNonNullAxis();
Eigen::Vector3d mDirection
normal vector of the point-and-normal-vector plane definition
Definition: CollidableWallBase.h:102
void GetLocalEventsToDelete(LocalEvents &) const override
does nothing as all other wall events are still legal
Definition: CollidableWallBase.h:83
bool mIsAxisAligned
true –> calculations without vector calculations
Definition: CollidableWallBase.h:119
int mNonNullAxis
index of the direction component that is != 0
Definition: CollidableWallBase.h:116
class for spherical collidables
Definition: CollidableParticleSphere.h:28
class for sub box handing -> improves the performance without changing the physics ...
Definition: SubBox.h:20
visualization of unstructured grids
Definition: UnstructuredGrid.h:18
Base class for all collidables.
Definition: CollidableBase.h:22
SubBox * mOutsideBox
box on the outer side of the wall
Definition: CollidableWallBase.h:108
void MoveAndGrow(double) override
walls to neither grow nor move, do nothing
Definition: CollidableWallBase.h:71
Definition: Exception.h:6
base class for walls
Definition: CollidableWallBase.h:23
SubBox * mInsideBox
box on the inner side of the wall
Definition: CollidableWallBase.h:105
std::vector< Event * > LocalEvents
Definition: CollidableBase.h:17
Eigen::Vector3d mPosition
point of the point-and-normal-vector plane definition
Definition: CollidableWallBase.h:99
def Visualize(structure, file)
Definition: Truss1D2N.py:63