Advertisement
Guest User

Untitled

a guest
Feb 14th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. get_inputs.mortran:
  2. Added:
  3.  
  4. ival                = ival + 1;
  5. num_bfieldlimits    = ival;                     "Set the variable pointer"
  6. values_sought(ival) = $B_FIELD_LIMITS;           "The code word"
  7. nvalue(ival)        = 6;                        "6 inputs"
  8. type(ival)          = 1;                        "A real number"
  9. value_min(ival)     = -500;                    "Define the allowed range"
  10. value_max(ival)     =  500;
  11. default(ival)       =  0;
  12.  
  13. IF( error_flags(num_bfieldlimits) = 0 ) [
  14.     BxminIN = value(num_bfieldlimits,1);
  15.     BxmaxIN = value(num_bfieldlimits,2);
  16.     ByminIN = value(num_bfieldlimits,3);
  17.     BymaxIN = value(num_bfieldlimits,4);
  18.     BzminIN = value(num_bfieldlimits,5);
  19.     BzmaxIN = value(num_bfieldlimits,6);
  20. ]
  21.  
  22. transportp.macros:
  23. Added:
  24. REPLACE {$B_FIELD_LIMITS} WITH {'Magnetic Field Limits'}
  25.  
  26. egsnrc.macros:
  27. Edited:
  28. REPLACE {;COMIN/EMF-INPUTS/;} WITH {;
  29.     common/emf_inputs/ExIN,EyIN,EzIN, "E field"
  30.                      BxIN,ByIN,BzIN,
  31.                      BxminIN,BxmaxIN,
  32.                      ByminIN,BymaxIN,
  33.                      BzminIN,BzmaxIN,  "B field"
  34.                      EMLMTIN;         "Ekin, u, E fractional maximum change"
  35.    $REAL    ExIN,EyIN,EzIN,
  36.             BxIN,ByIN,BzIN,BxminIN,BxmaxIN,ByminIN,BymaxIN,BzminIN,BzmaxIN,
  37.             EMLMTIN;
  38. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement