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
|
//- Construct null
|
||||||
inline CompactSpatialTensor();
|
inline CompactSpatialTensor();
|
||||||
|
|
||||||
inline explicit CompactSpatialTensor(const Foam::zero);
|
inline CompactSpatialTensor(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given MatrixSpace of the same rank
|
//- Construct given MatrixSpace of the same rank
|
||||||
inline CompactSpatialTensor
|
inline CompactSpatialTensor
|
||||||
|
|||||||
@ -71,7 +71,7 @@ public:
|
|||||||
//- Construct null
|
//- Construct null
|
||||||
inline CompactSpatialTensorT();
|
inline CompactSpatialTensorT();
|
||||||
|
|
||||||
inline explicit CompactSpatialTensorT(const Foam::zero);
|
inline CompactSpatialTensorT(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given MatrixSpace of the same rank
|
//- Construct given MatrixSpace of the same rank
|
||||||
inline CompactSpatialTensorT
|
inline CompactSpatialTensorT
|
||||||
|
|||||||
@ -87,7 +87,7 @@ public:
|
|||||||
inline SpatialTensor();
|
inline SpatialTensor();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialized to zero
|
||||||
inline explicit SpatialTensor(const Foam::zero);
|
inline SpatialTensor(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given MatrixSpace of the same rank
|
//- Construct given MatrixSpace of the same rank
|
||||||
inline SpatialTensor(const typename SpatialTensor::msType&);
|
inline SpatialTensor(const typename SpatialTensor::msType&);
|
||||||
|
|||||||
@ -92,7 +92,7 @@ public:
|
|||||||
inline SpatialVector();
|
inline SpatialVector();
|
||||||
|
|
||||||
//- Construct initialized to zero
|
//- Construct initialized to zero
|
||||||
inline explicit SpatialVector(const Foam::zero);
|
inline SpatialVector(const Foam::zero);
|
||||||
|
|
||||||
//- Construct given VectorSpace of the same rank
|
//- Construct given VectorSpace of the same rank
|
||||||
inline SpatialVector(const typename SpatialVector::vsType&);
|
inline SpatialVector(const typename SpatialVector::vsType&);
|
||||||
|
|||||||
Reference in New Issue
Block a user