ABLATE Source Documentation  0.12.34
ablate::domain::ConstFieldAccessor< DataType, isLocal > Class Template Reference

#include <constFieldAccessor.hpp>

Public Member Functions

 ConstFieldAccessor (Vec dataVectorIn, const Field &dataFieldIn, DM dm=nullptr)
 
const FieldGetField () 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
 

Detailed Description

template<class DataType, bool isLocal = true>
class ablate::domain::ConstFieldAccessor< DataType, isLocal >

Class responsible for computing const point data locations for dm plex integration

Constructor & Destructor Documentation

◆ ConstFieldAccessor()

template<class DataType , bool isLocal = true>
ablate::domain::ConstFieldAccessor< DataType, isLocal >::ConstFieldAccessor ( const ConstFieldAccessor< DataType, isLocal > &  )
delete

prevent copy of this class


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