Changeset 0bd47e for src/comm/mpi/datatype.cpp
- Timestamp:
- Apr 9, 2013, 11:44:26 AM (13 years ago)
- Children:
- bd61b5c
- Parents:
- e85cfd
- File:
-
- 1 edited
-
src/comm/mpi/datatype.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/comm/mpi/datatype.cpp
re85cfd r0bd47e 15 15 * You should have received a copy of the GNU General Public License 16 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 /** 20 * @file datatype.cpp 21 * @author Julian Iseringhausen <isering@ins.uni-bonn.de> 22 * @date Tue Apr 09 12:19:58 2013 23 * 24 * @brief Helper class to handle MPI datatypes. 25 * 17 26 */ 18 27 … … 32 41 33 42 #include <cstring> 43 #include <sstream> 34 44 35 45 #include "comm/mpi/datatype.hpp" … … 192 202 } 193 203 } 204 205 std::string VMG::MPI::Datatype::ToString() const 206 { 207 std::stringstream str; 208 str << "VMG::MPI::Datatype {" << std::endl 209 << " Rank: " << _rank << std::endl 210 << " TagSend: " << _tag_send << std::endl 211 << " TagReceive: " << _tag_recv << std::endl 212 << " Sizes: " << _sizes << std::endl 213 << " Subsizes: " << _subsizes << std::endl 214 << " Starts: " << _starts << std::endl 215 << " AllocBuffer: " << _alloc_buffer << std::endl 216 << "}"; 217 218 return str.str(); 219 }
Note:
See TracChangeset
for help on using the changeset viewer.
