Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FNewtonEvolution |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/NewtonEvolution.h |
| Include Path | #include "Chaos/NewtonEvolution.h" |
Syntax
class FNewtonEvolution : public Chaos::TArrayCollection
Inheritance Hierarchy
- TArrayCollection → FNewtonEvolution
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNewtonEvolution
(
FSolverParticles&& InParticles, |
TODO: Tidy up this constructor (and update Headless Chaos) | Chaos/NewtonEvolution.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FNewtonEvolution() |
Chaos/NewtonEvolution.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWriteDebugInfo | bool | Chaos/NewtonEvolution.h | ||
| ConsCaches | ConsModelCaches | Chaos/NewtonEvolution.h | ||
| DeltaPStress | TFunction< void(const PMatrix< FSolverReal, 3, 3 > &, const PMatrix< FSolverReal, 3, 3 > &, PMatrix< FSolverReal, 3, 3 > &, const int32)> | Chaos/NewtonEvolution.h | ||
| ElementForces | TArray< FSolverVec3 > | Chaos/NewtonEvolution.h | ||
| Lambda | FSolverReal | Chaos/NewtonEvolution.h | ||
| MAddExternalForce | TFunction< void(const FSolverReal, const FSolverReal, const TArray< FSolverReal > &, bool, TArray< FSolverVec3 > &)> | Chaos/NewtonEvolution.h | ||
| MBCPositions | TArray< FSolverVec3 > | Chaos/NewtonEvolution.h | ||
| MCGTol | FSolverReal | Chaos/NewtonEvolution.h | ||
| MCoefficientOfFriction | FSolverReal | Chaos/NewtonEvolution.h | ||
| MCollided | TArrayCollectionArray< bool > | Chaos/NewtonEvolution.h | ||
| MCollisionContacts | TArray< FSolverVec3 > | Chaos/NewtonEvolution.h | ||
| MCollisionKinematicUpdate | TFunction< void(FSolverCollisionParticles &, const FSolverReal, const FSolverReal, const int32)> | Chaos/NewtonEvolution.h | ||
| MCollisionNormals | TArray< FSolverVec3 > | Chaos/NewtonEvolution.h | ||
| MCollisionParticleGroupIds | TArrayCollectionArray< uint32 > | Chaos/NewtonEvolution.h | ||
| MCollisionParticles | FSolverCollisionParticles | Chaos/NewtonEvolution.h | ||
| MCollisionParticlesActiveView | TPBDActiveView< FSolverCollisionParticles > | Chaos/NewtonEvolution.h | ||
| MCollisionThickness | FSolverReal | Chaos/NewtonEvolution.h | ||
| MCollisionTransforms | TArrayCollectionArray< FSolverRigidTransform3 > | Chaos/NewtonEvolution.h | ||
| MConstrainedVertices | TArray< int32 > | Chaos/NewtonEvolution.h | ||
| MConstraintInits | TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > | Chaos/NewtonEvolution.h | ||
| MConstraintInitsActiveView | TPBDActiveView< TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > > | Chaos/NewtonEvolution.h | ||
| MConstraintRules | TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > | Chaos/NewtonEvolution.h | ||
| MConstraintRulesActiveView | TPBDActiveView< TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > > | Chaos/NewtonEvolution.h | ||
| MDamping | FSolverReal | Chaos/NewtonEvolution.h | ||
| Measure | TArray< FSolverReal > | Chaos/NewtonEvolution.h | ||
| MEFem | TUniquePtr< ElasticFEM< FSolverReal, FSolverParticles > > | Chaos/NewtonEvolution.h | ||
| MGravity | FSolverVec3 | Chaos/NewtonEvolution.h | ||
| MGroupCoefficientOfFrictions | TArrayCollectionArray< FSolverReal > | Chaos/NewtonEvolution.h | ||
| MGroupCollisionThicknesses | TArrayCollectionArray< FSolverReal > | Chaos/NewtonEvolution.h | ||
| MGroupDampings | TArrayCollectionArray< FSolverReal > | Chaos/NewtonEvolution.h | ||
| MGroupForceRules | TArrayCollectionArray< TFunction< void(FSolverParticles &, const FSolverReal, const int32)> > | Chaos/NewtonEvolution.h | ||
| MGroupGravityAccelerations | TArrayCollectionArray< FSolverVec3 > | Chaos/NewtonEvolution.h | ||
| MGroupLocalDampings | TArrayCollectionArray< FSolverReal > | Chaos/NewtonEvolution.h | ||
| MGroupUseCCDs | TArrayCollectionArray< bool > | Chaos/NewtonEvolution.h | ||
| MGroupVelocityAndPressureFields | TArrayCollectionArray< FVelocityAndPressureField > | Chaos/NewtonEvolution.h | ||
| MIncidentElements | TArray< TArray< TVector< int32, 2 > > > | Chaos/NewtonEvolution.h | ||
| MKinematicUpdate | TFunction< void(FSolverParticles &, const FSolverReal, const FSolverReal, const int32)> | Chaos/NewtonEvolution.h | ||
| MLocalDamping | FSolverReal | Chaos/NewtonEvolution.h | ||
| MMesh | TArray< TVector< int32, 4 > > | Chaos/NewtonEvolution.h | ||
| MNewtonTol | FSolverReal | Chaos/NewtonEvolution.h | ||
| MNodalMass | TArray< FSolverReal > | Chaos/NewtonEvolution.h | ||
| MNumCGIterations | int32 | Chaos/NewtonEvolution.h | ||
| MNumNewtonIterations | int32 | Chaos/NewtonEvolution.h | ||
| MParticleGroupIds | TArrayCollectionArray< uint32 > | Chaos/NewtonEvolution.h | ||
| MParticles | FSolverParticles | Chaos/NewtonEvolution.h | ||
| MParticlesActiveView | TPBDActiveView< FSolverParticles > | Chaos/NewtonEvolution.h | ||
| MPostCollisionConstraintRules | TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > | Chaos/NewtonEvolution.h | ||
| MPostCollisionConstraintRulesActiveView | TPBDActiveView< TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > > | Chaos/NewtonEvolution.h | ||
| MResidualNorm | TArray< FSolverReal > | Chaos/NewtonEvolution.h | ||
| MSmoothDt | FSolverReal | Chaos/NewtonEvolution.h | ||
| MTime | FSolverReal | Chaos/NewtonEvolution.h | ||
| Mu | FSolverReal | Material Constants: | Chaos/NewtonEvolution.h | |
| MVn | TArray< FSolverVec3 > | Chaos/NewtonEvolution.h | ||
| NoVerbose | bool | Chaos/NewtonEvolution.h | ||
| ProjectBCs | TFunction< void(TArray< FSolverVec3 > &)> | Chaos/NewtonEvolution.h | ||
| PStress | TFunction< void(const PMatrix< FSolverReal, 3, 3 > &, PMatrix< FSolverReal, 3, 3 > &, const int32)> | Chaos/NewtonEvolution.h | ||
| SetBCs | TFunction< void(const FSolverReal, TArray< FSolverVec3 > &)> | Chaos/NewtonEvolution.h | ||
| UpdatePositionBasedState | TFunction< void(const bool)> | Newton specific lambdas: | Chaos/NewtonEvolution.h | |
| use_list | TUniquePtr< TArray< int32 > > | Chaos/NewtonEvolution.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ActivateCollisionParticleRange
(
int32 Offset, |
Set a block of collision particles active or inactive, using the index of the first added particle to identify the block. | Chaos/NewtonEvolution.h | |
void ActivateConstraintInitRange
(
int32 Offset, |
Set a block of constraints active or inactive, using the index of the first added particle to identify the block. | Chaos/NewtonEvolution.h | |
void ActivateConstraintRuleRange
(
int32 Offset, |
Chaos/NewtonEvolution.h | ||
void ActivateParticleRange
(
int32 Offset, |
Set a block of particles active or inactive, using the index of the first added particle to identify the block. | Chaos/NewtonEvolution.h | |
void ActivatePostCollisionConstraintRuleRange
(
int32 Offset, |
Chaos/NewtonEvolution.h | ||
int32 AddCollisionParticleRange
(
int32 NumParticles, |
Add collision particles and initialize group ids. | Chaos/NewtonEvolution.h | |
int32 AddConstraintInitRange
(
int32 NumConstraints, |
Add constraints. Return the index of the first added constraint. | Chaos/NewtonEvolution.h | |
int32 AddConstraintRuleRange
(
int32 NumConstraints, |
Chaos/NewtonEvolution.h | ||
int32 AddParticleRange
(
int32 NumParticles, |
Add particles and initialize group ids. Return the index of the first added particle. | Chaos/NewtonEvolution.h | |
int32 AddPostCollisionConstraintRuleRange
(
int32 NumConstraints, |
Chaos/NewtonEvolution.h | ||
void AdvanceOneTimeStep
(
const FSolverReal Dt, |
Advance one time step. Filter the input time step if specified. | Chaos/NewtonEvolution.h | |
const bool Collided
(
int32 index |
Chaos/NewtonEvolution.h | ||
const TArray< uint32 > & CollisionParticleGroupIds() |
Chaos/NewtonEvolution.h | ||
| Chaos/NewtonEvolution.h | |||
const FSolverCollisionParticles & CollisionParticles () |
Chaos/NewtonEvolution.h | ||
const TPBDActiveView< FSolverCollisionParticles > & CollisionParticlesActiveView() |
Chaos/NewtonEvolution.h | ||
void ComputeNegativeBackwardEulerResidual
(
const FSolverParticles& InParticles, |
Chaos/NewtonEvolution.h | ||
const TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > & ConstraintInits () |
Constraint accessors. | Chaos/NewtonEvolution.h | |
TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > & ConstraintInits () |
Chaos/NewtonEvolution.h | ||
const TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > & ConstraintRules () |
Chaos/NewtonEvolution.h | ||
TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > & ConstraintRules () |
Chaos/NewtonEvolution.h | ||
void DoNewtonStep
(
const int32 max_it_newton, |
Chaos/NewtonEvolution.h | ||
FSolverReal GetCoefficientOfFriction
(
const uint32 GroupId |
Chaos/NewtonEvolution.h | ||
const TArray< FSolverVec3 > & GetCollisionContacts() |
Chaos/NewtonEvolution.h | ||
const TArray< FSolverVec3 > & GetCollisionNormals() |
Chaos/NewtonEvolution.h | ||
int32 GetCollisionParticleRangeSize
(
int32 Offset |
Return the number of particles of the block starting at Offset. | Chaos/NewtonEvolution.h | |
const TArray< bool > & GetCollisionStatus() |
Chaos/NewtonEvolution.h | ||
FSolverReal GetCollisionThickness
(
const uint32 GroupId |
Chaos/NewtonEvolution.h | ||
int32 GetConstraintInitRangeSize
(
int32 Offset |
Return the number of particles of the block starting at Offset. | Chaos/NewtonEvolution.h | |
int32 GetConstraintRuleRangeSize
(
int32 Offset |
Chaos/NewtonEvolution.h | ||
FSolverReal GetDamping
(
const uint32 GroupId |
Chaos/NewtonEvolution.h | ||
const TFunction< void(FSolverParticles &, const FSolverReal, const int32)> & GetForceFunction
(
const uint32 GroupId |
Chaos/NewtonEvolution.h | ||
TFunction< void(FSolverParticles &, const FSolverReal, const int32)> & GetForceFunction
(
const uint32 GroupId |
Chaos/NewtonEvolution.h | ||
const FSolverVec3 & GetGravity
(
const uint32 GroupId |
Chaos/NewtonEvolution.h | ||
FSolverReal GetLocalDamping
(
const uint32 GroupId |
Chaos/NewtonEvolution.h | ||
int32 GetNewtonIterations() |
Chaos/NewtonEvolution.h | ||
int32 GetParticleRangeSize
(
int32 Offset |
Return the number of particles of the block starting at Offset. | Chaos/NewtonEvolution.h | |
int32 GetPostCollisionConstraintRuleRangeSize
(
int32 Offset |
Chaos/NewtonEvolution.h | ||
FSolverReal GetTime() |
Chaos/NewtonEvolution.h | ||
bool GetUseCCD
(
const uint32 GroupId |
Chaos/NewtonEvolution.h | ||
const FVelocityAndPressureField & GetVelocityAndPressureField
(
const uint32 GroupId |
Chaos/NewtonEvolution.h | ||
FVelocityAndPressureField & GetVelocityAndPressureField
(
const uint32 GroupId |
Chaos/NewtonEvolution.h | ||
| Chaos/NewtonEvolution.h | |||
void InitFEM() |
Chaos/NewtonEvolution.h | ||
const TArray< uint32 > & ParticleGroupIds() |
Chaos/NewtonEvolution.h | ||
| Chaos/NewtonEvolution.h | |||
const FSolverParticles & Particles () |
Particles accessors. | Chaos/NewtonEvolution.h | |
const TPBDActiveView< FSolverParticles > & ParticlesActiveView() |
Chaos/NewtonEvolution.h | ||
TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > & PostCollisionConstraintRules () |
Chaos/NewtonEvolution.h | ||
const TArray< TFunction< void(FSolverParticles &, const FSolverReal)> > & PostCollisionConstraintRules () |
Chaos/NewtonEvolution.h | ||
void ResetCollisionParticles
(
int32 NumParticles |
Remove all collision particles. | Chaos/NewtonEvolution.h | |
void ResetConstraintRules() |
Reset all constraint init and rule functions. | Chaos/NewtonEvolution.h | |
void ResetParticles() |
Remove all particles, will also reset all rules. | Chaos/NewtonEvolution.h | |
void SetCoefficientOfFriction
(
const FSolverReal CoefficientOfFriction, |
Chaos/NewtonEvolution.h | ||
void SetCollisionKinematicUpdateFunction
(
TFunction< void(FSolverCollisionParticles&, const FSolverReal, const FSolverReal, const int32)> Kin... |
Chaos/NewtonEvolution.h | ||
void SetCollisionThickness
(
const FSolverReal CollisionThickness, |
Chaos/NewtonEvolution.h | ||
void SetDamping
(
const FSolverReal Damping, |
Chaos/NewtonEvolution.h | ||
void SetGravity
(
const FSolverVec3& Acceleration, |
Chaos/NewtonEvolution.h | ||
void SetKinematicUpdateFunction
(
TFunction< void(FSolverParticles&, const FSolverReal, const FSolverReal, const int32)> KinematicUpd... |
Chaos/NewtonEvolution.h | ||
void SetLocalDamping
(
const FSolverReal LocalDamping, |
Chaos/NewtonEvolution.h | ||
void SetNewtonIterations
(
const int32 Iterations |
Chaos/NewtonEvolution.h | ||
void SetUseCCD
(
const bool bUseCCD, |
Chaos/NewtonEvolution.h | ||
void WriteOutputLog
(
const int32 Frame |
Chaos/NewtonEvolution.h |