Go to the documentation of this file.
21 #ifndef __geometry_hpp__
22 #define __geometry_hpp__
wordField & materialName_
Material name of each wall surface
auto getTriangleAccessor() const
repository & geometryRepository_
Repository to store geometry data at each simulation moment.
wordField & motionComponentName_
The name of motion component of each wall surface.
bool findPropertyId()
Find property id of each triangle based on the supplied material name and the surface wall that the t...
const auto & points() const
Access to the points.
const auto & control() const
const realx3TriSurfaceField_D & contactForceWall() const
Access to contact force.
static uniquePtr< geometry > create(systemControl &control, const property &prop)
virtual word motionModelTypeName() const =0
The name of motion model.
auto size() const
Size of tri-surface.
const property & wallProperty_
Const reference to physical property of materials.
realx3TriSurfaceField_D & stressWall_
Stress on ech triangle in the set of wall surfaces.
const repository & owner() const
Owner repository.
virtual bool write(bool verbose=false) const
const realx3Vector_D & points() const
bool afterIteration() override
Operations after each iteration.
create_vCtor(geometry, systemControl,(systemControl &control, const property &prop),(control, prop))
Virtual constructor.
realx3TriSurfaceField_D & contactForceWall_
Contact force on each triangle in the set of wall surfaces.
virtual ~geometry()=default
Destructor.
multiTriSurface & triSurface_
All triangles in the set of wall surfaces.
realx3TriSurfaceField_D & contactForceWall()
Access to contact force.
const auto & wallProperty() const
Access to property.
const auto & vertices() const
Access to the vertices.
bool beforeIteration() override
Operations before each iteration.
void zeroForce()
Initialize contact force to zero.
auto numPoints() const
Number of points in the set of surface walls.
virtual fileSystem path() const
property holds the pure properties of materials.
repository & owner()
Owner repository.
TypeInfo("geometry")
Type info.
const auto & surface() const
Surface.
Base class for geometry for managing tri-surfaces, geometry motion, and surface physical properties.
const int32x3Vector_D & vertices() const
base for geometry that manages control
auto getTriangleAccessor() const
Obtain an object for accessing triangles.
int8TriSurfaceField_D & propertyId_
Property id of each triangle in the set of wall surfaces.
auto numTriangles() const
Number of triangles in the set of surface walls.
auto path()
Path to the repository folder.
const int8TriSurfaceField_D & propertyId() const
Property ide of triangles.
virtual const int8Vector_HD & pointMotionIndex() const =0
Motion model index of points.
geometry(systemControl &control, const property &prop)
Construct from controlSystem and property, for reading from file.
virtual const int8Vector_HD & triMotionIndex() const =0
Motion model index of triangles.