polyMesh-from-components constructor ignores passed-in write flag (instead sets AUTO_WRITE)
E.g. tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation
writes 1/coarse:topAir/polyMesh even though the polyMesh/fvMesh/singleCellFvMesh gets constructed with NO_WRITE.
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
Activity
- Mattijs Janssens assigned to @Mattijs
assigned to @Mattijs
- Mattijs Janssens mentioned in commit 29fa20f32a550bd30881f988876be323b1f96ff2
mentioned in commit 29fa20f32a550bd30881f988876be323b1f96ff2
- Mattijs Janssens mentioned in commit 7bae9c9f98ab254172a294db7dc2ba3133c30ec7
mentioned in commit 7bae9c9f98ab254172a294db7dc2ba3133c30ec7
- Maintainer
- found a few more places, but there are some like the polyMeshAdder than still need examining
- Mark OLESEN mentioned in commit 574a105107659fa1313645172799bd7e1aaafc00
mentioned in commit 574a105107659fa1313645172799bd7e1aaafc00
- Maintainer
Couldn't manage to find all the callers (or any callers) using eclipse or qtcreator, so I used a brute-force detection via the compiler. Eg,
--- a/src/OpenFOAM/meshes/polyMesh/polyMesh.H +++ b/src/OpenFOAM/meshes/polyMesh/polyMesh.H @@ -334,3 +334,3 @@ public: const bool syncPar = true - ); + ) FOAM_DEPRECATED(mej); @@ -345,3 +345,3 @@ public: const bool syncPar = true - ); + ) FOAM_DEPRECATED(mej); --- a/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.H +++ b/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.H @@ -99,3 +99,3 @@ public: const bool syncPar = true - ); + ) FOAM_DEPRECATED(mej); @@ -110,3 +110,3 @@ public: const bool syncPar = true - ); + ) FOAM_DEPRECATED(mej); --- a/src/dynamicFvMesh/dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.H +++ b/src/dynamicFvMesh/dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.H @@ -89,3 +89,3 @@ public: const bool syncPar = true - ); + ) FOAM_DEPRECATED(mej); --- a/src/dynamicFvMesh/staticFvMesh/staticFvMesh.H +++ b/src/dynamicFvMesh/staticFvMesh/staticFvMesh.H @@ -82,3 +82,3 @@ public: const bool syncPar = true - ); + ) FOAM_DEPRECATED(mej); --- a/src/finiteVolume/fvMesh/fvMesh.H +++ b/src/finiteVolume/fvMesh/fvMesh.H @@ -199,3 +199,3 @@ public: const bool syncPar = true - ); + ) FOAM_DEPRECATED(mej); @@ -210,3 +210,3 @@ public: const bool syncPar = true - ); + ) FOAM_DEPRECATED(mej);
And then removed them again after finding the occurrences. @andy
Edited by Mark OLESEN - Mark OLESEN mentioned in commit c57a1af6ec4a46958caa28b43adfa574f1e6414f
mentioned in commit c57a1af6ec4a46958caa28b43adfa574f1e6414f
- Mark OLESEN mentioned in commit 5a176dccd967bf3f00741ce2096d8e204021999f
mentioned in commit 5a176dccd967bf3f00741ce2096d8e204021999f
- Maintainer
assuming resolved considering the commits above.
please reopen the ticket if the issue persists.
- Kutalmış Berçin closed
closed