Files
csendlinger d6578e540d reduction of std::pow calls; stronger usage of
Cartesian- and CylinderCoordinate objects
2025-06-02 11:09:57 +02:00

22 lines
531 B
C++
Executable File

#ifndef DRIFT_VELOCITY_H
#define DRIFT_VELOCITY_H
#include <memory>
#include "simulation/coordinates.h"
#include "simulation/vector_field.h"
class DriftVelocity {
public:
DriftVelocity(std::shared_ptr<VectorField> drift_velocity);
CartesianVector driftVelocity(const Coordinate& position);
CartesianVector driftVelocity(const CartesianCoordinate& cartCoord,
const CylinderCoordinate& cylCoord);
private:
std::shared_ptr<VectorField> drift_velocity_;
};
#endif /* DRIFT_VELOCITY_H */