node/Vertex3d.cpp

00001 #include "DAPTA.hpp"
00002 
00003 namespace DAPTA { // Define namespace DAPTA
00004 
00005 /* void Vertex3d::initMPIType() {
00006          double xyz[3];
00007          int    globalID;
00008    struct _MPI_STRUCT mpi_struct;      
00009    
00010    MPI_Datatype type[2] = { MPI_DOUBLE, MPI_INT };
00011    int blocklen[2] = { 3, 1 };
00012    MPI_Aint disp[2] = { (&mpi_struct.xyz - &mpi_struct), (&mpi_struct.globalID - &mpi_struct) };
00013    
00014    MPI_Type_create_struct(2, blocklen, disp, type, &_MPI_DATATYPE);
00015    MPI_Type_commit(&_MPI_DATATYPE);
00016 } */
00017 
00018 } // namespace DAPTA

Generated on Tue May 29 17:13:48 2007 for DAPTA by  doxygen 1.5.1