00001 #include <string> 00002 #include "CPTensorConfParser.hpp" 00003 #include "CPTensorConfLexer.hpp" 00004 00005 class CPTensorConf{ 00006 public: 00007 void GetData(std::ifstream &instream); 00008 void GetData(std::string filename); 00009 void WriteData(std::ofstream &outstream); 00010 void WriteData(std::string filename); 00011 double scalefactor; 00012 bool normalize; 00013 bool writetensor; 00014 bool writeserialparallel; 00015 bool calcerr; 00016 CPTensorConf(std::string filename){GetData(filename);} 00017 CPTensorConf(){} 00018 };
1.5.8