mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
VectorSpaces, MatrixSpaces: Allow automatic conversion from zero
This commit is contained in:
@ -72,7 +72,7 @@ public:
|
||||
//- Construct null
|
||||
inline CompactSpatialTensor();
|
||||
|
||||
inline explicit CompactSpatialTensor(const Foam::zero);
|
||||
inline CompactSpatialTensor(const Foam::zero);
|
||||
|
||||
//- Construct given MatrixSpace of the same rank
|
||||
inline CompactSpatialTensor
|
||||
|
||||
@ -71,7 +71,7 @@ public:
|
||||
//- Construct null
|
||||
inline CompactSpatialTensorT();
|
||||
|
||||
inline explicit CompactSpatialTensorT(const Foam::zero);
|
||||
inline CompactSpatialTensorT(const Foam::zero);
|
||||
|
||||
//- Construct given MatrixSpace of the same rank
|
||||
inline CompactSpatialTensorT
|
||||
|
||||
@ -87,7 +87,7 @@ public:
|
||||
inline SpatialTensor();
|
||||
|
||||
//- Construct initialized to zero
|
||||
inline explicit SpatialTensor(const Foam::zero);
|
||||
inline SpatialTensor(const Foam::zero);
|
||||
|
||||
//- Construct given MatrixSpace of the same rank
|
||||
inline SpatialTensor(const typename SpatialTensor::msType&);
|
||||
|
||||
@ -92,7 +92,7 @@ public:
|
||||
inline SpatialVector();
|
||||
|
||||
//- Construct initialized to zero
|
||||
inline explicit SpatialVector(const Foam::zero);
|
||||
inline SpatialVector(const Foam::zero);
|
||||
|
||||
//- Construct given VectorSpace of the same rank
|
||||
inline SpatialVector(const typename SpatialVector::vsType&);
|
||||
|
||||
Reference in New Issue
Block a user