mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Identity: Added conversion to label
This commit is contained in:
@ -76,6 +76,12 @@ public:
|
||||
return dual();
|
||||
}
|
||||
|
||||
//- Return 1 for label
|
||||
inline operator label() const
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
//- Return 1 for scalar
|
||||
inline operator scalar() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user