Overview
Comment: | Corrected the csex and cseo functions |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
fc1fb3618593618f9f91c76737871779 |
User & Date: | gawthrop@users.sourceforge.net on 2000-11-10 14:19:50 |
Other Links: | branch diff | manifest | tags |
Context
2000-11-10
| ||
14:45:16 | Finished up changes to incorporate Geraint's cc stuff check-in: 3336b8ec0d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
14:19:50 | Corrected the csex and cseo functions check-in: fc1fb36185 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:38:30 | Got rid of sys_name functions with no () check-in: 413c080bd3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/make_ode2odes from [d698ae8f48] to [0075b8f053].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | + + + | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.41 2000/11/09 17:06:39 peterg ## Now does euler for cc ## ## Revision 1.40 2000/10/17 09:55:00 peterg ## Replaced switchopen by logic ## ## Revision 1.39 2000/10/14 08:04:40 peterg ## Changed arguments to _inout for consistency ## ## Revision 1.38 2000/10/11 09:08:08 peterg |
︙ | |||
164 165 166 167 168 169 170 | 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | - + - + | function make_m() { #lang_header $1 ode2odes m 'x,par,simpar' '[Y,X,t]' > $filename mtt_header ${sys} ode2odes m > $filename cat <<EOF >> $filename global MTT_data; if nargin<3 |
︙ | |||
239 240 241 242 243 244 245 | 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | - + - - + + - + - + - - - + + - + - + + + + + + + + + + + + + + + + + | #include <octave/LSODE.h> #include <octave/ov-struct.h> #include <octave/oct-map.h> #include "${sys}_def.h" #include "${sys}_sympar.h" |
︙ | |||
374 375 376 377 378 379 380 381 382 | 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 | + - - - - - - - + + + + + + + + + + + + + + + + + + - - - + + + - - - - + + + + - - - + + + - - + + - + | args (2) = octave_value (t); args (3) = octave_value (par); ColumnVector f; f = feval ("${sys}_logic", args, 1)(0).vector_value (); return (f); } void |
︙ | |||
501 502 503 504 505 506 507 | 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 | - + - + + - + - - + | const int ilast = (int)round (simpar ["last"].double_value () / ddt); // cse translation // LSODE will need ODEFUNC for (register int j = 0, i = 1; i <= ilast; i++) { |
︙ |