UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::Softs::FSolverParticles Class Reference

#include <PBDSoftsSolverParticles.h>

+ Inheritance diagram for Chaos::Softs::FSolverParticles:

Public Types

typedef TDynamicParticles< FSolverReal, 3 > Base
 

Public Member Functions

 FSolverParticles ()
 
 FSolverParticles (const FSolverParticles &Other)=delete
 
 FSolverParticles (FSolverParticles &&Other)
 
const FSolverVec3P (const int32 index) const
 
FSolverVec3P (const int32 index)
 
const FSolverVec3X (const int32 index) const
 
FSolverVec3X (const int32 index)
 
const FSolverVec3GetP (const int32 index) const
 
void SetP (const int32 index, const FSolverVec3 &InP)
 
const FSolverVec3VPrev (const int32 Index) const
 
FSolverVec3VPrev (const int32 Index)
 
const FPAndInvMPAndInvM (const int32 index) const
 
FPAndInvMPAndInvM (const int32 index)
 
TArrayCollectionArray< FPAndInvM > & GetPAndInvM ()
 
const TArrayCollectionArray< FPAndInvM > & GetPAndInvM () const
 
TArrayCollectionArray< FSolverVec3 > & GetVPrev ()
 
const TArrayCollectionArray< FSolverVec3 > & GetVPrev () const
 
template<typename T >
TConstArrayView< T > GetConstArrayView (const TArray< T > &Data) const
 
template<typename T >
TArrayView< T > GetArrayView (const TArray< T > &Data)
 
- Public Member Functions inherited from Chaos::TDynamicParticles< FSolverReal, 3 >
 TDynamicParticles ()
 
 TDynamicParticles (const TDynamicParticles< FSolverReal, d > &Other)=delete
 
 TDynamicParticles (TDynamicParticles< FSolverReal, d > &&Other)
 
const TVector< FSolverReal, d > & V (const int32 Index) const
 
TVector< FSolverReal, d > & V (const int32 Index)
 
const TVector< FSolverReal, d > GetV (const int32 Index) const
 
const TArrayCollectionArray< TVector< FSolverReal, d > > & GetV () const
 
TArrayCollectionArray< TVector< FSolverReal, d > > & GetV ()
 
void SetV (const int32 Index, const TVector< FSolverReal, d > &InV)
 
const TVector< FSolverReal, d > & Acceleration (const int32 Index) const
 
TVector< FSolverReal, d > & Acceleration (const int32 Index)
 
const TArrayCollectionArray< TVector< FSolverReal, d > > & GetAcceleration () const
 
TArrayCollectionArray< TVector< FSolverReal, d > > & GetAcceleration ()
 
const FSolverReal M (const int32 Index) const
 
FSolverRealM (const int32 Index)
 
const TArrayCollectionArray< FSolverReal > & GetM () const
 
TArrayCollectionArray< FSolverReal > & GetM ()
 
const FSolverReal InvM (const int32 Index) const
 
FSolverRealInvM (const int32 Index)
 
const TArrayCollectionArray< FSolverReal > & GetInvM () const
 
TArrayCollectionArray< FSolverReal > & GetInvM ()
 
- Public Member Functions inherited from Chaos::TParticles< T, d >
 TParticles ()
 
 TParticles (const TParticles< T, d > &Other)=delete
 
 TParticles (TParticles< T, d > &&Other)
 
 TParticles (TArray< TVector< T, d > > &&Positions)
 
virtual ~TParticles ()
 
void AddParticles (const int32 Num)
 
void DestroyParticle (const int32 Idx)
 
ERemoveParticleBehavior RemoveParticleBehavior () const
 
ERemoveParticleBehaviorRemoveParticleBehavior ()
 
void MoveToOtherParticles (const int32 Idx, TParticles< T, d > &Other)
 
void Resize (const int32 Num)
 
TParticlesoperator= (TParticles< T, d > &&Other)
 
const TArrayCollectionArray< TVector< T, d > > & X () const
 
void Serialize (FArchive &Ar)
 
const TArrayCollectionArray< TVector< T, d > > & XArray () const
 
TArrayCollectionArray< TVector< T, d > > & XArray ()
 
const TVector< T, d > & X (const int32 Index) const
 
TVector< T, d > & X (const int32 Index)
 
const TVector< T, d > & GetX (const int32 Index) const
 
void SetX (const int32 Index, const TVector< T, d > &InX)
 
