reduction of calls to atan2, sin and cos

This commit is contained in:
2025-06-04 10:43:39 +02:00
parent 2439f4fca9
commit 532bdf7979
17 changed files with 94 additions and 33 deletions
+3
View File
@@ -14,6 +14,9 @@ class DriftVelocity {
// returns the drift velocity value at the Coordinate position as a CartesianVector
CartesianVector driftVelocity(const Coordinate& position);
// overload using both the cartesian and cylinder coordinate version of the position
CartesianVector driftVelocity(const CartesianCoordinate& cartpos,
const CylinderCoordinate& cylpos);
private:
std::shared_ptr<VectorField> drift_velocity_;