#include <VelocityField.h>
|
| | FVelocityAndPressureField (const FCollectionPropertyConstFacade &PropertyCollection) |
| |
| | FVelocityAndPressureField (const FSolverParticlesRange &Particles, const FTriangleMesh *TriangleMesh, const FCollectionPropertyConstFacade &PropertyCollection, const TMap< FString, TConstArrayView< FRealSingle > > &Weightmaps, FSolverReal WorldScale) |
| |
| | FVelocityAndPressureField () |
| |
| | ~FVelocityAndPressureField () |
| |
| CHAOS_API void | UpdateForces (const FSolverParticles &InParticles, const FSolverReal) |
| |
| void | Apply (FSolverParticles &InParticles, const FSolverReal Dt, const int32 Index) const |
| |
| CHAOS_API void | Apply (FSolverParticlesRange &InParticles, const FSolverReal Dt) const |
| |
| CHAOS_API void | SetProperties (const FCollectionPropertyConstFacade &PropertyCollection, const TMap< FString, TConstArrayView< FRealSingle > > &Weightmaps, FSolverReal WorldScale, bool bEnableAerodynamics) |
| |
| CHAOS_API void | SetPropertiesAndWind (const FCollectionPropertyConstFacade &PropertyCollection, const TMap< FString, TConstArrayView< FRealSingle > > &Weightmaps, FSolverReal WorldScale, bool bEnableAerodynamics, const FSolverVec3 &SolverWind, const FRotation3 &LocalSpaceRotation=FRotation3::Identity, const FRotation3 &ReferenceSpaceRotation=FRotation3::Identity) |
| |
| CHAOS_API void | SetProperties (const FSolverVec2 &Drag, const FSolverVec2 &OuterDrag, const FSolverVec2 &Lift, const FSolverVec2 &OuterLift, const FSolverReal FluidDensity, const FSolverVec2 &Pressure=FSolverVec2::ZeroVector, FSolverReal WorldScale=1.f) |
| |
| bool | IsActive () const |
| |
| CHAOS_API void | SetGeometry (const FTriangleMesh *TriangleMesh, const FCollectionPropertyConstFacade &PropertyCollection, const TMap< FString, TConstArrayView< FRealSingle > > &Weightmaps, FSolverReal WorldScale) |
| |
| CHAOS_API void | SetGeometry (const FTriangleMesh *TriangleMesh, const TConstArrayView< FRealSingle > &DragMultipliers, const TConstArrayView< FRealSingle > &OuterDragMultipliers, const TConstArrayView< FRealSingle > &LiftMultipliers, const TConstArrayView< FRealSingle > &OuterLiftMultipliers, const TConstArrayView< FRealSingle > &PressureMultipliers) |
| |
| void | SetGeometry (const FTriangleMesh *TriangleMesh, const TConstArrayView< FRealSingle > &DragMultipliers, const TConstArrayView< FRealSingle > &LiftMultipliers, const TConstArrayView< FRealSingle > &PressureMultipliers=TConstArrayView< FRealSingle >()) |
| |
| void | SetVelocity (const FSolverVec3 &InVelocity) |
| |
| const FSolverVec3 & | GetVelocity () const |
| |
| TConstArrayView< TVector< int32, 3 > > | GetElements () const |
| |
| TConstArrayView< FSolverVec3 > | GetForces () const |
| |
| CHAOS_API FSolverVec3 | CalculateForce (const TConstArrayView< FSolverVec3 > &Xs, const TConstArrayView< FSolverVec3 > &Vs, int32 ElementIndex) const |
| |
| | UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (Drag, float) |
| |
| | UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (OuterDrag, float) |
| |
| | UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (Lift, float) |
| |
| | UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (OuterLift, float) |
| |
| | UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (FluidDensity, float) |
| |
| | UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (Pressure, float) |
| |
| | UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (TurbulenceRatio, float) |
| |
| | UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (WindVelocity, FVector3f) |
| |
| | UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME (WindVelocitySpace, int32) |
| |
◆ FVelocityAndPressureField() [1/3]
◆ FVelocityAndPressureField() [2/3]
◆ FVelocityAndPressureField() [3/3]
| Chaos::Softs::FVelocityAndPressureField::FVelocityAndPressureField |
( |
| ) |
|
|
inline |
◆ ~FVelocityAndPressureField()
| Chaos::Softs::FVelocityAndPressureField::~FVelocityAndPressureField |
( |
| ) |
|
|
inline |
◆ Apply() [1/2]
◆ Apply() [2/2]
◆ CalculateForce()
◆ GetElements()
◆ GetForces()
◆ GetVelocity()
| const FSolverVec3 & Chaos::Softs::FVelocityAndPressureField::GetVelocity |
( |
| ) |
const |
|
inline |
◆ IsActive()
| bool Chaos::Softs::FVelocityAndPressureField::IsActive |
( |
| ) |
const |
|
inline |
◆ IsEnabled()
◆ SetGeometry() [1/3]
◆ SetGeometry() [2/3]
◆ SetGeometry() [3/3]
◆ SetProperties() [1/2]
◆ SetProperties() [2/2]
◆ SetPropertiesAndWind()
◆ SetVelocity()
| void Chaos::Softs::FVelocityAndPressureField::SetVelocity |
( |
const FSolverVec3 & |
InVelocity | ) |
|
|
inline |
◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [1/9]
| Chaos::Softs::FVelocityAndPressureField::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME |
( |
Drag |
, |
|
|
float |
|
|
) |
| |
◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [2/9]
| Chaos::Softs::FVelocityAndPressureField::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME |
( |
FluidDensity |
, |
|
|
float |
|
|
) |
| |
◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [3/9]
| Chaos::Softs::FVelocityAndPressureField::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME |
( |
Lift |
, |
|
|
float |
|
|
) |
| |
◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [4/9]
| Chaos::Softs::FVelocityAndPressureField::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME |
( |
OuterDrag |
, |
|
|
float |
|
|
) |
| |
◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [5/9]
| Chaos::Softs::FVelocityAndPressureField::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME |
( |
OuterLift |
, |
|
|
float |
|
|
) |
| |
◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [6/9]
| Chaos::Softs::FVelocityAndPressureField::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME |
( |
Pressure |
, |
|
|
float |
|
|
) |
| |
◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [7/9]
| Chaos::Softs::FVelocityAndPressureField::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME |
( |
TurbulenceRatio |
, |
|
|
float |
|
|
) |
| |
◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [8/9]
| Chaos::Softs::FVelocityAndPressureField::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME |
( |
WindVelocity |
, |
|
|
FVector3f |
|
|
) |
| |
◆ UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME() [9/9]
| Chaos::Softs::FVelocityAndPressureField::UE_CHAOS_DECLARE_INDEXLESS_PROPERTYCOLLECTION_NAME |
( |
WindVelocitySpace |
, |
|
|
int32 |
|
|
) |
| |
◆ UpdateForces()
◆ DefaultDragCoefficient
◆ DefaultFluidDensity
◆ DefaultLiftCoefficient
◆ DefaultTurbulenceRatio
◆ DefaultWindVelocitySpace
◆ MaxCoefficient
◆ MinCoefficient
The documentation for this class was generated from the following files: