mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: transform: support for unsigned int
This commit is contained in:
@ -172,6 +172,20 @@ inline label invTransform(const tensor&, const label i)
|
||||
}
|
||||
|
||||
|
||||
//- No-op rotational transform of an unsigned integer
|
||||
inline unsigned int transform(const tensor&, const unsigned int i)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
//- No-op inverse rotational transform of an unsigned integer
|
||||
inline unsigned int invTransform(const tensor&, const unsigned int i)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
//- No-op rotational transform of a scalar
|
||||
inline scalar transform(const tensor&, const scalar s)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user