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

Namespace that implements array extrapolation. More...

Functions

template<class T >
unsigned extrapolate_if (array2< T > &array, std::function< bool(int i, int j, int thread_index)> func, int count=1)
 Extrapolate array where it passes the test function. More...
 
template<class T >
unsigned extrapolate (array2< 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_extrapolator2::extrapolate ( array2< 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_extrapolator2::extrapolate_if ( array2< T > &  array,
std::function< bool(int i, int j, 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.