Abstract
It is usually important to write plasma simulation codes in such a way that they execute efficiently and are convenient to use. I discuss here practical techniques to achieve this goal. Numerical algorithms must be well formulated and advantage taken of machine architecture in casting the algorithm into a high level language such as Fortran. The advantages of writing critical routines in Assembler are discussed. For large simulation codes, disks must often be used as a temporary store for working data. Efficient methods for doing this are presented. Codes must not only be well organized for ease of implementation and maintenance, but also for ease of use. Ways are suggested for packaging codes such that setup, batch production, restarting and diagnostic postprocessing is facilitated. Particular emphasis is placed on graphics postprocessors, since they must be used in real time with graphics terminals as well as with hardcopy devices.
Similar content being viewed by others
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Barnes, C.W. Optimizing computational efficiency and user convenience in plasma simulation codes. Space Sci Rev 42, 145–151 (1985). https://doi.org/10.1007/BF00218229
Issue Date:
DOI: https://doi.org/10.1007/BF00218229