|
SuperDex Physics C++ API
|
Non-owning view of per-element material parameters for a soft body, in struct-of-arrays format. More...
#include <material_params.h>
Public Member Functions | |
| bool | operator!= (PerElementSoftMaterialDataView const &other) const =default |
| bool | operator== (PerElementSoftMaterialDataView const &other) const =default |
| PerElementSoftMaterialDataView ()=default | |
| PerElementSoftMaterialDataView (PerElementSoftMaterialData const &other) | |
| Implicit conversion from PerElementSoftMaterialData. | |
Public Attributes | |
| Span< real const > | anisoAlpha |
| Anisotropic stiffness (α) [Pa]. 1 per element. | |
| Span< real const > | anisoLength |
| Anisotropic reference length (dimensionless). 1 per element. | |
| Span< real const > | anisoPhi |
| Fiber elevation angle (φ) [rad]. 1 per element. | |
| Span< real const > | anisoTheta |
| Fiber azimuthal angle (θ) [rad]. 1 per element. | |
| Span< real const > | arapStiffness |
| ARAP stiffness (μ) [Pa]. | |
| Span< real const > | poissonRatio |
| Poisson's ratio (dimensionless). 1 per element. | |
| MaterialPsdStrategy | psdStrategy = MaterialPsdStrategy::MaterialDefault |
| Strategy for ensuring positive semi-definite Hessian matrices. | |
| Span< real const > | shapeTargetTensor |
| Shape target tensor offset in flat symmetric upper-triangle layout. | |
| SoftMaterialType | type = SoftMaterialType::NeoHookean |
| Material constitutive model. | |
| Span< real const > | youngsModulus |
| Young's modulus [Pa]. 1 per element. | |
Non-owning view of per-element material parameters for a soft body, in struct-of-arrays format.
Definition at line 214 of file material_params.h.
|
default |
|
inline |
Implicit conversion from PerElementSoftMaterialData.
| [in] | other | Source data. |
Definition at line 24 of file material_params_inl.h.
|
default |
|
default |
Anisotropic stiffness (α) [Pa]. 1 per element.
Definition at line 231 of file material_params.h.
Anisotropic reference length (dimensionless). 1 per element.
Definition at line 232 of file material_params.h.
Fiber elevation angle (φ) [rad]. 1 per element.
Definition at line 234 of file material_params.h.
Fiber azimuthal angle (θ) [rad]. 1 per element.
Definition at line 233 of file material_params.h.
Poisson's ratio (dimensionless). 1 per element.
Definition at line 230 of file material_params.h.
| MaterialPsdStrategy superdex::PerElementSoftMaterialDataView::psdStrategy = MaterialPsdStrategy::MaterialDefault |
Strategy for ensuring positive semi-definite Hessian matrices.
Definition at line 228 of file material_params.h.
Shape target tensor offset in flat symmetric upper-triangle layout.
6 values per element. Defines S_t = I + [[s0, s1, s2], [s1, s3, s4], [s2, s4, s5]].
Definition at line 238 of file material_params.h.
| SoftMaterialType superdex::PerElementSoftMaterialDataView::type = SoftMaterialType::NeoHookean |
Material constitutive model.
Definition at line 225 of file material_params.h.
Young's modulus [Pa]. 1 per element.
Definition at line 229 of file material_params.h.