/[ascend]/trunk/models/johnpye/thermalequilibrium2.a4c
ViewVC logotype

Diff of /trunk/models/johnpye/thermalequilibrium2.a4c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 914 by johnpye, Thu Oct 26 13:35:25 2006 UTC revision 915 by johnpye, Sat Oct 28 07:06:22 2006 UTC
# Line 3  REQUIRE "johnpye/thermo_types.a4c"; Line 3  REQUIRE "johnpye/thermo_types.a4c";
3    
4  IMPORT "freesteam";  IMPORT "freesteam";
5  IMPORT "johnpye/extpy/extpy";  IMPORT "johnpye/extpy/extpy";
6  IMPORT "johnpye/listnotes";  IMPORT "johnpye/solvernotes";
7  IMPORT "johnpye/solve";  IMPORT "johnpye/solve";
8    
9  MODEL simple_state;  MODEL simple_state;
# Line 82  METHOD ode_init; Line 82  METHOD ode_init;
82      t := 0 {s};      t := 0 {s};
83  END ode_init;  END ode_init;
84  METHOD on_load;  METHOD on_load;
85        EXTERNAL solve(SELF);
86      RUN reset;      RUN reset;
87      RUN values;      RUN values;
88      EXTERNAL setup_solver(SELF);      EXTERNAL solvernotes(SELF);
89      EXTERNAL solve(SELF);      EXTERNAL solve(SELF);
90      RUN ode_init;      RUN ode_init;
91  END on_load;  END on_load;

Legend:
Removed from v.914  
changed lines
  Added in v.915

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22