Go to the documentation of this file.
29 #ifndef __grainParticles_hpp__
30 #define __grainParticles_hpp__
153 const auto&
I()
const
249 #endif //__sphereParticles_hpp__
realPointField_D mass_
mass of particles field
#define notImplementedFunction
Report that a function is yet not implemented.
realx3PointField_D rVelocity_
pointField of rotational Velocity of particles on device
~grainParticles() override=default
ShapeType grains_
reference to shapes
bool insertParticles(const realx3Vector &position, const wordVector &shapesNames, const anyList &setVarList) override
Timer intPredictTimer_
timer for integration computations (prediction step)
const shape & getShapes() const override
const auto & control() const
Const ref to systemControl.
Base class for integrating the first order ODE (IVP)
realPointField_D grainDiameter_
diameter / boundig sphere size of particles on device
uint32PointField_D propertyId_
property id on device
word shapeTypeName() const override
Timer intCorrectTimer_
timer for integration computations (correction step)
bool iterate() override
iterate particles
const realPointField_D & diameter() const override
const auto & I() const
const reference to inertia pointField
bool getParticlesInfoFromShape(const wordVector &shapeNames, uint32Vector &propIds, realVector &diams, realVector &coarseGrainFactors, realVector &m, realVector &Is, uint32Vector &shIndex)
bool initializeParticles()
Insert new particles in position with specified shapes.
const uint32PointField_D & propertyId() const override
const auto & grains() const
const reference to shapes object
bool hearChanges(real t, real dt, uint32 iter, const message &msg, const anyList &varList) override
const realPointField_D & boundingSphere() const override
const realPointField_D & mass() const override
auto & I()
reference to inertia pointField
realPointField_D I_
pointField of inertial of particles
integration & rVelIntegration()
void boundingSphereMinMax(real &minDiam, real &maxDiam) const override
realx3PointField_D rAcceleration_
pointField of rotational acceleration of particles on device
bool beforeIteration() override
before iteration step
uniquePtr< integration > rVelIntegration_
rotational velocity integrator
const realx3PointField_D & rAcceleration() const override
Timer accelerationTimer_
timer for acceleration computations
property holds the pure properties of materials.
realPointField_D coarseGrainFactor_
const realPointField_D & coarseGrainFactor() const
const auto & rVelocity() const
grainParticles(systemControl &control, const property &prop)
construct from systemControl and property
realx3PointField_D & rAcceleration() override
const realPointField_D & grainDiameter() const
Timer & intCorrectTimer()
boundaryGrainParticlesList boundaryGrainParticles_
boundaries
real dt() const
Time step of integration.
Timer & accelerationTimer()