mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: collated: threaded writing accesses out-of-scope. Fixes #2257.
This commit is contained in:
committed by
Mark Olesen
parent
08e66a64e1
commit
227b3976ba
@ -208,9 +208,7 @@ constraints
|
||||
patches
|
||||
{
|
||||
//- Keep owner and neighbour on same processor for faces in patches
|
||||
// (only makes sense for cyclic patches. Not suitable for e.g.
|
||||
// cyclicAMI since these are not coupled on the patch level. Use
|
||||
// singleProcessorFaceSets for those)
|
||||
// (only makes sense for cyclic patches and cyclicAMI)
|
||||
type preservePatches;
|
||||
patches (".*");
|
||||
enabled false;
|
||||
@ -271,9 +269,7 @@ constraints
|
||||
// preserveFaceZones (heater solid1 solid3);
|
||||
|
||||
//- Keep owner and neighbour on same processor for faces in patches:
|
||||
// (makes sense only for cyclic patches. Not suitable for e.g. cyclicAMI
|
||||
// since these are not coupled on the patch level. Use
|
||||
// singleProcessorFaceSets for those)
|
||||
// (only makes sense for cyclic patches and cyclicAMI)
|
||||
//preservePatches (cyclic_half0 cyclic_half1);
|
||||
|
||||
//- Keep all of faceSet on a single processor. This puts all cells
|
||||
|
||||
@ -106,6 +106,10 @@ OptimisationSwitches
|
||||
|
||||
//- collated: thread buffer size for queued file writes.
|
||||
// If set to 0 or not sufficient for the file size, threading is not used.
|
||||
// A special setting is a negative value which assumes the buffer
|
||||
// (sized with magnitude of value) is large enough to hold all
|
||||
// outstanding writes so will not try to initialise the Pstream with
|
||||
// threading support.
|
||||
// Default: 1e9
|
||||
maxThreadFileBufferSize 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user