![]() |
Octopus 16.0
real-space, real-time, TDDFT code
|
#include <assert.h>
#include <config.h>
#include <errno.h>
#include <fcntl.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "io_binary.h"
Classes | |
union | multi |
struct | header_t |
Macros | |
#define | _FILE_OFFSET_BITS 64 |
#define | c2r hypot /* take the modulus */ |
Typedefs | |
typedef char | byte |
Functions | |
void | io_write_header (const int64_t *np, int *type, int *ierr, int *iio, char *fname) |
void | write_binary (const int64_t *np, void *ff, int *type, int *ierr, int *iio, int *nhd, int *flpe, char *fname) |
void | io_read_header (header_t *hp, int *correct_endianness, int *ierr, int *iio, char *fname) |
void | read_binary (const int64_t *np, const int64_t *offset, byte *ff, int *output_type, int *ierr, int *iio, char *fname) |
void | get_info_binary (int64_t *np, int *type, int64_t *file_size, int *ierr, int *iio, char *fname) |
#define _FILE_OFFSET_BITS 64 |
#define c2r hypot /* take the modulus */ |
typedef char byte |
void io_write_header | ( | const int64_t * | np, |
int * | type, | ||
int * | ierr, | ||
int * | iio, | ||
char * | fname | ||
) |
void write_binary | ( | const int64_t * | np, |
void * | ff, | ||
int * | type, | ||
int * | ierr, | ||
int * | iio, | ||
int * | nhd, | ||
int * | flpe, | ||
char * | fname | ||
) |
void io_read_header | ( | header_t * | hp, |
int * | correct_endianness, | ||
int * | ierr, | ||
int * | iio, | ||
char * | fname | ||
) |
void read_binary | ( | const int64_t * | np, |
const int64_t * | offset, | ||
byte * | ff, | ||
int * | output_type, | ||
int * | ierr, | ||
int * | iio, | ||
char * | fname | ||
) |
void get_info_binary | ( | int64_t * | np, |
int * | type, | ||
int64_t * | file_size, | ||
int * | ierr, | ||
int * | iio, | ||
char * | fname | ||
) |