OpenVDB  8.1.1
Public Types | Public Member Functions | Public Attributes | List of all members
ISStaggeredLaplacianOp< BoolTreeType, BoundaryOp > Struct Template Reference

Functor for use with LeafManager::foreach() to populate a sparse Laplacian matrix. More...

#include <PoissonSolver.h>

Public Types

using VIdxTreeT = typename BoolTreeType::template ValueConverter< VIndex >::Type
 
using VIdxLeafT = typename VIdxTreeT::LeafNodeType
 
using ValueT = LaplacianMatrix::ValueType
 
using VectorT = typename math::pcg::Vector< ValueT >
 

Public Member Functions

 ISStaggeredLaplacianOp (LaplacianMatrix &m, const VIdxTreeT &idx, const BoolTreeType &mask, const BoundaryOp &op, VectorT &src)
 
void operator() (const VIdxLeafT &idxLeaf, size_t) const
 

Public Attributes

LaplacianMatrixlaplacian
 
const VIdxTreeTidxTree
 
const BoolTreeType * interiorMask
 
const BoundaryOp boundaryOp
 
VectorTsource
 

Detailed Description

template<typename BoolTreeType, typename BoundaryOp>
struct openvdb::v8_1::tools::poisson::internal::ISStaggeredLaplacianOp< BoolTreeType, BoundaryOp >

Functor for use with LeafManager::foreach() to populate a sparse Laplacian matrix.

Member Typedef Documentation

using VectorT = typename math::pcg::Vector<ValueT>
using VIdxLeafT = typename VIdxTreeT::LeafNodeType
using VIdxTreeT = typename BoolTreeType::template ValueConverter<VIndex>::Type

Constructor & Destructor Documentation

ISStaggeredLaplacianOp ( LaplacianMatrix m,
const VIdxTreeT idx,
const BoolTreeType &  mask,
const BoundaryOp &  op,
VectorT src 
)
inline

Member Function Documentation

void operator() ( const VIdxLeafT idxLeaf,
size_t   
) const
inline

Member Data Documentation

const BoundaryOp boundaryOp
const VIdxTreeT* idxTree
const BoolTreeType* interiorMask
LaplacianMatrix* laplacian
VectorT* source

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