Commit Graph

90 Commits

Author SHA1 Message Date
d1fdcc2698 STYLE: minor code changes 2011-04-08 10:05:07 +01:00
79939b9e18 ENH: #codeStream: preserve across preprocessing
- new token: token::VERBATIMSTRING
- writing of this type in primitiveEntry
- disabling of all functionEntries in entry
2011-02-22 15:29:57 +00:00
cfa58e0819 ENH: codeStream: documentation 2011-02-21 11:25:13 +00:00
6d0c6483eb ENH: ISstream: have #{ #} delimiters for verbatim strings 2011-02-18 18:07:02 +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
85bae17943 STYLE: add formatting of NamedEnum template arguments 2010-12-17 14:36:13 +01:00
10e98317ae BUG: UOPstream writing dictionary with keywords quoted. 2010-11-22 16:39:19 +00:00
69f4da06f6 Merge branch 'olesenm' 2010-10-14 12:37:59 +01:00
95219e6f76 COMP: specialization Foam::NamedEnum templates within namespace Foam
- otherwise gets flagged as an error by clang
2010-10-12 12:17:13 +02:00
ae2815e75b ENH: Added INew construct from dictionary 2010-10-11 17:28:11 +01:00
7ec390d23d Merge branch 'olesenm' 2010-10-04 11:08:48 +01:00
e4aca56a21 ENH: ISstream : read float (without .) larger than allowable integer 2010-09-29 12:07:31 +01:00
e564a9810f ENH: add IO support for PackedList, PackedBoolList 2010-08-09 17:27:09 +02:00
d79237597e STYLE: Fixing code style requirements for all src. 2010-07-28 13:31:46 +01:00
63262b80d3 BUG: processorCyclic was using incorrect message tag.
Both sides need to use the same tag so it is now calculated as
    nProcs*(max(myProcNo,neighProcNo) + min(myProcNo,neighProcNo)
which is
- commutative
- does not interfere with normal message tag 1
2010-05-21 16:19:51 +01:00
7f6740a9eb Merge commit 'origin/master' into splitCyclic 2010-04-30 15:10:10 +01:00
ad1f99ff71 BUG: IOstream::compressionEnum() used Switch::switchType incorrectly
- use enhanced Switch constructor and the new valid() method to
  avoid potential pitfalls of using Switch::switchType directly.
2010-04-16 15:43:28 +02:00
cff2580336 Merge branch 'master' into splitCyclic
Conflicts:
	applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H
	src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
	src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.C
	src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
	src/meshTools/sets/topoSets/faceSet.C
	src/parallel/decompose/decompositionMethods/decompositionMethod/decompositionMethod.C
2010-04-16 12:09:34 +01:00
b6f3bd4c23 STYLE: follow coding guide recommendation for '//- Destructor' 2010-04-12 11:55:52 +02:00
c508b2fe17 STYLE: consistent capitalization of Private/Protected Member Functions in comments 2010-03-30 11:33:42 +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
89c7523c72 Merge branch 'master' into splitCyclic
Conflicts:
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
	src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C
	src/parallel/decompose/scotchDecomp/scotchDecomp.C
	src/parallel/parMetisDecomp/parMetisDecomp.C
	src/sampling/sampledSurface/isoSurface/isoSurfaceCell.C
2010-03-25 13:54:12 +00:00
49fb39e8f3 Merge commit 'origin/master' into splitCyclic
Conflicts:
	applications/utilities/parallelProcessing/decomposePar/decomposePar.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.H
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/fields/pointPatchFields/constraint/processor/processorPointPatchField.C
	src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H
	src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
2010-03-09 21:28:53 +00:00
e4b4bf2bf0 ENH: UIPstream when reaches eof deletes the underlying buffer.
Only in PstreamBuffers mode. This makes sure that data from other processors
already handled gets deleted.
2010-03-04 15:03:10 +00:00
5ece14ec6f BUG: finite volume did not work before. 2010-03-03 10:12:35 +00:00
e794f35c86 ENH: moved read index out of UIPstream into PstreamBuffers
So now we can read multiple times (using UIPstream) from PstreamBuffers
    PstreamBuffers pBufs
    UIPstream str1(procI, pBufs);
    str1>> ..
    UIPstream str2(procI, pBufs);
    str1>> ..
2010-02-19 12:49:48 +00:00
cdb8880cb3 Code clean-up 2010-01-15 15:57:44 +00:00
2792624996 Expose STL std streams in a consistent manner for serial streams.
Previously Fstreams had stdStream() as a public member and the other
streams had stream() as a protected member.

All serial streams now have public method stdStream() and the stream()
method has been eliminated. This is not only more consistent, but also
avoids confusion (for the programmer, not the compiler) with the
ITstream::stream() method.
2009-12-21 10:24:35 +01:00
a5217d7be3 Merge commit 'bundle/home' into olesenm 2009-12-16 08:08:23 +01:00
2c815e5b84 Improve ITstream constructors.
- Use (const UList<token>&) instead of (const List<token>&)

- Add (const Xfer< List<token> >&) constructor.
2009-12-15 12:59:50 +01:00
3f0b6ec830 Fix minor bug in ITstream
- The lineNumber of token::undefinedToken was being changed instead of
  just the lineNumber of the return token.

- use List::first() and List::last() methods as well
2009-12-15 09:27:27 +01:00
7c8316df70 Add peekBack() method to Istream. 2009-12-12 15:35:10 +01:00
bf2865a087 Add missing low-level peek() to ISstream. 2009-12-11 17:31:15 +01:00
497ec32ed8 Add missing low-level peek() to ISstream. 2009-12-11 17:31:15 +01:00
a19e488f1e consistency update - writeCompression in system/controlDict
allow switch/bool values for writeCompression in system/controlDict

- eg,
    writeCompression false; or writeCompression uncompressed;
    writeCompression true;  or writeCompression compressed;

improves consistency with other controlDict parameters
2009-12-07 13:40:32 +01:00
37c4f2f375 remove empty 'Description' from various .C files 2009-12-04 14:11:33 +01:00
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +01:00
de97ff23b9 calculate sizes also when running non-parallel 2009-11-22 17:42:52 +00:00
7b917838ce sizes not returned 2009-11-21 10:50:55 +00:00
7e200aecbf optional no wait on Pstream::exchange 2009-10-27 13:09:08 +00:00
2352682afb use Pstream::exchange 2009-10-26 17:36:33 +00:00
46f1df810c unallocated Pstream 2009-10-26 09:59:07 +00:00
cba2e9905c removed whitespace 2009-10-02 17:17:00 +01:00
7798c4feb9 write access to tag 2009-10-01 21:21:10 +01:00
0b51b764d6 bundle outstanding send and receive requests 2009-08-25 23:03:33 +01:00
20f534d383 Merge branch 'olesenm' 2009-08-13 10:00:36 +01:00
dd5021470e ISstream micro-optimizations 2009-08-12 16:49:34 +02:00
601f2831ec Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-11 23:08:34 +01:00