UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::TPerCellBuoyancy< T, d > Class Template Reference

#include <PerCellBuoyancy.h>

Public Member Functions

 TPerCellBuoyancy (const TArrayND< T, 3 > &Density, const TVector< T, d > &Direction=TVector< T, d >(0, 1, 0), const T Magnitude=(T) 9.8)
 
virtual ~TPerCellBuoyancy ()
 
void Apply (const TUniformGrid< T, d > &Grid, TArrayFaceND< T, d > &Velocity, const T Dt, const Pair< int32, TVector< int32, d > > Index) const
 

Constructor & Destructor Documentation

◆ TPerCellBuoyancy()

template<class T , int d>
Chaos::TPerCellBuoyancy< T, d >::TPerCellBuoyancy ( const TArrayND< T, 3 > &  Density,
const TVector< T, d > &  Direction = TVector<T, d>(0, 1, 0),
const T  Magnitude = (T)9.8 
)
inline

◆ ~TPerCellBuoyancy()

template<class T , int d>
virtual Chaos::TPerCellBuoyancy< T, d >::~TPerCellBuoyancy ( )
inlinevirtual

Member Function Documentation

◆ Apply()

template<class T , int d>
void Chaos::TPerCellBuoyancy< T, d >::Apply ( const TUniformGrid< T, d > &  Grid,
TArrayFaceND< T, d > &  Velocity,
const T  Dt,
const Pair< int32, TVector< int32, d > >  Index 
) const
inline

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