#include <swarmAccessor.hpp>
Inheritance diagram for ablate::particles::accessors::SwarmAccessor:Public Member Functions | |
| SwarmAccessor (bool cachePointData, const DM &swarmDm, const std::map< std::string, Field > &fieldsMap, Vec solutionVec) | |
| PetscInt | GetNumberParticles () const |
| SwarmAccessor (const SwarmAccessor &)=delete | |
Public Member Functions inherited from ablate::particles::accessors::Accessor< const PetscReal > | |
| Accessor (bool cachePointData) | |
| Accessor (const Accessor &)=delete | |
| Data< const PetscReal > | operator[] (const std::string &fieldName) |
| Data< const PetscReal > | GetData (const std::string &fieldName) |
| void | RegisterCleanupFunction (const std::function< void()> &function) |
Protected Member Functions | |
| ConstPointData | CreateData (const std::string &fieldName) override |
class that will be passed to each processes to allow getting required data
|
delete |
prevent copy of this class
|
inlineoverrideprotectedvirtual |
Create point data from the solution field or swarmdm
| fieldName |
Implements ablate::particles::accessors::Accessor< const PetscReal >.
|
inline |
Returns the local size of the particles destination