- Table of contents
- User Guide
User Guide¶
Introduction¶
Unsio API comes with an interface for C/C++, Fortran and Python users.
Floating format¶
Currently, unsio support only 4 bytes floating format. It means that if data on disk are in 8 bytes floating format, they will be converted in 4 bytes floating format.
3D data¶
We assume that data on disk are 3D simulations which suppose 3 values for each positions, velocities and accelerations.
Reading data¶
Unsio provides an easy way to read data from an input snaphot :
- read the C/C++ user manual for reading data.
- read the Fortran user manual for reading data.
- read the Python user manual for reading data.
Saving data¶
Unsio provides an easy way to write data into an output snaphot:
- read the C/C++ user manual for writing data.
- read the Fortran user manuel for writing data.
- read the Python user manuel for writing data.
How to start a project based on UNSIO¶
The following link will show you how to start a project using UNSIO library.