mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP/ENH: Update assignments to constructors to compile with clang. Add tensor->triad conversion.
This commit is contained in:
@ -103,6 +103,9 @@ public:
|
||||
//- Construct given SymmTensor
|
||||
inline Tensor(const SymmTensor<Cmpt>&);
|
||||
|
||||
//- Construct given triad
|
||||
inline Tensor(const Vector<Vector<Cmpt> >&);
|
||||
|
||||
//- Construct given the three vector components
|
||||
inline Tensor
|
||||
(
|
||||
@ -165,6 +168,9 @@ public:
|
||||
|
||||
//- Assign to a SymmTensor
|
||||
inline void operator=(const SymmTensor<Cmpt>&);
|
||||
|
||||
//- Assign to a triad
|
||||
inline void operator=(const Vector<Vector<Cmpt> >&);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user