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

#include <UniformGrid.h>

+ Inheritance diagram for Chaos::TUniformGrid< T, d >:

Public Member Functions

 TUniformGrid ()
 
 TUniformGrid (const TVector< T, d > &MinCorner, const TVector< T, d > &MaxCorner, const TVector< int32, d > &Cells, const uint32 GhostCells=0)
 
 ~TUniformGrid ()
 
TVector< int32, d > GetIndex (const int32 Index) const
 
TVector< T, d > Center (const int32 Index) const
 
TVector< int32, d > ClampIndex (const TVector< int32, d > &Index) const
 
TVector< T, d > Clamp (const TVector< T, d > &X) const
 
TVector< T, d > ClampMinusHalf (const TVector< T, d > &X) const
 
bool IsValid (const TVector< int32, d > &X) const
 
- Public Member Functions inherited from Chaos::TUniformGridBase< T, d >
void Serialize (FArchive &Ar)
 
TVector< T, d > Location (const TVector< int32, d > &Cell) const
 
TVector< T, d > Location (const Pair< int32, TVector< int32, 3 > > &Face) const
 
void Reset ()
 
TVector< int32, d > CellUnsafe (const TVector< T, d > &X) const
 
TVector< int32, d > Cell (const TVector< T, d > &X) const
 
TVector< int32, d > Face (const TVector< T, d > &X, const int32 Component) const
 
TVector< T, d > DomainSize () const
 
int32 GetNumCells () const
 
int32 GetNumNodes () const
 
TVector< T, d > Node (const TVector< int32, d > &Index) const
 
TVector< T, d > Node (const int32 FlatIndex) const
 
bool InteriorNode (const TVector< int32, d > &Index) const
 
int32 FlatIndex (const TVector< int32, 2 > &MIndex, const bool NodeIndex=false) const
 
int32 FlatIndex (const TVector< int32, 3 > &MIndex, const bool NodeIndex=false) const
 
void FlatToMultiIndex (const int32 FlatIndex, TVector< int32, 2 > &MIndex, const bool NodeIndex=false) const
 
void FlatToMultiIndex (const int32 FlatIndex, TVector< int32, 3 > &MIndex, const bool NodeIndex=false) const
 
template<class T_SCALAR >
T_SCALAR LinearlyInterpolate (const TArrayND< T_SCALAR, d > &ScalarN, const TVector< T, d > &X) const
 
LinearlyInterpolateComponent (const TArrayND< T, d > &ScalarNComponent, const TVector< T, d > &X, const int32 Axis) const
 
TVector< T, d > LinearlyInterpolate (const TArrayFaceND< T, d > &ScalarN, const TVector< T, d > &X) const
 
TVector< T, d > LinearlyInterpolate (const TArrayFaceND< T, d > &ScalarN, const TVector< T, d > &X, const Pair< int32, TVector< int32, d > > Index) const
 
const TVector< int32, d > & Counts () const
 
const TVector< int32, d > NodeCounts () const
 
const TVector< T, d > & Dx () const
 
const TVector< T, d > & MinCorner () const
 
const TVector< T, d > & MaxCorner () const
 

Additional Inherited Members

- Protected Member Functions inherited from Chaos::TUniformGridBase< T, d >
 TUniformGridBase ()
 
 TUniformGridBase (const TVector< T, d > &MinCorner, const TVector< T, d > &MaxCorner, const TVector< int32, d > &Cells, const uint32 GhostCells)
 
 ~TUniformGridBase ()
 
- Protected Attributes inherited from Chaos::TUniformGridBase< T, d >
TVector< T, d > MMinCorner
 
TVector< T, d > MMaxCorner
 
TVector< int32, d > MCells
 
TVector< T, d > MDx
 

Constructor & Destructor Documentation

◆ TUniformGrid() [1/2]

template<class T , int d>
Chaos::TUniformGrid< T, d >::TUniformGrid ( )
inline

◆ TUniformGrid() [2/2]

template<class T , int d>
Chaos::TUniformGrid< T, d >::TUniformGrid ( const TVector< T, d > &  MinCorner,
const TVector< T, d > &  MaxCorner,
const TVector< int32, d > &  Cells,
const uint32  GhostCells = 0 
)
inline

◆ ~TUniformGrid()

template<class T , int d>
Chaos::TUniformGrid< T, d >::~TUniformGrid ( )
inline

Member Function Documentation

◆ Center()

template<class T , int d>
TVector< T, d > Chaos::TUniformGrid< T, d >::Center ( const int32  Index) const
inline

◆ Clamp()

template<class T , int d>
TVector< T, d > Chaos::TUniformGrid< T, d >::Clamp ( const TVector< T, d > &  X) const

◆ ClampIndex()

template<class T , int d>
TVector< int32, d > Chaos::TUniformGrid< T, d >::ClampIndex ( const TVector< int32, d > &  Index) const
inline

◆ ClampMinusHalf()

template<class T , int d>
TVector< T, d > Chaos::TUniformGrid< T, d >::ClampMinusHalf ( const TVector< T, d > &  X) const

◆ GetIndex()

template<class T , int d>
TVector< int32, d > Chaos::TUniformGrid< T, d >::GetIndex ( const int32  Index) const

◆ IsValid()

template<class T , int d>
bool Chaos::TUniformGrid< T, d >::IsValid ( const TVector< int32, d > &  X) const
inline

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