Works with VSimBase, VSimEM, VSimPD, VSimPA, and VSimMD licenses.
User provides a file with two columns where the first column is the argument of the function and the second column is the corresponding value of the function. The function is evaluated by linearly interpolating between the points.
filename (string)
Name of the file which contains the two-column data. It is assumed that the data in the first column is either in increasing or decreasing order.
setMinMaxFromFile (boolean / integer, optional, default = false / 0)
Set xmin
and xmax
parameters to the minimum and maximum values of the
first column. If this parameter is false
, and the function argument \(x\) is
smaller (larger) than the minimum (maximum) value of the first column, linear
interpolation from the two first (last) points is used.
<OAFunc oafunc1>
# read data from a file
kind = interpolatedFromFile
filename = ../ionize/electronCSection.dat
</OAFunc>