/[ascend]/trunk/models/johnpye/grena/sunpos_test.a4c
ViewVC logotype

Diff of /trunk/models/johnpye/grena/sunpos_test.a4c

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

revision 2498 by jpye, Thu Jun 23 11:38:23 2011 UTC revision 2499 by jpye, Wed Aug 31 07:18:03 2011 UTC
# Line 8  MODEL location; Line 8  MODEL location;
8      timezone IS_A time_constant;      timezone IS_A time_constant;
9  END location;  END location;
10    
11  MODEL sunpos_test;  MODEL sunpos_grena;
12      loc IS_A location;      loc IS_A location;
     loc.latitude :== -35 {deg};  
     loc.longitude :== 149 {deg};  
     loc.timezone :== 10 {h};  
13    
14      p IS_A pressure;      p IS_A pressure;
15      T IS_A temperature;      T IS_A temperature;
# Line 30  MODEL sunpos_test; Line 27  MODEL sunpos_test;
27      altitude IS_A angle;      altitude IS_A angle;
28      altitude = 0.5{PI} - zenith;      altitude = 0.5{PI} - zenith;
29    
30    END sunpos_grena;
31    
32    
33    MODEL sunpos_test REFINES sunpos_grena;
34        loc.latitude :== -35 {deg};
35        loc.longitude :== 149 {deg};
36        loc.timezone :== 10 {h};
37  METHODS  METHODS
38  METHOD on_load;  METHOD on_load;
39      FIX p, T, t;      FIX p, T, t;

Legend:
Removed from v.2498  
changed lines
  Added in v.2499

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