File vector3d.cxx

Defines

CROSS(v0, v1, v2)

Functions

const Vector3D cross(const Vector3D &lhs, const Vector3D &rhs)

Cross-product of two vectors.

const Vector3D cross(const Vector3D &lhs, const Vector2D &rhs)

Cross-product of two vectors.

const Vector3D cross(const Vector2D &lhs, const Vector3D &rhs)

Cross product.

const Vector2D cross(const Vector2D &lhs, const Vector2D &rhs)

Cross product.

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

Absolute magnitude (modulus) of a vector |v|

sqrt( v.x^2 + v.y^2 + v.z^2 )