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:
Mark Olesen
2022-08-23 15:58:32 +02:00
parent 867b5e9060
commit ea51c2c0e4
22 changed files with 114 additions and 160 deletions

View File

@ -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)
{