FString ToString (int32 index) const
 
uint32 GetTypeHash () const
 
SIZE_T GetAllocatedSize () const
 
int32 DirtyValidationCount () const
 
FORCEINLINE TArray< TVector< T, d > > & AllX ()
 
FORCEINLINE const TArray< TVector< T, d > > & AllX () const
 
- Public Member Functions inherited from Chaos::TArrayCollection
 TArrayCollection ()
 
 TArrayCollection (const TArrayCollection &Other)=delete
 
 TArrayCollection (TArrayCollection &&Other)=delete
 
virtual ~TArrayCollection ()
 
void ShrinkArrays (const float MaxSlackFraction, const int32 MinSlack)
 
int32 AddArray (TArrayCollectionArrayBase *Array)
 
void RemoveArray (TArrayCollectionArrayBase *Array)
 
void RemoveAt (int32 Index, int32 Count)
 
uint32 Size () const
 
uint64 ComputeColumnSize () const
 

Additional Inherited Members

- Protected Member Functions inherited from Chaos::TArrayCollection
void AddElementsHelper (const int32 Num)
 
void ResizeHelper (const int32 Num)
 
void RemoveAtHelper (const int32 Index, const int32 Count)
 
void RemoveAtSwapHelper (const int32 Index)
 
void MoveToOtherArrayCollection (const int32 Index, TArrayCollection &Other)
 
- Protected Attributes inherited from Chaos::TArrayCollection
uint32 MSize
 

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ FSolverParticles() [1/3]

Chaos::Softs::FSolverParticles::FSolverParticles ( )
inline

◆ FSolverParticles() [2/3]

Chaos::Softs::FSolverParticles::FSolverParticles ( const FSolverParticles Other)
delete

◆ FSolverParticles() [3/3]

Chaos::Softs::FSolverParticles::FSolverParticles ( FSolverParticles &&  Other)
inline

Member Function Documentation

◆ GetArrayView()

template<typename T >
TArrayView< T > Chaos::Softs::FSolverParticles::GetArrayView ( const TArray< T > &  Data)
inline

◆ GetConstArrayView()

template<typename T >
TConstArrayView< T > Chaos::Softs::FSolverParticles::GetConstArrayView ( const TArray< T > &  Data) const
inline

◆ GetP()

const FSolverVec3 & Chaos::Softs::FSolverParticles::GetP ( const int32  index) const
inline

◆ GetPAndInvM() [1/2]

TArrayCollectionArray< FPAndInvM > & Chaos::Softs::FSolverParticles::GetPAndInvM ( )
inline

◆ GetPAndInvM() [2/2]

const TArrayCollectionArray< FPAndInvM > & Chaos::Softs::FSolverParticles::GetPAndInvM ( ) const
inline

◆ GetVPrev() [1/2]

TArrayCollectionArray< FSolverVec3 > & Chaos::Softs::FSolverParticles::GetVPrev ( )
inline

◆ GetVPrev() [2/2]

const TArrayCollectionArray< FSolverVec3 > & Chaos::Softs::FSolverParticles::GetVPrev ( ) const
inline

◆ P() [1/2]

FSolverVec3 & Chaos::Softs::FSolverParticles::P ( const int32  index)
inline

◆ P() [2/2]

const FSolverVec3 & Chaos::Softs::FSolverParticles::P ( const int32  index) const
inline

◆ PAndInvM() [1/2]

FPAndInvM & Chaos::Softs::FSolverParticles::PAndInvM ( const int32  index)
inline

◆ PAndInvM() [2/2]

const FPAndInvM & Chaos::Softs::FSolverParticles::PAndInvM ( const int32  index) const
inline

◆ SetP()

void Chaos::Softs::FSolverParticles::SetP ( const int32  index,
const FSolverVec3 InP 
)
inline

◆ VPrev() [1/2]

FSolverVec3 & Chaos::Softs::FSolverParticles::VPrev ( const int32  Index)
inline

◆ VPrev() [2/2]

const FSolverVec3 & Chaos::Softs::FSolverParticles::VPrev ( const int32  Index) const
inline

◆ X() [1/2]

FSolverVec3 & Chaos::Softs::FSolverParticles::X ( const int32  index)
inline

◆ X() [2/2]

const FSolverVec3 & Chaos::Softs::FSolverParticles::X ( const int32  index) const
inline

The documentation for this class was generated from the following file: