/[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 2741 by jfenwick, Tue Nov 3 00:44:00 2009 UTC revision 2742 by jfenwick, Thu Nov 12 06:03:37 2009 UTC
# Line 30  EscriptParams::EscriptParams() Line 30  EscriptParams::EscriptParams()
30     too_many_nodes=15000;     too_many_nodes=15000;
31     resolve_collective=0;     resolve_collective=0;
32     print_lazy_tree=0;     print_lazy_tree=0;
33    
34    #ifdef USE_LAPACK
35       lapack_support=1;
36    #else
37       lapack_support=0;
38    #endif
39              // These #defs are for performance testing only              // These #defs are for performance testing only
40              // in general, I don't want people tweaking the              // in general, I don't want people tweaking the
41              // default value using compiler options              // default value using compiler options
# Line 77  EscriptParams::getInt(const char* name, Line 83  EscriptParams::getInt(const char* name,
83     {     {
84      return print_lazy_tree;      return print_lazy_tree;
85     }     }
86       if (!strcmp(name,"LAPACK_SUPPORT"))
87       {
88        return lapack_support;
89       }
90     return sentinel;     return sentinel;
91  }  }
92        
# Line 107  EscriptParams::setInt(const char* name, Line 117  EscriptParams::setInt(const char* name,
117     {     {
118      print_lazy_tree=value;      print_lazy_tree=value;
119     }     }
120       // Note: there is no way to modifiy the LAPACK_SUPPORT variable atm
121  }  }
122    
123  void  void

Legend:
Removed from v.2741  
changed lines
  Added in v.2742

  ViewVC Help
Powered by ViewVC 1.1.26