1 function ftabcond (time, cond, npts, pts, ltime)
6 real time, cond, pts(npts)
10 real almost0, ralmost0
11 parameter(almost0 = 1.0e-12)
12 parameter(ralmost0 = 1.0 / almost0)
36 if ((
time .lt. pts(1)) .or. (
time .gt. pts(npts-2)))
then
45 if (ltime .lt. 4)
then
53 do while ((
time .lt. time1) .or. (
time .gt. time2))
63 tdiff = amax1((time2-time1), almost0)
67 slope = (pts(i+2) - pts(i-1)) * tdiff
68 fcond = pts(i-1) + tdel*slope
72 if (cond .ge. fcond)
then
73 slope = (pts(i+1) - pts(i-2)) * tdiff
function ftabcond(time, cond, npts, pts, ltime)
c *****************************************************************************c Various format statements for read_screamer_data output c To get these into made format to be characters c for each line corrected spelling errors in format added statement for Zflow Plasma Loss Model added format for CSV output type fixed more lines longer than characters added format for Measure Zflow Block and forward c reverse current directions in Zflow plasma loss c and Zflow POS models added format for SFC output type c removed from all code calls c c c c c a80 c i10 c No grids on plots c Do not write files containing the plotted points c Execute only one cycle c Do not echo the setup parameters and indicies c c &exitting c a13 c c c c c c c c102 c &described as a function of time c c c &described as a function of time c c c &function of time c c shell c &min A K c &trapped field time