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