mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Identity: Added conversion to label
This commit is contained in:
@ -76,6 +76,12 @@ public:
|
|||||||
return dual();
|
return dual();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//- Return 1 for label
|
||||||
|
inline operator label() const
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
//- Return 1 for scalar
|
//- Return 1 for scalar
|
||||||
inline operator scalar() const
|
inline operator scalar() const
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user