#include <constFieldAccessor.hpp>
Public Member Functions | |
ConstFieldAccessor (Vec dataVectorIn, const Field &dataFieldIn, DM dm=nullptr) | |
const Field & | GetField () const |
provide easy access to the field information | |
template<class IndexType > | |
const DataType * | operator[] (IndexType point) const |
Inline function to compute the memory address at this point. | |
template<class IndexType > | |
PetscErrorCode | operator() (IndexType point, const DataType **field) const |
Inline function to compute the memory address at this point using PETSC style return error. | |
ConstFieldAccessor (const ConstFieldAccessor &)=delete | |
Class responsible for computing const point data locations for dm plex integration
|
delete |
prevent copy of this class