mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: return orientedType, Switch directly instead of const reference
- noexcept on some Time methods ENH: pass through is_oriented() method for clearer coding - use logical and/or/xor instead of bitwise versions (clearer intent)
This commit is contained in:
@ -598,10 +598,10 @@ Foam::functionObjects::fieldValues::surfaceFieldValue::filterField
|
||||
if (debug)
|
||||
{
|
||||
Pout<< "field " << field.name() << " oriented: "
|
||||
<< field.oriented()() << endl;
|
||||
<< field.is_oriented() << endl;
|
||||
}
|
||||
|
||||
if (field.oriented()())
|
||||
if (field.is_oriented())
|
||||
{
|
||||
forAll(values, i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user