ABLATE Source Documentation  0.12.34
process.hpp
1 #ifndef ABLATELIBRARY_PARTICLE_PROCESS_HPP
2 #define ABLATELIBRARY_PARTICLE_PROCESS_HPP
3 
4 #include "particles/accessors/eulerianAccessor.hpp"
5 #include "particles/accessors/rhsAccessor.hpp"
6 #include "particles/accessors/swarmAccessor.hpp"
7 
8 namespace ablate::particles::processes {
9 
10 class Process {
11  public:
12  virtual ~Process() = default;
13 
19  virtual void ComputeRHS(PetscReal time, accessors::SwarmAccessor& swarmAccessor, accessors::RhsAccessor& rhsAccessor, accessors::EulerianAccessor& eulerianAccessor) = 0;
20 };
21 
22 } // namespace ablate::particles::processes
23 
24 #endif // ABLATELIBRARY_PARTICLE_PROCESS_HPP
Definition: eulerianAccessor.hpp:16
Definition: rhsAccessor.hpp:14
Definition: swarmAccessor.hpp:14
Definition: process.hpp:10
virtual void ComputeRHS(PetscReal time, accessors::SwarmAccessor &swarmAccessor, accessors::RhsAccessor &rhsAccessor, accessors::EulerianAccessor &eulerianAccessor)=0