/[escript]/branches/split/escriptcore/src/TestDomain.h
ViewVC logotype

Diff of /branches/split/escriptcore/src/TestDomain.h

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

revision 4772 by jfenwick, Thu Mar 6 05:22:12 2014 UTC revision 4773 by jfenwick, Wed Mar 19 06:19:42 2014 UTC
# Line 61  class TestDomain : public AbstractDomain Line 61  class TestDomain : public AbstractDomain
61    ~TestDomain();    ~TestDomain();
62    
63    /**    /**
64      \brief get the communicator for this domain.
65      Returns 0 on non-MPI builds
66      Routine must be implemented by the DomainAdapter
67      */
68      ESCRIPT_DLL_API
69      virtual
70    #ifdef ESYS_MPI
71      MPI_Comm
72    #else
73      unsigned int
74    #endif
75      getMPIComm() const
76      {
77    #ifdef ESYS_MPI
78        return MPI_COMM_WORLD;
79    #else
80        return -1;
81    #endif    
82      }  
83      
84      /**
85       \brief       \brief
86       Returns true if the given integer is a valid function space type       Returns true if the given integer is a valid function space type
87       for this domain.       for this domain.

Legend:
Removed from v.4772  
changed lines
  Added in v.4773

  ViewVC Help
Powered by ViewVC 1.1.26