/[escript]/branches/domexper/weipa/src/EscriptDataset.cpp
ViewVC logotype

Diff of /branches/domexper/weipa/src/EscriptDataset.cpp

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

revision 3246 by jfenwick, Mon Oct 4 01:46:30 2010 UTC revision 3247 by caltinay, Wed Oct 6 05:53:06 2010 UTC
# Line 20  Line 20 
20    
21  #ifndef VISIT_PLUGIN  #ifndef VISIT_PLUGIN
22  #include <escript/Data.h>  #include <escript/Data.h>
23    #include <dudley/CppAdapter/MeshAdapter.h>
24  #include <finley/CppAdapter/MeshAdapter.h>  #include <finley/CppAdapter/MeshAdapter.h>
25  #endif  #endif
26    
# Line 97  bool EscriptDataset::setDomain(const esc Line 98  bool EscriptDataset::setDomain(const esc
98          mpiRank = domain->getMPIRank();          mpiRank = domain->getMPIRank();
99          mpiSize = domain->getMPISize();          mpiSize = domain->getMPISize();
100  #endif  #endif
101          if (dynamic_cast<const finley::MeshAdapter*>(domain)) {          // FinleyDomain can handle both finley and dudley
102            if (dynamic_cast<const finley::MeshAdapter*>(domain)
103                    || dynamic_cast<const dudley::MeshAdapter*>(domain)) {
104              DomainChunk_ptr dom(new FinleyDomain());              DomainChunk_ptr dom(new FinleyDomain());
105              if (dom->initFromEscript(domain)) {              if (dom->initFromEscript(domain)) {
106                  if (mpiSize > 1)                  if (mpiSize > 1)

Legend:
Removed from v.3246  
changed lines
  Added in v.3247

  ViewVC Help
Powered by ViewVC 1.1.26