Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
a6a46d23
Commit
a6a46d23
authored
Jan 07, 2019
by
mattijs
Browse files
BUG: polyMesh: set AUTO_WRITE flag. See
#1147
.
parent
3a374bf3
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C
View file @
a6a46d23
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
Copyright (C) 2019 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -346,7 +346,9 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets)
(
this
->
polyMesh
::
name
(),
// region of undecomposed mesh
facesInstance
(),
processorDb
processorDb
,
IOobject
::
NO_READ
,
IOobject
::
AUTO_WRITE
),
std
::
move
(
facesInstancePoints
),
std
::
move
(
procFaces
),
...
...
@@ -361,7 +363,9 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets)
(
this
->
polyMesh
::
name
(),
// region of undecomposed mesh
facesInstance
(),
processorDb
processorDb
,
IOobject
::
NO_READ
,
IOobject
::
AUTO_WRITE
),
std
::
move
(
procPoints
),
std
::
move
(
procFaces
),
...
...
applications/utilities/parallelProcessing/redistributePar/loadOrCreateMesh.C
View file @
a6a46d23
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2017 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2015-201
7
OpenCFD Ltd.
\\/ M anipulation | Copyright (C) 2015-201
9
OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -166,6 +166,7 @@ Foam::autoPtr<Foam::fvMesh> Foam::loadOrCreateMesh
// Create dummy mesh. Only used on procs that don't have mesh.
IOobject
noReadIO
(
io
);
noReadIO
.
readOpt
()
=
IOobject
::
NO_READ
;
noReadIO
.
writeOpt
()
=
IOobject
::
AUTO_WRITE
;
fvMesh
dummyMesh
(
noReadIO
,
Zero
,
false
);
// Add patches
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment