/[escript]/branches/schroedinger/escript/src/Data.h
ViewVC logotype

Diff of /branches/schroedinger/escript/src/Data.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 775 by ksteube, Mon Jul 10 04:00:08 2006 UTC revision 782 by bcumming, Tue Jul 18 00:47:47 2006 UTC
# Line 766  class Data { Line 766  class Data {
766    
767    ESCRIPT_DLL_API    ESCRIPT_DLL_API
768    void    void
769    #ifndef PASO_MPI
770    calc_mindp(int& SampleNo,    calc_mindp(int& SampleNo,
771               int& DataPointNo) const;               int& DataPointNo) const;
772    #else
773      calc_mindp(int& ProcNo,
774                            int& SampleNo,  
775                 int& DataPointNo) const;
776    #endif
777    /**    /**
778       \brief       \brief
779       Return the sign of each data point of this Data object.       Return the sign of each data point of this Data object.
# Line 1212  class Data { Line 1217  class Data {
1217                const FunctionSpace& fspace);                const FunctionSpace& fspace);
1218    
1219    
1220    #ifdef PASO_MPI
1221    /**    /**
1222       \brief       \brief
1223       print the data values to stdout. Used for debugging       print the data values to stdout. Used for debugging
1224    */    */
1225    void print();    ESCRIPT_DLL_API
1226      void
1227        print(void);
1228    
1229      /**
1230         \brief
1231         return the MPI rank number of the local data
1232             MPI_COMM_WORLD is assumed and the result of MPI_Comm_size()
1233             is returned
1234      */
1235      ESCRIPT_DLL_API
1236        int
1237        get_MPIRank(void) const;
1238    
1239      /**
1240         \brief
1241         return the MPI rank number of the local data
1242             MPI_COMM_WORLD is assumed and the result of MPI_Comm_rank()
1243             is returned
1244      */
1245      ESCRIPT_DLL_API
1246        int
1247        get_MPISize(void) const;
1248    
1249      /**
1250         \brief
1251         return the MPI rank number of the local data
1252             MPI_COMM_WORLD is assumed and returned.
1253      */
1254      ESCRIPT_DLL_API
1255        MPI_Comm
1256        get_MPIComm(void) const;
1257    #endif
1258        
1259   protected:   protected:
1260    
1261   private:   private:

Legend:
Removed from v.775  
changed lines
  Added in v.782

  ViewVC Help
Powered by ViewVC 1.1.26