/[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 3905 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3906 by jfenwick, Thu Jun 7 11:00:50 2012 UTC
# Line 56  EscriptParams::EscriptParams() Line 56  EscriptParams::EscriptParams()
56     resolve_collective=0;     resolve_collective=0;
57  #endif  #endif
58    
59    
60    #ifdef ESYS_MPI
61        amg_disabled=true;
62    #else
63        amg_disabled=false;
64    #endif
65    
66    
67    
68  }  }
69    
70  int  int
# Line 101  EscriptParams::getInt(const char* name, Line 110  EscriptParams::getInt(const char* name,
110     {     {
111      return lazy_verbose;      return lazy_verbose;
112     }     }
113       if (!strcmp(name, "DISABLE_AMG"))
114       {
115        return amg_disabled;
116       }
117     return sentinel;     return sentinel;
118  }  }
119        
# Line 163  EscriptParams::listEscriptParams() Line 176  EscriptParams::listEscriptParams()
176  //    l.append(make_tuple("TOO_MANY_NODES", too_many_nodes, "(TESTING ONLY) maximum number of nodes in a expression."));  //    l.append(make_tuple("TOO_MANY_NODES", too_many_nodes, "(TESTING ONLY) maximum number of nodes in a expression."));
177     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."));
178     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."));
179       l.append(make_tuple("DISABLE_AMG", amg_disabled, "{0,1} AMG is disabled."));
180     return l;     return l;
181  }  }
182    

Legend:
Removed from v.3905  
changed lines
  Added in v.3906

  ViewVC Help
Powered by ViewVC 1.1.26