/[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 4738 by sshaw, Wed Mar 12 01:32:36 2014 UTC revision 4751 by sshaw, Fri Mar 14 06:49:06 2014 UTC
# Line 3383  void Brick::setAssembler(std::string typ Line 3383  void Brick::setAssembler(std::string typ
3383      if (type.compare("WaveAssembler") == 0) {      if (type.compare("WaveAssembler") == 0) {
3384          delete assembler;          delete assembler;
3385          assembler = new WaveAssembler3D(this, m_dx, m_NX, m_NE, m_NN, constants);          assembler = new WaveAssembler3D(this, m_dx, m_NX, m_NE, m_NN, constants);
3386        } else if (type.compare("LameAssembler") == 0) {
3387            delete assembler;
3388            assembler = new LameAssembler3D(this, m_dx, m_NX, m_NE, m_NN);
3389      } else { //else ifs would go before this for other types      } else { //else ifs would go before this for other types
3390          throw RipleyException("Ripley::Rectangle does not support the"          throw RipleyException("Ripley::Brick does not support the"
3391                                  " requested assembler");                                  " requested assembler");
3392      }      }
3393  }  }

Legend:
Removed from v.4738  
changed lines
  Added in v.4751

  ViewVC Help
Powered by ViewVC 1.1.26