File vector2d.cxx

Functions

const Vector2D operator*(const BoutReal lhs, const Vector2D &rhs)
const Vector2D operator*(const Field2D &lhs, const Vector2D &rhs)
const Vector3D operator*(const Field3D &lhs, const Vector2D &rhs)
const Field2D abs(const Vector2D &v, const std::string &region = "RGN_ALL")

Absolute value (Modulus) of given vector v

|v| = sqrt( v dot v )