11.1.1. - How user functions work
User functions run as separate processes under the control of C-PLOT and exchange data and other information with the plot program. (See Appendix C for a list of standard user functions.)
You needn't know very much about programming to create your own functions. Prototype C-language files are included with the C-PLOT package, along with the required overhead modules. C-PLOT creates the files, invokes your favorite editor and runs the compiler for you. For ordinary functions you need only type in the lines of C code that describe your calculation. Appendix E contains additional information on writing user functions.
There are five types of user functions. The type number becomes part of the function name. The types are:
|