9e84deeb09
STYLE: Updated template code
2016-06-17 14:11:59 +01:00
b9313ef2fe
ENH: Consistency updates after Foundation merge and code tidying
2016-04-25 16:46:56 +01:00
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01:00
88bd912374
Pstream: optimisation of data exchange
...
Contributed by Mattijs Janssens.
1. Any non-blocking data exchange needs to know in advance the sizes to
receive so it can size the buffer. For "halo" exchanges this is not
a problem since the sizes are known in advance but or all other data
exchanges these sizes need to be exchanged in advance.
This was previously done by having all processors send the sizes of data to
send to the master and send it back such that all processors
- had the same information
- all could work out who was sending what to where and hence what needed to
be received.
This is now changed such that we only send the size to the
destination processor (instead of to all as previously). This means
that
- the list of sizes to send is now of size nProcs v.s. nProcs*nProcs before
- we cut out the route to the master and back by using a native MPI
call
It causes a small change to the API of exchange and PstreamBuffers -
they now return the sizes of the local buffers only (a labelList) and
not the sizes of the buffers on all processors (labelListList)
2. Reversing the order of the way in which the sending is done when
scattering information from the master processor to the other
processors. This is done in a tree like fashion. Each processor has a
set of processors to receive from/ send to. When receiving it will
first receive from the processors with the least amount of
sub-processors (i.e. the ones which return first). When sending it
needs to do the opposite: start sending to the processor with the
most amount of sub-tree since this is the critical path.
2016-04-02 18:32:11 +01:00
3963149c05
src/OpenFOAM: Moved function documentation comments into .H files and removed duplicates
2016-02-29 21:21:41 +00:00
95d146ecdf
Rationalized the indentation of C-preprocessor directives
2016-02-29 15:42:03 +00:00
9e3ce4ec7f
Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus into feature-shared-file
...
Conflicts:
applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C
applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/pointFile/pointFile.C
applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C
applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3FoamUpdateInfo.C
applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/vtkPV4Foam/vtkPV4FoamUpdateInfo.C
applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C
applications/utilities/postProcessing/velocityField/Co/Co.C
applications/utilities/postProcessing/velocityField/Pe/Pe.C
applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C
applications/utilities/preProcessing/changeDictionary/changeDictionary.C
applications/utilities/preProcessing/setFields/setFields.C
applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C
applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C
applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C
applications/utilities/surface/surfaceRedistributePar/surfaceRedistributePar.C
src/OpenFOAM/db/IOobject/IOobject.C
src/OpenFOAM/db/IOobjects/CompactIOList/CompactIOList.C
src/OpenFOAM/db/IOobjects/IOField/IOField.C
src/OpenFOAM/db/IOobjects/IOList/IOList.C
src/OpenFOAM/db/IOobjects/IOPtrList/IOPtrList.C
src/OpenFOAM/db/IOobjects/IOdictionary/IOdictionary.C
src/OpenFOAM/db/Time/findInstance.C
src/OpenFOAM/db/regIOobject/regIOobject.C
src/OpenFOAM/db/regIOobject/regIOobjectI.H
src/OpenFOAM/db/regIOobject/regIOobjectRead.C
src/OpenFOAM/db/regIOobject/regIOobjectWrite.C
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/IOmapDistribute.C
src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.C
src/dynamicMesh/fvMeshDistribute/IOmapDistributePolyMesh.C
src/dynamicMesh/motionSolver/componentDisplacement/componentDisplacementMotionSolver.C
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.C
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/refinementHistory.C
src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.C
src/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.C
src/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.C
src/edgeMesh/extendedEdgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C
src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C
src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C
src/lagrangian/basic/Cloud/CloudIO.C
src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C
src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C
src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C
src/postProcessing/functionObjects/field/readFields/readFieldsTemplates.C
src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C
src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C
2016-01-25 16:29:04 +00:00
e424059208
ENH: glboal file handling: initial commit
...
Moved file path handling to regIOobject and made it type specific so
now every object can have its own rules. Examples:
- faceZones are now processor local (and don't search up anymore)
- timeStampMaster is now no longer hardcoded inside IOdictionary
(e.g. uniformDimensionedFields support it as well)
- the distributedTriSurfaceMesh is properly processor-local; no need
for fileModificationChecking manipulation.
2016-01-25 13:03:15 +00:00
56fa7c0906
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
2016-01-10 22:41:16 +00:00
8864223aed
ENH: copyright: make consistent with OpenFOAM-history
2015-12-19 14:22:30 +00:00
eafd5a3850
ENH: Updated Info, Warning and Error messages
2015-12-08 11:15:39 +00:00
3f55f752fc
GIT: Resolve conflict with upstream merge from Foundation
2015-12-07 17:07:20 +00:00
7f95c64b16
ENH: containers: small changes to containers
2015-11-11 12:44:26 +00:00
dc43311e62
src/OpenFOAM: Update ...IOErrorIn -> ...IOErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 21:13:04 +00:00
a4ab3f61db
src/OpenFOAM: Update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-08 12:23:52 +00:00
0e7a8770b4
BUG: IOdictionary: account for communicator in OPstream call
2013-05-07 10:58:04 +01:00
c4a4611b0f
Merge remote-tracking branch 'origin/feature/procAgglom'
...
Conflicts:
src/OpenFOAM/meshes/lduMesh/lduMesh.H
2013-05-02 14:44:59 +01:00
ea8d290191
ENH: communicators: initial version - extended Pstream API
2013-02-04 10:17:37 +00:00
8e968f5647
STYLE: debug: move debug declaration into Foam namespace
2012-12-11 09:33:20 +00:00
fbe6b52af1
BUG: IOdictionary: transfer dictionaries as ascii
2012-08-01 16:42:24 +01:00
1945632da9
ENH: dictionary: allow transfer of empty dictionary
2012-07-30 15:57:15 +01:00
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
cb8bf9f7f0
ENH: codeStream: make it work with master-only reading (timeStampMaster)
2011-08-09 10:53:23 +01:00
537a916dff
ENH: Pstream: expose tag
2011-07-29 18:12:48 +01:00
3ba236115d
Added support to writing dictionaries to log on read and re-read.
2011-07-20 14:27:02 +01:00
1bc5ac6d7d
Updated date
2011-03-31 11:59:42 +01:00
b8839a7ba6
Intel icpc compiler: made a few random changes to keep the Intel compiler happy
2011-03-31 11:56:33 +01:00
24eafa1b82
ENH: dictionary: make virtual for on-the-fly c++
2011-02-16 17:21:22 +00:00
60ae18adcc
Updated header
2011-02-16 11:37:57 +00:00
5f0cc97a9b
GeometricField: now constructed using an IOdictionary rather than a raw dictionary
2011-02-16 11:35:52 +00:00
eaef8d482b
STYLE: Updated 1991 start copyright year to 2004
2011-01-14 16:08:00 +00:00
099cc39e2e
Revert "STYLE: 2011 copyright date."
...
This reverts commit b18f6cc1ce .
2011-01-05 18:24:29 +00:00
b18f6cc1ce
STYLE: 2011 copyright date.
2011-01-05 11:14:26 +00:00
935be5df35
ENH: IOdictionary : transfer note() in masterOnly mode.
2010-12-14 10:20:47 +00:00
4da55e853f
BUG: master-only-reading : did not transfer headerClassName
2010-12-10 13:14:45 +00:00
1a4190e766
ENH: IOdictionary : tree distribution of master dictionary
2010-12-03 11:19:52 +00:00
3bbc464d05
BUG: dictionary + runtime modifiable : dictionary transfer through binary stream does not work.
2010-11-22 15:16:31 +00:00
b5dddd8980
ENH: parallel runTimeModifiable - master only
2010-11-16 12:41:44 +00:00
ed67d5be34
STYLE: renamed IOFieldField to CompactIOField to be consistent with CompactIOList.
2010-10-01 17:33:07 +01:00
c21cbfb330
ENH: use CompactIOList for binary face and cell IOList.
2010-09-30 20:58:38 +01:00
d79237597e
STYLE: Fixing code style requirements for all src.
2010-07-28 13:31:46 +01:00
8fb546d34d
ENH: IOField,IOList : added name printing in error message.
2010-06-11 10:59:53 +01:00
3cf1f5eacd
ENH: IOdictionary : print name in warning message about READ_IF_MODIFIED
2010-06-11 10:01:53 +01:00
f1ee573aa0
Merge branch 'inotify'
...
Conflicts:
TODO
2010-06-02 10:10:52 +01:00
c51a2b0f63
ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction
2010-06-02 09:48:07 +01:00
9c69403419
ENH. Adding IOFieldField and IOListList class and type definitions.
2010-05-27 16:08:45 +01:00
b6f3bd4c23
STYLE: follow coding guide recommendation for '//- Destructor'
2010-04-12 11:55:52 +02:00
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
37c4f2f375
remove empty 'Description' from various .C files
2009-12-04 14:11:33 +01:00
3b43ab0cfc
added new construct with size
2009-05-22 13:58:15 +01:00