ABLATE Source Documentation  0.12.34
tracer.hpp
1 #ifndef ABLATELIBRARY_TRACER_HPP
2 #define ABLATELIBRARY_TRACER_HPP
3 
4 #include "process.hpp"
5 
6 namespace ablate::particles::processes {
7 
8 class Tracer : public Process {
9  private:
10  const std::string eulerianVelocityField;
11 
12  public:
17  explicit Tracer(const std::string& eulerianVelocityField = {});
18 
26  void ComputeRHS(PetscReal time, accessors::SwarmAccessor& swarmAccessor, accessors::RhsAccessor& rhsAccessor, accessors::EulerianAccessor& eulerianAccessor) override;
27 };
28 
29 } // namespace ablate::particles::processes
30 #endif // ABLATELIBRARY_TRACER_HPP
Definition: eulerianAccessor.hpp:16
Definition: rhsAccessor.hpp:14
Definition: swarmAccessor.hpp:14
Definition: process.hpp:10
Definition: tracer.hpp:8
void ComputeRHS(PetscReal time, accessors::SwarmAccessor &swarmAccessor, accessors::RhsAccessor &rhsAccessor, accessors::EulerianAccessor &eulerianAccessor) override
Definition: tracer.cpp:6
Tracer(const std::string &eulerianVelocityField={})
Definition: tracer.cpp:4