Legend:
- Unmodified
- Added
- Removed
-
doprava/CMakeLists.txt
r195 r208 7 7 8 8 ## Save all needed libraries in variable BdmLibs 9 #SET(BdmLibs bdm itpp_debug)10 SET(BdmLibs bdm itpp)11 12 9 IF(WIN32) 13 SET( BdmLibs ${BdmLibs}libacml_dll)10 SET(AddLib libacml_dll) 14 11 ENDIF(WIN32) 15 12 … … 18 15 add_executable (k1 k1.cpp) 19 16 # Link the executable to the Hello library. 20 target_link_libraries (k1 ${BdmLibs}) 17 target_link_libraries (k1 debug itpp_debug) 18 target_link_libraries (k1 optimized itpp) 19 target_link_libraries (k1 bdm ${AddLib}) -
doprava/k1.cpp
r196 r208 57 57 58 58 L.init(); // <<==== allocate memory for results 59 60 59 // Priprava poli pro simulaci 61 60 vec ut(RVut.count()); … … 84 83 L.step(); 85 84 } 86 87 85 L.finalize(); 88 L.itsave("k1.it"); 89 86 L.itsave("k1.it"); 90 87 return 0; 91 88 } -
doprava/model.h
r196 r208 26 26 27 27 xk ( 0 ) = 0.2* x0(1) - 0.1* x0(2)+ u0(0); // vycucane z prstu 28 xk ( 1 ) = x0( 28 xk ( 1 ) = x0(0); 29 29 xk ( 2 ) = x0(1); 30 30 xk ( 3 ) = x0(2);