Technical Documentation
Utilities: Yup.avf

The Yup.avf program converts between an unformatted (or binary) form of the AtomVector file (AVF) to a formatted text dump. This is a command-line program.

Type Yup.avf --help for an online manual.

The standard use of this command is to convert AVFs between various formats. The program can read the formatted (text) version and two unformatted (raw or binary) versions of this file. In addition, the program can read binary files from a machine of opposite byte order (endian). The program can write the text and the two binary versions, the binary files can be written only in the native byte order. When invoked without options, Yup.avf will convert the input file (which must exist) into an output file (which must not yet exist). The output is in the new binary format, unless the input is already in this format and in the native byte order, in which case the output is the text version of the file. A specific output format can be specified.

The new binary format stores AtomVectors in single precision while the old format is in double precision. Thus, the new files are about half the size of the old.

Yup.avf can also be used to list the details of AtomVector files.

A final use is to compare two AtomVector files. This is for developmental purposes. For example, one can compare an AVF in the old binary format with a converted AVF in the new binary format to reassure oneself that the new binary format is capable of encoding the original data without too much loss in precision.

You can continue to use the old binary format in simulations but a message is issued each time the older format is used.


Technical
Introduction
Directory
Vectors
Energy
Model
Assembly
Methods
FPF
FFF
AVF
TaroScript
YammpScript
Python
Utilities

Home
Information
News
User
Technical
Programmer
iYup
Download
Showcase
ETC