mattijs
feb11e4a39
BUG: UIPstream: sending zero sized string accesses beyond buffer. Fixes #676
2017-12-20 15:28:20 +00:00
Mark Olesen
8f444b7164
ENH: support change of Pstream buffer format via flag modifier
...
- allows changing the format of the sending OPstream at an arbitrary
point in the transmission. The information is passed through the
buffer and the receiving IPstream changes its format accordingly.
This allows a temporary toggling of ASCII/BINARY mid-stream.
2017-11-13 09:21:11 +01:00
Mark Olesen
c4de3e0a4d
ENH: enhancements to behaviour of token
...
- improved memory alignment reduces overhead for Int32 compilation
- added move/swap semantics
- made the type() readonly in favour of setVariant() to allow change
of variant within a particular storage representation.
Eg, STRING -> VERBATIMSTRING.
2017-11-05 20:05:28 +01:00
Mark Olesen
507486194e
ENH: improved parallel transfer of strings
...
- support send/receive with embedded '\0' characters
2017-11-04 15:51:52 +01:00
Mark Olesen
af5f857618
ENH: add reset() method to IStringStream
...
- for convenience and symmetry with OStringStream
STYLE: void return value for stream rewind() methods
- this makes it easier to design bidirectional streams
2017-10-23 07:50:12 +02:00
Mark Olesen
c847d343af
BUG: OPstream send of tokenType may swallow characters ( fixes #563 )
...
- the tokenType was being send via write(char), which includes
isspace filtering. If the tokenType enumeration coincides
with a whitespace character, it would be suppressed.
Now add character directly to the buffer.
STYLE: some additional minor private methods to help refactoring
- readStringFromBuffer, writeStringToBuffer for common string
operation.
2017-08-10 08:17:19 +02:00
Henry Weller
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
Henry Weller
72300041df
Removed use of the deprecated "register" keyword
...
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340.html
2015-06-30 10:26:44 +01:00
mattijs
d7cadf4937
Merge remote-tracking branch 'origin/master' into feature/procAgglom
...
Conflicts:
src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H
src/OpenFOAM/db/IOstreams/Pstreams/UPstream.C
src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H
src/OpenFOAM/db/IOstreams/Pstreams/combineGatherScatter.C
src/OpenFOAM/db/IOstreams/Pstreams/gatherScatter.C
src/OpenFOAM/db/IOstreams/Pstreams/gatherScatterList.C
src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.C
src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H
src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/GAMGInterface/GAMGInterface.H
src/finiteVolume/fvMesh/fvMesh.H
2013-04-23 09:41:15 +01:00
mattijs
cb74377832
BUG: Ostream: streaming of unexpanded variables over processorstreams
2013-03-05 15:58:32 +00:00
mattijs
4e6c258321
ENH: communicators: more communicators through
2013-02-08 17:13:00 +00:00
mattijs
ea8d290191
ENH: communicators: initial version - extended Pstream API
2013-02-04 10:17:37 +00:00
mattijs
f9577a429f
BUG: UOPstream: transferring VERBATIMSTRING
2012-05-15 14:04:06 +01:00
Henry
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
mattijs
537a916dff
ENH: Pstream: expose tag
2011-07-29 18:12:48 +01:00
mattijs
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
andy
eaef8d482b
STYLE: Updated 1991 start copyright year to 2004
2011-01-14 16:08:00 +00:00
andy
099cc39e2e
Revert "STYLE: 2011 copyright date."
...
This reverts commit b18f6cc1ce
.
2011-01-05 18:24:29 +00:00
graham
b18f6cc1ce
STYLE: 2011 copyright date.
2011-01-05 11:14:26 +00:00
graham
d79237597e
STYLE: Fixing code style requirements for all src.
2010-07-28 13:31:46 +01:00
Mark Olesen
c508b2fe17
STYLE: consistent capitalization of Private/Protected Member Functions in comments
2010-03-30 11:33:42 +02:00
Mark Olesen
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
mattijs
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
mattijs
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
mattijs
46f1df810c
unallocated Pstream
2009-10-26 09:59:07 +00:00