|
| PBAT_API Data & | WithVolumeMesh (Eigen::Ref< MatrixX const > const &X, Eigen::Ref< IndexMatrixX const > const &E) |
| | Simulation mesh.
|
| |
| PBAT_API Data & | WithSurfaceMesh (Eigen::Ref< IndexVectorX const > const &V, Eigen::Ref< IndexMatrixX const > const &F) |
| | Collision mesh.
|
| |
| PBAT_API Data & | WithBodies (Eigen::Ref< IndexVectorX const > const &B) |
| | Multibody map.
|
| |
| PBAT_API Data & | WithVelocity (Eigen::Ref< MatrixX const > const &v) |
| | Vertex velocities.
|
| |
| PBAT_API Data & | WithAcceleration (Eigen::Ref< MatrixX const > const &aext) |
| | Vertex external accelerations.
|
| |
| PBAT_API Data & | WithMaterial (Eigen::Ref< VectorX const > const &rhoe, Eigen::Ref< VectorX const > const &mue, Eigen::Ref< VectorX const > const &lambdae) |
| | Element material parameters.
|
| |
| PBAT_API Data & | WithDirichletConstrainedVertices (IndexVectorX const &dbc, Scalar muD=Scalar(1), bool bDbcSorted=false) |
| | Set Dirichlet constrained vertices.
|
| |
| PBAT_API Data & | WithVertexColoringStrategy (graph::EGreedyColorOrderingStrategy eOrdering, graph::EGreedyColorSelectionStrategy eSelection) |
| | Vertex graph coloring strategy to use.
|
| |
| PBAT_API Data & | WithInitializationStrategy (EInitializationStrategy strategy) |
| | BCD optimization initialization strategy.
|
| |
| PBAT_API Data & | WithRayleighDamping (Scalar kD) |
| | Uniform damping coefficient.
|
| |
| PBAT_API Data & | WithContactParameters (Scalar muC, Scalar muF, Scalar epsv) |
| | Normal and frictional contact parameters.
|
| |
| PBAT_API Data & | WithActiveSetUpdateFrequency (Index activeSetUpdateFrequency) |
| | Active set update frequency.
|
| |
| PBAT_API Data & | WithHessianDeterminantZeroUnder (Scalar zero) |
| | Numerical zero for hessian pseudo-singularity check.
|
| |
| PBAT_API Data & | WithChebyshevAcceleration (Scalar rho) |
| | Use Chebyshev acceleration.
|
| |
| PBAT_API Data & | WithAndersonAcceleration (Index window) |
| | Use Anderson acceleration.
|
| |
| PBAT_API Data & | WithBroydenMethod (Index window) |
| | Use Broyden method.
|
| |
| PBAT_API Data & | WithNesterovAcceleration (Scalar L, Index start=3) |
| | Use Nesterov acceleration.
|
| |
| PBAT_API Data & | WithTrustRegionAcceleration (Scalar eta, Scalar tau, bool bCurved=true) |
| | Use Trust Region acceleration.
|
| |
| PBAT_API Data & | Construct (bool bValidate=true) |
| | Construct the simulation data.
|
| |
|
|
Matrix< kDims, Eigen::Dynamic > | X |
| | 3x|# verts| FEM nodal positions
|
| |
|
IndexMatrix< 4, Eigen::Dynamic > | E |
| | 4x|# elems| FEM linear tetrahedral elements
|
| |
|
IndexVectorX | B |
| | |# verts| array of body indices
|
| |
|
IndexVectorX | V |
| | Collision vertices.
|
| |
|
IndexMatrix< 3, Eigen::Dynamic > | F |
| | 3x|#collision triangles| collision triangles (on the boundary of T)
|
| |
| VectorX | XVA |
| |
|
VectorX | FA |
| | |# collision triangles| triangle areas
|
| |
|
Matrix< kDims, Eigen::Dynamic > | x |
| | 3x|# verts| vertex positions
|
| |
|
Matrix< kDims, Eigen::Dynamic > | v |
| | 3x|# verts| vertex velocities
|
| |
|
Matrix< kDims, Eigen::Dynamic > | aext |
| | 3x|# verts| vertex external accelerations
|
| |
|
VectorX | m |
| | |# verts| vertex masses
|
| |
|
Matrix< kDims, Eigen::Dynamic > | xt |
| | 3x|# verts| previous vertex positions
|
| |
|
Matrix< kDims, Eigen::Dynamic > | xtilde |
| | 3x|# verts| inertial target positions
|
| |
|
Matrix< kDims, Eigen::Dynamic > | vt |
| | 3x|# verts| previous vertex velocities
|
| |
|
VectorX | wg |
| | |# elems| quadrature weights
|
| |
|
Matrix< 4, Eigen::Dynamic > | GP |
| | |# elem.nodes|x|# dims*# elems| shape function gradients at elems
|
| |
|
VectorX | rhoe |
| | |# elems| mass densities
|
| |
|
Matrix< 2, Eigen::Dynamic > | lame |
| | 2x|# elems| Lame coefficients
|
| |
|
IndexVectorX | GVGp |
| | |# verts+1| prefixes into GVGg
|
| |
| IndexVectorX | GVGe |
| |
| IndexVectorX | GVGilocal |
| |
|
Scalar | muD {1} |
| | Dirichlet penalty coefficient.
|
| |
|
IndexVectorX | dbc |
| | Dirichlet constrained vertices (sorted)
|
| |
| graph::EGreedyColorOrderingStrategy | eOrdering |
| |
| graph::EGreedyColorSelectionStrategy | eSelection |
| |
|
IndexVectorX | colors |
| | |# vertices| map of vertex colors
|
| |
| IndexVectorX | Pptr |
| |
|
IndexVectorX | Padj |
| | |# verts| partition vertices
|
| |
| EInitializationStrategy | strategy |
| | BCD optimization initialization strategy.
|
| |
|
Scalar | kD {0} |
| | Uniform damping coefficient.
|
| |
|
Scalar | muC {1e6} |
| | Uniform collision penalty.
|
| |
|
Scalar | muF {0.3} |
| | Uniform friction coefficient.
|
| |
| Scalar | epsv {1e-3} |
| |
|
Index | mActiveSetUpdateFrequency {1} |
| | Active set update frequency.
|
| |
|
Scalar | detHZero {1e-7} |
| | Numerical zero for hessian pseudo-singularity check.
|
| |
|
EAccelerationStrategy | eAcceleration {EAccelerationStrategy::None} |
| | Acceleration strategy.
|
| |
|
Scalar | rho {1} |
| | Chebyshev acceleration estimated spectral radius.
|
| |
|
Index | mWindowSize {5} |
| | Anderson acceleration window size.
|
| |
|
Scalar | mNesterovLipschitzConstant {1} |
| | Nesterov acceleration Lipschitz constant.
|
| |
|
Index | mNesterovAccelerationStart {3} |
| | Nesterov acceleration start iteration.
|
| |
|
Scalar | eta {0.2} |
| | Trust Region energy reduction accuracy threshold.
|
| |
|
Scalar | tau {2} |
| | Trust Region radius increase factor.
|
| |
|
bool | bCurved {true} |
| | Use curved accelerated path, otherwise use linear path.
|
| |
VBD simulation configuration.