mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -119,7 +119,7 @@ public:
|
||||
NVDweight(is),
|
||||
edgeFlux_
|
||||
(
|
||||
mesh().objectRegistry::lookupObject<edgeScalarField>
|
||||
mesh.thisDb().lookupObject<edgeScalarField>
|
||||
(
|
||||
word(is)
|
||||
)
|
||||
|
||||
@ -106,7 +106,7 @@ public:
|
||||
upwindEdgeInterpolation<Type>
|
||||
(
|
||||
mesh,
|
||||
mesh().objectRegistry::lookupObject<edgeScalarField>
|
||||
mesh.thisDb().lookupObject<edgeScalarField>
|
||||
(
|
||||
word(is)
|
||||
)
|
||||
|
||||
@ -97,7 +97,7 @@ public:
|
||||
edgeInterpolationScheme<Type>(mesh),
|
||||
faceFlux_
|
||||
(
|
||||
mesh().objectRegistry::lookupObject<edgeScalarField>
|
||||
mesh.thisDb().lookupObject<edgeScalarField>
|
||||
(
|
||||
word(is)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user