Commit Graph

1287 Commits (4a4a4c1d54664121e686a4135275b9f24ee62f6b)

Author SHA1 Message Date
Houtan Bastani 4a4a4c1d54 clean up printing 2015-08-21 17:13:32 +02:00
Houtan Bastani 34e649afc7 add assertions at beginning of function call 2015-08-21 12:05:38 +02:00
Houtan Bastani fb51517ac7 fix comments in generated files 2015-08-21 12:00:47 +02:00
Houtan Bastani 1d4002a3c7 remove duplicate try/catch 2015-08-21 11:40:43 +02:00
Houtan Bastani c1d3b521ed update static & dynamic function comments 2015-08-20 15:28:32 +02:00
Houtan Bastani 5789d1f33b check function output argument sizes 2015-08-20 15:26:10 +02:00
Houtan Bastani 87ddbce87b write third derivatives of static and dynamic functions more efficiently 2015-08-20 14:41:15 +02:00
Houtan Bastani 3419772879 fix typo in 357afaab47ebe52cecdffb8a7f8b12c754f22470 2015-08-20 14:02:22 +02:00
Houtan Bastani cb0b8c9ba3 update comments in static & dynamic funcitons 2015-08-20 12:27:43 +02:00
Houtan Bastani 046bc44e8a write Hessians of static and dynamic functions more efficiently 2015-08-20 12:18:19 +02:00
Houtan Bastani 1c27ff3cc4 add @inbounds to static and dynamic Jacobian 2015-08-20 12:12:17 +02:00
Houtan Bastani 4808c8a1ce replace zeros with fill! and remove spzeros in static and dynamic functions 2015-08-20 11:33:19 +02:00
Houtan Bastani a10efd7c4b replace empty sparse calls with spzeros 2015-08-19 17:12:06 +02:00
Houtan Bastani 22f409af4f fix type in function header 2015-08-19 14:38:35 +02:00
Houtan Bastani 1b0d63abe9 add types to dynamic, static, and steady_state function calls 2015-08-19 12:11:08 +02:00
Houtan Bastani cbe1027428 remove unnecessary get*Function functions 2015-08-19 11:28:25 +02:00
Houtan Bastani 6156c76f79 load steady_state! function into model.steady_state 2015-08-19 10:59:30 +02:00
Houtan Bastani 6b96a83d8b make steady state file modify variables in place 2015-08-18 16:31:30 +02:00
Houtan Bastani 3bf6b14049 change getPowerDeriv to get_power_deriv to accord with Julia function naming style 2015-08-18 15:49:48 +02:00
Houtan Bastani 73a25ed90c adding using Utils to dynamic & static files 2015-08-18 15:45:23 +02:00
Houtan Bastani c8f9e1229f update static model to use multiple dispatch 2015-08-18 15:42:24 +02:00
Houtan Bastani dae79ecafb update dynamic model to use multiple dispatch 2015-08-18 15:32:30 +02:00
Houtan Bastani 33f2e2077c preprocessor: add utf-8 tokenizing 2015-08-17 17:09:40 +02:00
Houtan Bastani f0cc9c4151 modify *_set_auxiliary_variables to work in julia 2015-08-17 15:36:18 +02:00
Houtan Bastani 88a87a911b remove unnecessary braces 2015-08-17 11:17:26 +02:00
Stéphane Adjemian (Charybdis) 756ff179ff Removed deprecated syntaxes. 2015-08-12 19:03:29 +02:00
Houtan Bastani 6330fa0374 write dynamic model output
Conflicts:
	preprocessor/DynamicModel.cc
2015-07-29 14:59:09 +02:00
Houtan Bastani 54874efa72 Merge branch 'master' into julia 2015-07-29 14:53:35 +02:00
Houtan Bastani 22ac2f4f92 preprocessor: simplify writing of NNZDerivatives 2015-07-29 14:52:15 +02:00
Houtan Bastani 38e4480893 add linear option to options 2015-07-29 13:31:42 +02:00
Houtan Bastani 43e5e58a66 remove unnecessary assignment as the field is assigned in the constructor 2015-07-29 13:22:40 +02:00
Houtan Bastani ace7278623 fix writing of aux vars, predetermined vars, and observed vars 2015-07-29 11:51:27 +02:00
Houtan Bastani 601a52a093 rename model__ to model 2015-07-29 11:35:10 +02:00
Houtan Bastani ba8518bf43 create options 2015-07-29 11:30:01 +02:00
Houtan Bastani 0a3a5a0a03 bug fix in writing of dynamic params derivs file 2015-07-29 10:40:30 +02:00
Houtan Bastani 389bb89a55 simplify modules created by preprocessor 2015-07-28 18:00:00 +02:00
Houtan Bastani e73630454d simplify printing of variable arrays 2015-07-28 17:43:57 +02:00
Houtan Bastani 5ce7d85205 reduce code that is output in modfile.jl 2015-07-28 17:32:34 +02:00
Houtan Bastani 789d881cca write steady state model 2015-07-28 17:27:56 +02:00
Houtan Bastani d49e6e4156 wrie dynamic params deriv file 2015-07-28 14:59:55 +02:00
Houtan Bastani ff3e14656d bug fix in writing of static params derivs 2015-07-28 14:42:10 +02:00
Houtan Bastani d7ad832c1d write static param derivs file 2015-07-28 12:29:42 +02:00
Houtan Bastani dc955b56ee fix writing for julia 2015-07-27 17:33:22 +02:00
Houtan Bastani 2bb2682b50 write dynamic file 2015-07-27 17:02:51 +02:00
Houtan Bastani 6fc6f2f7d1 clean up writing of static model 2015-07-27 15:59:13 +02:00
Houtan Bastani f3c14ec396 write static model 2015-07-27 15:33:38 +02:00
Houtan Bastani c124fd040c write more output to modfilename.jl 2015-07-24 12:34:06 +02:00
Houtan Bastani 5c59910001 accord variable names and functions with julia programming style 2015-07-24 11:35:23 +02:00
Houtan Bastani ab65c1abc2 preprocessor: clean up code 2015-07-23 18:10:44 +02:00
Houtan Bastani 432dbbb785 change variable/parameter collections, finish printing SymbolTable info 2015-07-23 18:05:57 +02:00