reduction of calls to atan2, sin and cos
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user