/[escript]/trunk/escriptcore/src/EscriptParams.cpp
ViewVC logotype

Diff of /trunk/escriptcore/src/EscriptParams.cpp

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

revision 5320 by sshaw, Tue Dec 9 01:39:46 2014 UTC revision 5322 by jfenwick, Tue Dec 9 03:53:35 2014 UTC
# Line 36  EscriptParams::EscriptParams() Line 36  EscriptParams::EscriptParams()
36     too_many_levels=70;     too_many_levels=70;
37     lazy_str_fmt=0;     lazy_str_fmt=0;
38     lazy_verbose=0;     lazy_verbose=0;
39    #ifdef USE_NETCDF
40       has_netcdf=1;
41    #else  
42       has_netcdf=0;
43    #endif  
44  #ifdef USE_LAPACK  #ifdef USE_LAPACK
45     lapack_support=1;     lapack_support=1;
46  #else  #else
# Line 158  EscriptParams::getInt(const char* name, Line 162  EscriptParams::getInt(const char* name,
162          #endif            #endif  
163          return temp_direct_solver;          return temp_direct_solver;
164     }     }
165        if (!strcmp(name, "NETCDF_BUILD"))
166        {
167           return has_netcdf;
168        }
169      if (!strcmp(name, "GMSH_SUPPORT"))      if (!strcmp(name, "GMSH_SUPPORT"))
170          return gmsh;          return gmsh;
171      if (!strcmp(name, "GMSH_MPI"))      if (!strcmp(name, "GMSH_MPI"))
# Line 220  EscriptParams::listEscriptParams() Line 228  EscriptParams::listEscriptParams()
228     l.append(make_tuple("LAZY_STR_FMT", lazy_str_fmt, "{0,1,2}(TESTING ONLY) change output format for lazy expressions."));     l.append(make_tuple("LAZY_STR_FMT", lazy_str_fmt, "{0,1,2}(TESTING ONLY) change output format for lazy expressions."));
229     l.append(make_tuple("LAZY_VERBOSE", lazy_verbose, "{0,1} Print a warning when expressions are resolved because they are too large."));     l.append(make_tuple("LAZY_VERBOSE", lazy_verbose, "{0,1} Print a warning when expressions are resolved because they are too large."));
230     l.append(make_tuple("DISABLE_AMG", amg_disabled, "{0,1} AMG is disabled."));     l.append(make_tuple("DISABLE_AMG", amg_disabled, "{0,1} AMG is disabled."));
231       l.append(make_tuple("NETCDF_BUILD", has_netcdf, "{0,1} Was this build made with netcdf libraries?"));
232     return l;     return l;
233  }  }
234    

Legend:
Removed from v.5320  
changed lines
  Added in v.5322

  ViewVC Help
Powered by ViewVC 1.1.26