mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Added labelSphericalTensor to handle labelI correctly.
This commit is contained in:
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Type
|
||||
labelTensor
|
||||
Foam::labelTensor
|
||||
|
||||
Description
|
||||
3D labelTensor obtained from generic Tensor
|
||||
@ -48,15 +48,6 @@ namespace Foam
|
||||
|
||||
typedef Tensor<label> labelTensor;
|
||||
|
||||
// Identity labelTensor
|
||||
static const labelTensor labelI
|
||||
(
|
||||
1, 0, 0,
|
||||
0, 1, 0,
|
||||
0, 0, 1
|
||||
);
|
||||
|
||||
|
||||
//- Specify data associated with labelTensor type is contiguous
|
||||
template<>
|
||||
inline bool contiguous<labelTensor>() {return true;}
|
||||
|
||||
Reference in New Issue
Block a user