/[escript]/branches/diaplayground/ripley/src/Brick.cpp
ViewVC logotype

Diff of /branches/diaplayground/ripley/src/Brick.cpp

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

revision 4836 by caltinay, Mon Apr 7 05:51:55 2014 UTC revision 4851 by sshaw, Wed Apr 9 03:30:36 2014 UTC
# Line 63  Brick::Brick(int n0, int n1, int n2, dou Line 63  Brick::Brick(int n0, int n1, int n2, dou
63               const simap_t& tagnamestonums) :               const simap_t& tagnamestonums) :
64      RipleyDomain(3)      RipleyDomain(3)
65  {  {
66        if (n0 <= 0 || n1 <= 0 || n2 <= 0)
67            throw RipleyException("Number of elements in each spatial dimension "
68                    "must be positive");
69    
70      // ignore subdivision parameters for serial run      // ignore subdivision parameters for serial run
71      if (m_mpiInfo->size == 1) {      if (m_mpiInfo->size == 1) {
72          d0=1;          d0=1;

Legend:
Removed from v.4836  
changed lines
  Added in v.4851

  ViewVC Help
Powered by ViewVC 1.1.26