Changeset 424 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/src/globalParameters.cc
- Timestamp:
- Sep 30, 2013, 5:03:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/src/globalParameters.cc
r257 r424 54 54 ifs >> frequency_ >> integrationStep_ >> nstepsMax_ >> nsc_; 55 55 } 56 57 void globalParameters::InputRep(UAPNode* root) 58 { 59 UAPNode* node = root->addChild("global"); 60 string txt = ""; 61 txt = mixedTools::doubleToString(frequency_); 62 node->addChild("ref_freq")->addAttribute("design",txt); 63 64 node->addChild("comment")->addAttribute("text","data specific to Parmela"); 65 txt = mixedTools::doubleToString(integrationStep_); 66 node->addChild("integrationStep")->addAttribute("value",txt); 67 txt = mixedTools::intToString(nstepsMax_); 68 node->addChild("nSteps")->addAttribute("value",txt); 69 txt = mixedTools::intToString(nsc_); 70 node->addChild("nsc")->addAttribute("value",txt); 71 }
Note: See TracChangeset
for help on using the changeset viewer.