Go to the documentation of this file.
29 #ifndef __sphereParticles_hpp__
30 #define __sphereParticles_hpp__
156 const auto&
I()
const
241 #endif //__sphereParticles_hpp__
uint32PointField_D propertyId_
property id on device
const realPointField_D & mass() const override
#define notImplementedFunction
Report that a function is yet not implemented.
const realPointField_D & boundingSphere() const override
realPointField_D diameter_
diameter / boundig sphere size of particles on device
realx3PointField_D rVelocity_
pointField of rotational Velocity of particles on device
const auto & control() const
Const ref to systemControl.
const shape & getShapes() const override
bool insertParticles(const realx3Vector &position, const wordVector &shapesNames, const anyList &setVarList) override
Base class for integrating the first order ODE (IVP)
Timer intPredictTimer_
timer for integration computations (prediction step)
bool hearChanges(real t, real dt, uint32 iter, const message &msg, const anyList &varList) override
~sphereParticles() override=default
bool getParticlesInfoFromShape(const wordVector &shapeNames, uint32Vector &propIds, realVector &diams, realVector &m, realVector &Is, uint32Vector &shIndex)
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
const uint32PointField_D & propertyId() const override
const auto & spheres() const
const reference to shapes object
Timer accelerationTimer_
timer for acceleration computations
Timer intCorrectTimer_
timer for integration computations (correction step)
boundarySphereParticlesList boundarySphereParticles_
boundaries
Class for managing spherical particles.
const auto & I() const
const reference to inertia pointField
word shapeTypeName() const override
const realPointField_D & diameter() const override
const auto & rVelocity() const
bool iterate() override
iterate particles
integration & rVelIntegration()
const realx3PointField_D & rAcceleration() const override
bool initializeParticles()
Insert new particles in position with specified shapes.
bool beforeIteration() override
before iteration step
property holds the pure properties of materials.
Timer & intCorrectTimer()
uniquePtr< integration > rVelIntegration_
rotational velocity integrator
real dt() const
Time step of integration.
realPointField_D mass_
mass of particles field
realx3PointField_D & rAcceleration() override
ShapeType spheres_
reference to shapes
Timer & accelerationTimer()
realx3PointField_D rAcceleration_
pointField of rotational acceleration of particles on device
realPointField_D I_
pointField of inertial of particles