65#pragma autolink -L$BASILISK/cvmix -lcvmixc -lgfortran
119#define strlencheck(s) (s != NULL ? strlen(s) : 0)
121#include "kinds_and_types.h"
147 fprintf (
stderr,
"a: %p offset: %d dtype: %ld %d %d %d %d dim: %d %d %d\n",
148 (
void *)
a->a,
a->offset,
a->dtype.elem_len,
149 a->dtype.version,
a->dtype.rank,
a->dtype.type,
151 a->dim[0].stride,
a->dim[0].lbound,
a->dim[0].ubound);
166#define cvmix_deallocate(a) cvmix_deallocate_(a)
167#define cvmix_2d(c,len1,i,j) (c).a[(i) + (j)*(len1)]
void cvmix_deallocate_(cvmix_data_type *CVmix_vars)
cvmix_1d cvmix_allocate_1d(int len)
cvmix_2d cvmix_allocate_2d(int len1, int len2)
void allocate2d_(const int *len1, const int *len2, cvmix_2d *mem)
void allocate1d_(const int *len, cvmix_1d *mem)
void deallocate2d_(cvmix_2d *mem)
void cvmix_1d_print(cvmix_1d *a)
int indexing
We define a data structure describing the array descriptor of gfortran as documented here.
void cvmix_redirect_stdout_(void)
void deallocate1d_(cvmix_1d *mem)
void cvmix_deallocate_1d(cvmix_1d a)
void cvmix_deallocate_2d(cvmix_2d a)
#define cvmix_2d(c, len1, i, j)
struct descriptor_dimension dim[1]