ABLATE Source Documentation  0.12.33
ablate::particles::Field Struct Reference

Public Member Functions

template<class IndexType >
IndexType operator[] (IndexType particle) const
 Inline function to compute offset.
 

Public Attributes

const std::string name
 The unique name of the particle field.
 
const PetscInt numberComponents
 The number of the components.
 
const std::vector< std::string > components
 The name of the components.
 
enum domain::FieldLocation location = domain::FieldLocation::AUX
 The field location (sol or aux)
 
const PetscDataType dataType
 The type of field.
 
const PetscInt offset = 0
 The offset in the local array, 0 for aux, computed for sol.
 
PetscInt dataSize = 0
 The size of the component for this data.
 

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