- Timestamp:
- 01/28/09 10:01:19 (16 years ago)
- Location:
- pmsm
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pmsm/CMakeLists.txt
r250 r257 30 30 EXEC (mpf_load pmsmsim) 31 31 32 #EXEC (sim pmsmsim config++)32 EXEC (sim pmsmsim) 33 33 EXEC (sim_var pmsmsim) 34 34 EXEC (sim_var_arx pmsmsim) -
pmsm/sim.cpp
r254 r257 11 11 */ 12 12 13 #include < config/uibuilder.h>13 #include <uibuilder.h> 14 14 #include <stat/libDS.h> 15 15 #include "pmsmDS.h" 16 16 17 #include <stat/loggers_ui.h> 18 17 19 using namespace bdm; 18 20 int main() { 19 UIFile F("sim. bdm");21 UIFile F("sim.txt"); 20 22 21 23 logger* L; 22 UIbuild(F.lookup("logger"), &L);24 UIbuild(F.lookup("logger"),L); 23 25 pmsmDS * DS; 24 UIbuild(F.lookup("system"), &DS);26 UIbuild(F.lookup("system"),DS); 25 27 int Ndat; 26 28 F.lookupValue("ndat",Ndat); … … 36 38 37 39 L->finalize(); 40 41 delete L; 42 delete DS; 38 43 return 0; 39 44 }