Go to the documentation of this file.
30 #ifndef __sphereParticles_hpp__
31 #define __sphereParticles_hpp__
155 real& maxDiam )
const override
188 #endif //__sphereParticles_hpp__
realx3PointField_D & rAcceleration_
pointField of rotational acceleration of particles on device
const auto & mass() const
sphereParticles & operator=(const sphereParticles &)=delete
no copy-assignement
const realVector_D & boundingSphere() const override
word shapeTypeName() const override
const realx3Vector_D rVelocity() const
virtual ~sphereParticles()=default
const auto & control() const
bool diameterMassInertiaPropId(const word &shName, real &diam, real &mass, real &I, int8 &propIdx)
const auto & position() const
bool insertSphereParticles(const wordVector &names, const int32IndexContainer &indices)
Timer intPredictTimer_
timer for integration computations (prediction step)
void boundingSphereMinMax(real &minDiam, real &maxDiam) const override
auto & I()
reference to inertia pointField
sphereParticles(systemControl &control, const property &prop)
construct from systemControl and property
Timer accelerationTimer_
timer for acceleration computations
virtual uniquePtr< List< eventObserver * > > getFieldObjectList() const override
Timer intCorrectTimer_
timer for integration computations (correction step)
bool update(const eventMessage &msg) override
bool afterIteration() override
after iteration step
bool insertParticles(const realx3Vector &position, const wordVector &shapes, const setFieldList &setField) override
Insert new particles in position with specified shapes.
Class for managing spherical particles.
const property & property_
reference to material properties
realPointField_D & I_
pointField of inertial of particles
const auto & I() const
const reference to inertia pointField
bool iterate() override
iterate particles
const realx3PointField_D & rAcceleration() const override
bool initializeParticles()
bool beforeIteration() override
before iteration step
property holds the pure properties of materials.
sphereShape & shapes_
reference to shapes
const auto & diameter() const
realx3PointField_D & rVelocity_
pointField of rotational Velocity of particles on device
uniquePtr< integration > rVelIntegration_
rotational velocity integrator
realx3PointField_D & rAcceleration() override
void diameterMinMax(real &minD, real &maxD) const
const auto & shapes() const
const reference to shapes object