ENH: use thisDb reference when referencing/creating finite-area fields

COMP: remove faMesh::operator()() in favour of mesh() or thisDb() instead

- makes the purpose and usage clearer
This commit is contained in:
Mark Olesen
2023-11-24 20:06:59 +01:00
parent c9e4b0edac
commit 149cd7042f
49 changed files with 261 additions and 268 deletions

View File

@ -119,7 +119,7 @@ public:
NVDweight(is),
edgeFlux_
(
mesh().objectRegistry::lookupObject<edgeScalarField>
mesh.thisDb().lookupObject<edgeScalarField>
(
word(is)
)

View File

@ -106,7 +106,7 @@ public:
upwindEdgeInterpolation<Type>
(
mesh,
mesh().objectRegistry::lookupObject<edgeScalarField>
mesh.thisDb().lookupObject<edgeScalarField>
(
word(is)
)

View File

@ -97,7 +97,7 @@ public:
edgeInterpolationScheme<Type>(mesh),
faceFlux_
(
mesh().objectRegistry::lookupObject<edgeScalarField>
mesh.thisDb().lookupObject<edgeScalarField>
(
word(is)
)