Go to the documentation of this file.
21 #ifndef __geometry_hpp__
22 #define __geometry_hpp__
58 "motionComponentName",
59 "motionComponentName"};
151 (
control, prop, surf, motionCompName, materialName, motionDic)
wordField_H materialName_
Material name of each wall surface
const auto & motionComponentName() const
realx3TriSurfaceField_D contactForceWall_
Contact force on each triangle in the set of wall surfaces.
const auto & control() const
Const ref to systemControl.
virtual const uint32Field_D & pointMotionIndex() const =0
Motion model index of points.
static uniquePtr< geometry > create(systemControl &control, const property &prop)
virtual word motionModelTypeName() const =0
The name of motion model.
bool createPropertyId()
Find property id of each triangle based on the supplied material name and the surface wall that the t...
const property & wallProperty_
Const reference to physical property of materials.
virtual const uint32Field_D & triMotionIndex() const =0
Motion model index of triangles.
realx3TriSurfaceField_D normalStressWall_
Stress on each triangle in the set of wall surfaces.
~geometry() override=default
Construct from components.
const auto & contactForceWall() const
Access to contact force.
bool afterIteration() override
This is called in time loop, after iterate.
create_vCtor(geometry, systemControl,(systemControl &control, const property &prop),(control, prop))
Virtual constructor.
const auto & propertyId() const
Property ide of triangles.
Interface class for any input stream
const auto & wallProperty() const
Access to property.
A base class for every main component of DEM system.
uint32TriSurfaceField_D propertyId_
Property id of each triangle in the set of wall surfaces.
auto & contactForceWall()
Access to contact force.
bool beforeIteration() override
This is called in time loop, before iterate.
bool read(iIstream &is, const IOPattern &iop) override
bool iterate() override
This is called in time loop.
void zeroForce()
Initialize contact force to zero.
property holds the pure properties of materials.
TypeInfo("geometry")
Type info.
Base class for geometry for managing tri-surfaces, geometry motion, and surface physical properties.
realx3TriSurfaceField_D shearStressWall_
Stress on each triangle in the set of wall surfaces.
Interface class for any output stream.
bool write(iOstream &os, const IOPattern &iop) const override
write
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
geometry(systemControl &control, const property &prop)
Construct from controlSystem and property, for reading from file.
wordField_H motionComponentName_
The name of motion component of each wall surface.