|
core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
|
One placed copy of a shape tree (contract 7). More...
#include <scene.hpp>
Public Attributes | |
| int | shapeRoot = 0 |
| index of the root ShapeNode of this instance's tree | |
| int | materialId = -1 |
| consumer-defined; -1 = unset | |
| Transform< Real > | transform {} |
| Vec3< Real > | linVel {0, 0, 0} |
| Vec3< Real > | angVel {0, 0, 0} |
| Vec3< Real > | center {0, 0, 0} |
| reference point of the rotation, in world coordinates | |
| bool | centerPinned |
true: center is an explicit world point (the origin included); false: the centre follows the body (consumers use the translation) | |
One placed copy of a shape tree (contract 7).
This is what a DEM particle, a stirrer, a drum or a static container all reduce to, which is why resolved CFD-DEM needs no new representation: dem's per-particle (pos, quat, scale, shapeId) maps onto {transform, shapeRoot} directly.
The rigid-body velocity field v(x) = linVel + angVel x (x - center) generalises dem's WallSdf surface velocity to EVERY object; Layer 3's moving-wall BC and Layer 4's resolved coupling both read it. A static instance simply leaves linVel/angVel zero.
| int peclet::core::geom::Instance< Real >::shapeRoot = 0 |
index of the root ShapeNode of this instance's tree
Definition at line 200 of file scene.hpp.
Referenced by peclet::core::geom::decodeInstance(), and peclet::core::geom::encodeInstance().
| int peclet::core::geom::Instance< Real >::materialId = -1 |
consumer-defined; -1 = unset
Definition at line 201 of file scene.hpp.
Referenced by peclet::core::geom::decodeInstance(), and peclet::core::geom::encodeInstance().
Definition at line 202 of file scene.hpp.
Referenced by peclet::core::geom::decodeInstance(), and peclet::core::geom::encodeInstance().
Definition at line 203 of file scene.hpp.
Referenced by peclet::core::geom::decodeInstance(), and peclet::core::geom::encodeInstance().
Definition at line 204 of file scene.hpp.
Referenced by peclet::core::geom::decodeInstance(), and peclet::core::geom::encodeInstance().
reference point of the rotation, in world coordinates
Definition at line 205 of file scene.hpp.
Referenced by peclet::core::geom::decodeInstance(), and peclet::core::geom::encodeInstance().
| bool peclet::core::geom::Instance< Real >::centerPinned |
true: center is an explicit world point (the origin included); false: the centre follows the body (consumers use the translation)
Definition at line 206 of file scene.hpp.
Referenced by peclet::core::geom::decodeInstance(), peclet::core::geom::encodeInstance(), and peclet::core::geom::instanceCentre().