~vcs-imports-ii/mcsim/trunk

« back to all changes in this revision

Viewing changes to tests/sim/perc.vect/perc.vect.setpoint.in

  • Committer: fredomatic
  • Date: 2020-06-13 10:44:14 UTC
  • Revision ID: fredomatic-20200613104414-53iu2cppz2aeujtm
add decent tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#------------------------------------------------------------------------------
 
2
# perc.vect.setpoint.in
 
3
#
 
4
# Set points simulation input file for Tetrachloroethylene (TCE, PERC)
 
5
#
 
6
# A set of dose values, defined in perc.vect.setpoint.dat, is used to 
 
7
# generate output values.
 
8
#
 
9
# Copyright (c) 2018 Free Software Foundation, Inc.
 
10
#------------------------------------------------------------------------------
 
11
 
 
12
Integrate (Lsodes, 1e-6, 1e-6, 1);
 
13
 
 
14
SetPoints ("perc.vect.setpoint.out", "perc.vect.setpoint.dat", 0,
 
15
           dose_1, dose[2-3]);
 
16
 
 
17
Simulation { # uses vectors, the dosing vector is read in the setpoint file
 
18
 
 
19
  tdosing[1] = 0;
 
20
  tdosing[2] = 2500;
 
21
  tdosing[3] = 5000;
 
22
 
 
23
  C_inh = NDoses (3, dose[1-3], tdosing[1-3]);
 
24
 
 
25
  Print (C_inh, C_ven,
 
26
         0, 1, 2499, 2500, 2501, 3999, 4000, 4001, 4999, 5000, 5001, 9999, 
 
27
         10000);
 
28
}
 
29
 
 
30
End.