Commit f3ca3603 authored by Henry Weller's avatar Henry Weller
Browse files

Vector: Add constructor from Foam::zero

parent f2b111e2
......@@ -81,6 +81,9 @@ public:
//- Construct null
inline Vector();
//- Construct initialized to zero
inline explicit Vector(const Foam::zero);
//- Construct given VectorSpace of the same rank
template<class Cmpt2>
inline Vector(const VectorSpace<Vector<Cmpt2>, Cmpt2, 3>&);
......@@ -30,6 +30,13 @@ inline Foam::Vector<Cmpt>::Vector()
template<class Cmpt>
inline Foam::Vector<Cmpt>::Vector(const Foam::zero z)
template<class Cmpt>
template<class Cmpt2>
inline Foam::Vector<Cmpt>::Vector
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment