aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/region.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2012-01-11 15:59:05 -0500
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:15:41 +0100
commit603b8b1ce46ccd507475ef04282fbe020d947521 (patch)
tree9bd480705a8344a0dbcca212e6024f3314788b01 /Carpet/CarpetLib/src/region.cc
parent0bda91d16190f43001aa3e0f34d3e84723731e7b (diff)
CarpetLib: Move template definitions to mpi_string.hh
Define templates in .hh file, instantiate them in .cc file.
Diffstat (limited to 'Carpet/CarpetLib/src/region.cc')
-rw-r--r--Carpet/CarpetLib/src/region.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/region.cc b/Carpet/CarpetLib/src/region.cc
index e1904d316..ea8572b1f 100644
--- a/Carpet/CarpetLib/src/region.cc
+++ b/Carpet/CarpetLib/src/region.cc
@@ -4,6 +4,7 @@
#include "bboxset.hh"
#include "defs.hh"
+#include "mpi_string.hh"
#include "region.hh"
using namespace std;
@@ -418,3 +419,14 @@ ostream & operator<< (ostream & os, sendrecv_pseudoregion_t const & srp)
{
return os << "(send:" << srp.send << ",recv:" << srp.recv << ")";
}
+
+
+
+namespace CarpetLib {
+
+ template
+ vector <sendrecv_pseudoregion_t>
+ alltoallv1 (MPI_Comm comm,
+ vector <vector <sendrecv_pseudoregion_t> > const & data);
+
+}