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

#include <UniformGrid.h>

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

Public Member Functions

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
 

Protected Member Functions

 TUniformGridBase ()
 
 TUniformGridBase (const TVector< T, d > &MinCorner, const TVector< T, d > &MaxCorner, const TVector< int32, d > &Cells, const uint32 GhostCells)
 
 ~TUniformGridBase ()
 

Protected Attributes

TVector< T, d > MMinCorner
 
TVector< T, d > MMaxCorner
 
TVector< int32, d > MCells
 
TVector< T, d > MDx
 

Constructor & Destructor Documentation

◆ TUniformGridBase() [1/2]

template<class T , int d>
Chaos::TUniformGridBase< T, d >::TUniformGridBase ( )
inlineprotected

◆ TUniformGridBase() [2/2]

template<class T , int d>
Chaos::TUniformGridBase< T, d >::TUniformGridBase ( const TVector< T, d > &  MinCorner,
const TVector< T, d > &  MaxCorner,
const TVector< int32, d > &  Cells,
const uint32  GhostCells 
)
inlineprotected

◆ ~TUniformGridBase()

template<class T , int d>
Chaos::TUniformGridBase< T, d >::~TUniformGridBase ( )
inlineprotected

Member Function Documentation

◆ Cell()

template<class T , int d>
TVector< int32, d > Chaos::TUniformGridBase< T, d >::Cell ( const TVector< T, d > &  X) const
inline

◆ CellUnsafe()

template<class T , int d>
TVector< int32, d > Chaos::TUniformGridBase< T, d >::CellUnsafe ( const TVector< T, d > &  X) const
inline

◆ Counts()

template<class T , int d>
const TVector< int32, d > & Chaos::TUniformGridBase< T, d >::Counts ( ) const
inline

◆ DomainSize()

template<class T , int d>
TVector< T, d > Chaos::TUniformGridBase< T, d >::DomainSize ( ) const
inline

◆ Dx()

template<class T , int d>
const TVector< T, d > & Chaos::TUniformGridBase< T, d >::Dx ( ) const
inline

◆ Face()

template<class T , int d>
TVector< int32, d > Chaos::TUniformGridBase< T, d >::Face ( const TVector< T, d > &  X,
const int32  Component 
) const
inline

◆ FlatIndex() [1/2]

template<class T , int d>
int32 Chaos::TUniformGridBase< T, d >::FlatIndex ( const TVector< int32, 2 > &  MIndex,
const bool  NodeIndex = false 
) const
inline

◆ FlatIndex() [2/2]

template<class T , int d>
int32 Chaos::TUniformGridBase< T, d >::FlatIndex ( const TVector< int32, 3 > &  MIndex,
const bool  NodeIndex = false 
) const
inline

◆ FlatToMultiIndex() [1/2]

template<class T , int d>
void Chaos::TUniformGridBase< T, d >::FlatToMultiIndex ( const int32  FlatIndex,
TVector< int32, 2 > &  MIndex,
const bool  NodeIndex = false 
) const
inline

◆ FlatToMultiIndex() [2/2]

template<class T , int d>
void Chaos::TUniformGridBase< T, d >::FlatToMultiIndex ( const int32  FlatIndex,
TVector< int32, 3 > &  MIndex,
const bool  NodeIndex = false 
) const
inline

◆ GetNumCells()

template<class T , int d>
int32 Chaos::TUniformGridBase< T, d >::GetNumCells ( ) const
inline

◆ GetNumNodes()

template<class T , int d>
int32 Chaos::TUniformGridBase< T, d >::GetNumNodes ( ) const
inline

◆ InteriorNode()

template<class T , int d>
bool Chaos::TUniformGridBase< T, d >::InteriorNode ( const TVector< int32, d > &  Index) const
inline

◆ LinearlyInterpolate() [1/3]

template<class T , int d>
TVector< T, d > Chaos::TUniformGridBase< T, d >::LinearlyInterpolate ( const TArrayFaceND< T, d > &  ScalarN,
const TVector< T, d > &  X 
) const

◆ LinearlyInterpolate() [2/3]

template<class T , int d>
TVector< T, d > Chaos::TUniformGridBase< T, d >::LinearlyInterpolate ( const TArrayFaceND< T, d > &  ScalarN,
const TVector< T, d > &  X,
const Pair< int32, TVector< int32, d > >  Index 
) const

◆ LinearlyInterpolate() [3/3]

template<class T , int d>
template<class T_SCALAR >
T_SCALAR Chaos::TUniformGridBase< T, d >::LinearlyInterpolate ( const TArrayND< T_SCALAR, d > &  ScalarN,
const TVector< T, d > &  X 
) const

◆ LinearlyInterpolateComponent()

template<class T , int d>
T Chaos::TUniformGridBase< T, d >::LinearlyInterpolateComponent ( const TArrayND< T, d > &  ScalarNComponent,
const TVector< T, d > &  X,
const int32  Axis 
) const

◆ Location() [1/2]

template<class T , int d>
TVector< T, d > Chaos::TUniformGridBase< T, d >::Location ( const Pair< int32, TVector< int32, 3 > > &  Face) const
inline

◆ Location() [2/2]

template<class T , int d>
TVector< T, d > Chaos::TUniformGridBase< T, d >::Location ( const TVector< int32, d > &  Cell) const
inline

◆ MaxCorner()

template<class T , int d>
const TVector< T, d > & Chaos::TUniformGridBase< T, d >::MaxCorner ( ) const
inline

◆ MinCorner()

template<class T , int d>
const TVector< T, d > & Chaos::TUniformGridBase< T, d >::MinCorner ( ) const
inline

◆ Node() [1/2]

template<class T , int d>
TVector< T, d > Chaos::TUniformGridBase< T, d >::Node ( const int32  FlatIndex) const
inline

◆ Node() [2/2]

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

◆ NodeCounts()

template<class T , int d>
const TVector< int32, d > Chaos::TUniformGridBase< T, d >::NodeCounts ( ) const
inline

◆ Reset()

template<class T , int d>
void Chaos::TUniformGridBase< T, d >::Reset ( )
inline

◆ Serialize()

template<class T , int d>
void Chaos::TUniformGridBase< T, d >::Serialize ( FArchive Ar)
inline

Member Data Documentation

◆ MCells

template<class T , int d>
TVector<int32, d> Chaos::TUniformGridBase< T, d >::MCells
protected

◆ MDx

template<class T , int d>
TVector<T, d> Chaos::TUniformGridBase< T, d >::MDx
protected

◆ MMaxCorner

template<class T , int d>
TVector<T, d> Chaos::TUniformGridBase< T, d >::MMaxCorner
protected

◆ MMinCorner

template<class T , int d>
TVector<T, d> Chaos::TUniformGridBase< T, d >::MMinCorner
protected

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