aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetSlab/src/GetHyperslab.cc
diff options
context:
space:
mode:
authorThomas Radke <tradke@aei.mpg.de>2005-08-15 15:00:00 +0000
committerThomas Radke <tradke@aei.mpg.de>2005-08-15 15:00:00 +0000
commit0d6194e6ac9ce964993414d18335727b8631b8b8 (patch)
tree3f28fb7697589ff69ab3ac283cd0064dba340522 /Carpet/CarpetSlab/src/GetHyperslab.cc
parent63206c9ff0548748a8710c2fedba19507e6e30a2 (diff)
Carpet*: generalise the comm_state class for collective buffer communications
CarpetLib's comm_state class (actually, it's still just a struct) has been extended to handle collective buffer communications for all possible C datatypes at the same time. This makes it unnecessary for the higher-level communication routines to loop over each individual datatype separately. darcs-hash:20050815150023-776a0-dddc1aca7ccaebae872f9f451b2c3595cd951fed.gz
Diffstat (limited to 'Carpet/CarpetSlab/src/GetHyperslab.cc')
-rw-r--r--Carpet/CarpetSlab/src/GetHyperslab.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetSlab/src/GetHyperslab.cc b/Carpet/CarpetSlab/src/GetHyperslab.cc
index 4f6bb34a4..1c9e687cc 100644
--- a/Carpet/CarpetSlab/src/GetHyperslab.cc
+++ b/Carpet/CarpetSlab/src/GetHyperslab.cc
@@ -177,7 +177,7 @@ namespace CarpetSlab {
// Done with the temporary stuff
mydata = 0;
- for (comm_state state(gp.vartype); !state.done(); state.step()) {
+ for (comm_state state; !state.done(); state.step()) {
// Loop over all components, copying data from them
BEGIN_LOCAL_COMPONENT_LOOP (cgh, gp.grouptype) {