IBAMR  IBAMR version 0.20.
Static Public Member Functions | List of all members
IBTK::CartGridPointwiseFunction< Value, Data, Function >::Values Struct Reference

Static Public Member Functions

static int tensor_depth (TensorStorage storage)
 Validate tensor storage and return its required depth. More...
 
static void validate_depth (int depth, TensorStorage storage)
 Check the allocated depth against the callback value type. More...
 
static Value make_value (int depth)
 Allocate scratch space for one collocated value. More...
 
static std::pair< int, int > tensor_index (int component, TensorStorage storage)
 Map a stored tensor component to matrix coordinates. More...
 
template<typename Result >
static void assign_result (Value &value, Result &&result, int depth)
 Check the result shape and evaluate it before scattering. More...
 
template<typename Index >
static void load (Value &value, const Data &data, const Index &index, int depth, TensorStorage storage)
 Gather the collocated value from patch-data depths. More...
 
template<typename Index >
static void store (const Value &value, Data &data, const Index &index, int depth, TensorStorage storage)
 Scatter the evaluated value to patch-data depths. More...
 

Member Function Documentation

◆ tensor_depth()

template<typename Value , typename Data , typename Function >
int IBTK::CartGridPointwiseFunction< Value, Data, Function >::Values::tensor_depth ( TensorStorage  storage)
static

◆ validate_depth()

template<typename Value , typename Data , typename Function >
void IBTK::CartGridPointwiseFunction< Value, Data, Function >::Values::validate_depth ( int  depth,
TensorStorage  storage 
)
static

◆ make_value()

template<typename Value , typename Data , typename Function >
Value IBTK::CartGridPointwiseFunction< Value, Data, Function >::Values::make_value ( int  depth)
static

◆ tensor_index()

template<typename Value , typename Data , typename Function >
std::pair< int, int > IBTK::CartGridPointwiseFunction< Value, Data, Function >::Values::tensor_index ( int  component,
TensorStorage  storage 
)
static

◆ assign_result()

template<typename Value , typename Data , typename Function >
template<typename Result >
void IBTK::CartGridPointwiseFunction< Value, Data, Function >::Values::assign_result ( Value &  value,
Result &&  result,
int  depth 
)
static

◆ load()

template<typename Value , typename Data , typename Function >
template<typename Index >
void IBTK::CartGridPointwiseFunction< Value, Data, Function >::Values::load ( Value &  value,
const Data &  data,
const Index &  index,
int  depth,
TensorStorage  storage 
)
static

◆ store()

template<typename Value , typename Data , typename Function >
template<typename Index >
void IBTK::CartGridPointwiseFunction< Value, Data, Function >::Values::store ( const Value &  value,
Data &  data,
const Index &  index,
int  depth,
TensorStorage  storage 
)
static

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