Shiokaze Framework
A research-oriented fluid solver for computer graphics
array_extrapolator3 Namespace Reference

Namespace that implements array extrapolation. More...

Functions

template<class T >
unsigned extrapolate_if (array3< T > &array, std::function< bool(int i, int j, int k, int thread_index)> func, int count=1)
 Extrapolate array where it passes the test function. More...
 
template<class T >
unsigned extrapolate (array3< T > &array, int count=1)
 Extrapolate array where it passes the test function. More...
 

Detailed Description

Namespace that implements array extrapolation.

Function Documentation

◆ extrapolate()

template<class T >
unsigned array_extrapolator3::extrapolate ( array3< T > &  array,
int  count = 1 
)

Extrapolate array where it passes the test function.

Parameters
[in]arrayGrid to extrapolate.
[in]countExtrapolation count.

◆ extrapolate_if()

template<class T >
unsigned array_extrapolator3::extrapolate_if ( array3< T > &  array,
std::function< bool(int i, int j, int k, int thread_index)>  func,
int  count = 1 
)

Extrapolate array where it passes the test function.

Parameters
[in]arrayGrid to extrapolate.
[in]funcTest function.
[in]countExtrapolation count.