![]() |
Octopus 16.0
real-space, real-time, TDDFT code
|
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "string_f.h"
#include <config.h>
#include <fortran_types.h>
#include <iostream>
Classes | |
struct | write_iter |
Macros | |
#define | CHUNK 1024 |
Functions | |
void | write_iter_header_work (write_iter *w, const char *s) |
Writes a centered header to a write_iter struct with a fixed width of 24 characters. More... | |
void | FC_FUNC_ (write_iter_init, WRITE_ITER_INIT)(void **v |
TO_C_STR1 (fname, w->filename) | |
void | FC_FUNC_ (write_iter_clear, WRITE_ITER_CLEAR)(void **v) |
void | FC_FUNC_ (write_iter_flush, WRITE_ITER_FLUSH)(void **v) |
void | FC_FUNC_ (write_iter_end, WRITE_ITER_END)(void **v) |
void | FC_FUNC_ (write_iter_start, WRITE_ITER_START)(void **v) |
void | FC_FUNC_ (write_iter_set, WRITE_ITER_SET)(void **v |
void | FC_FUNC_ (write_iter_double_1, WRITE_ITER_DOUBLE_1)(void **v |
write_iter_realloc (w,(*no) *24) | |
for (i=0;i< *no;i++) = ((gsl_spline *)(*spl))->y[i] | |
void | FC_FUNC_ (write_iter_float_1, WRITE_ITER_FLOAT_1)(void **v |
void | FC_FUNC_ (write_iter_double_n, WRITE_ITER_DOUBLE_N)(void **v |
void | FC_FUNC_ (write_iter_float_n, WRITE_ITER_FLOAT_N)(void **v |
void | FC_FUNC_ (write_iter_int_1, WRITE_ITER_INT_1)(void **v |
void | FC_FUNC_ (write_iter_int_n, WRITE_ITER_INT_N)(void **v |
void | FC_FUNC_ (write_iter_string, WRITE_ITER_STRING)(void **v |
TO_C_STR1 (s, c) | |
write_iter_string_work ((write_iter *) *v, c) | |
free (c) | |
void | FC_FUNC_ (write_iter_header_start, WRITE_ITER_HEADER_START)(void **v) |
void | FC_FUNC_ (write_iter_header, WRITE_ITER_HEADER)(void **v |
write_iter_header_work ((write_iter *) *v, c) | |
void | FC_FUNC_ (write_iter_nl, WRITE_ITER_NL)(void **v) |
Variables | |
void const fint * | i |
void const fint const double * | d |
void const fint const double STR_F_TYPE fname | STR_ARG1 |
w = (write_iter *)malloc(sizeof(write_iter)) | |
w | buf = NULL |
w | pos = w->size = 0 |
w | iter = *i |
w | dt = *d |
* | v = w |
void const double const fint * | no |
#define CHUNK 1024 |
void write_iter_header_work | ( | write_iter * | w, |
const char * | s | ||
) |
Writes a centered header to a write_iter struct with a fixed width of 24 characters.
w | Pointer to the write_iter struct. |
s | Pointer to the string representing the header. |
void FC_FUNC_ | ( | write_iter_init | , |
WRITE_ITER_INIT | |||
) |
TO_C_STR1 | ( | fname | , |
w-> | filename | ||
) |
void FC_FUNC_ | ( | write_iter_clear | , |
WRITE_ITER_CLEAR | |||
) |
void FC_FUNC_ | ( | write_iter_flush | , |
WRITE_ITER_FLUSH | |||
) |
void FC_FUNC_ | ( | write_iter_end | , |
WRITE_ITER_END | |||
) |
void FC_FUNC_ | ( | write_iter_start | , |
WRITE_ITER_START | |||
) |
void FC_FUNC_ | ( | write_iter_set | , |
WRITE_ITER_SET | |||
) |
void FC_FUNC_ | ( | write_iter_double_1 | , |
WRITE_ITER_DOUBLE_1 | |||
) |
void FC_FUNC_ | ( | write_iter_float_1 | , |
WRITE_ITER_FLOAT_1 | |||
) |
void FC_FUNC_ | ( | write_iter_double_n | , |
WRITE_ITER_DOUBLE_N | |||
) |
void FC_FUNC_ | ( | write_iter_float_n | , |
WRITE_ITER_FLOAT_N | |||
) |
void FC_FUNC_ | ( | write_iter_int_1 | , |
WRITE_ITER_INT_1 | |||
) |
void FC_FUNC_ | ( | write_iter_int_n | , |
WRITE_ITER_INT_N | |||
) |
void FC_FUNC_ | ( | write_iter_string | , |
WRITE_ITER_STRING | |||
) |
TO_C_STR1 | ( | s | , |
c | |||
) |
write_iter_string_work | ( | (write_iter *) * | v, |
c | |||
) |
free | ( | c | ) |
void FC_FUNC_ | ( | write_iter_header_start | , |
WRITE_ITER_HEADER_START | |||
) |
void FC_FUNC_ | ( | write_iter_header | , |
WRITE_ITER_HEADER | |||
) |
write_iter_header_work | ( | (write_iter *) * | v, |
c | |||
) |
void FC_FUNC_ | ( | write_iter_nl | , |
WRITE_ITER_NL | |||
) |
int i |
void const fint * d |
void STR_F_TYPE s STR_ARG1 |
w = (write_iter *)malloc(sizeof(write_iter)) |
w buf = NULL |
* v = w |