diff options
author | Thomas Radke <tradke@aei.mpg.de> | 2005-04-11 10:09:00 +0000 |
---|---|---|
committer | Thomas Radke <tradke@aei.mpg.de> | 2005-04-11 10:09:00 +0000 |
commit | f97ebf3c50f2500ea7af97d4a52837f9cb26754f (patch) | |
tree | 2d4aec91bbcfc40a6715ab3e12f45f9bc4d5f86b /Carpet/CarpetLib/src/commstate.hh | |
parent | 2316fa8db64063bbb89b1553281cc896fe0f2584 (diff) |
CarpetLib: bugfix for collective buffers communication
Collective buffers were accidentally used (eg. by CarpetIOHDF5 or CarpetIOASCII)
even if CarpetLib::use_collective_communication_buffers was set to "no".
Now this parameter is evaluated in the comm_state constructor (together with
the variable type given) and the result stored in a flag
comm_state::uses__collective_communication_buffers. This flag is then used
later in comm_state::step() to decide about communication paths.
darcs-hash:20050411100916-776a0-aef034c4a23dac96f515cf831d15c8b7e2ce2f9d.gz
Diffstat (limited to 'Carpet/CarpetLib/src/commstate.hh')
-rw-r--r-- | Carpet/CarpetLib/src/commstate.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/commstate.hh b/Carpet/CarpetLib/src/commstate.hh index 1b8f9b05f..9c5239b21 100644 --- a/Carpet/CarpetLib/src/commstate.hh +++ b/Carpet/CarpetLib/src/commstate.hh @@ -48,7 +48,7 @@ private: // flag to indicate whether this comm state object is used for // collective (true) or single-component communications (false) - bool use_collective_communication_buffers; + bool uses_collective_communication_buffers; public: |