reduction of std::pow calls; stronger usage of
Cartesian- and CylinderCoordinate objects
This commit is contained in:
@@ -11,6 +11,8 @@ class DriftVelocity {
|
||||
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_;
|
||||
|
||||
Reference in New Issue
Block a user