/[escript]/trunk/finley/src/FinleyDomain.cpp
ViewVC logotype

Diff of /trunk/finley/src/FinleyDomain.cpp

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

revision 6316 by caltinay, Fri Jun 17 04:00:35 2016 UTC revision 6317 by caltinay, Thu Jun 23 04:48:29 2016 UTC
# Line 1791  int FinleyDomain::getSystemMatrixTypeId( Line 1791  int FinleyDomain::getSystemMatrixTypeId(
1791    
1792      // the configuration of finley should have taken care that we have either      // the configuration of finley should have taken care that we have either
1793      // paso or trilinos so here's how we prioritize      // paso or trilinos so here's how we prioritize
1794    #if defined(ESYS_HAVE_PASO) && defined(ESYS_HAVE_TRILINOS)
1795        // we have Paso & Trilinos so use Trilinos for parallel direct solvers
1796        if (package == escript::SO_DEFAULT &&
1797                sb.getSolverMethod() == escript::SO_METHOD_DIRECT &&
1798                getMPISize() > 1) {
1799            package = escript::SO_PACKAGE_TRILINOS;
1800        }
1801    #endif
1802  #ifdef ESYS_HAVE_PASO  #ifdef ESYS_HAVE_PASO
1803      if (package == escript::SO_DEFAULT)      if (package == escript::SO_DEFAULT)
1804          package = escript::SO_PACKAGE_PASO;          package = escript::SO_PACKAGE_PASO;

Legend:
Removed from v.6316  
changed lines
  Added in v.6317

  ViewVC Help
Powered by ViewVC 1.1.26