11 template<
typename TDataType>
17 typedef typename TDataType::Real
Real;
18 typedef typename TDataType::Coord
Coord;
19 typedef typename TDataType::Matrix
Matrix;
20 typedef typename ::dyno::TBond<TDataType>
Bond;
#define DECLARE_TCLASS(name, T1)
particle attribute 0x00000000: [31-30]material; [29]motion; [28]Dynamic; [27-8]undefined yet,...
Reduction< Real > * m_reduce
void enforceHyperelasticity()
::dyno::TBond< TDataType > Bond
DArray< bool > m_validOfK
DArray< Coord > y_residual
~SemiImplicitHyperelasticitySolver() override
DEF_ARRAY_IN(Attribute, Attribute, DeviceType::GPU, "Particle Attribute")
DEF_VAR(Real, StrainLimiting, 0.1, "")
DArray< bool > m_validOfF
DEF_ARRAY_IN(Real, Volume, DeviceType::GPU, "Particle volume")
DEF_VAR_IN(EnergyModels< Real >, EnergyModels, "")
DArray< Coord > m_eigenValues
SemiImplicitHyperelasticitySolver()
DArray< Coord > y_current
DEF_VAR(bool, IsAlphaComputed, true, "")
DArray< Coord > m_gradient
DEF_ARRAYLIST_IN(Real, VolumePair, DeviceType::GPU, "")
DArray< Coord > mEnergyGradient
DArray< Real > m_fraction
DEF_VAR_IN(EnergyType, EnergyType, "")
void solveElasticity() override
This is an implementation of AdditiveCCD based on peridyno.
Array< T, DeviceType::GPU > DArray