38 #ifndef TYPES_BASICTYPE_H
39 #define TYPES_BASICTYPE_H
85 void convert(
const void* data, B* buf)
const
87 *buf = *
static_cast<const T*
>(data);
93 void convert(
const void* data,
void* buf)
const
129 #endif // ASAGI_NOMPI
133 #endif // TYPES_BASICTYPE_H
static void copy(const void *data, void *buf, unsigned int size)
unsigned int size() const
asagi::Grid::Error check(const io::NetCdfReader &file)
void convert(const void *data, void *buf) const
void getBlock(void *block, const size_t *offset, const size_t *size)
Reads a block of cells from the netcdf file. The type is converted to T.
void convert(const void *data, B *buf) const
void load(io::NetCdfReader &file, const size_t *offset, const size_t *size, void *buf) const
virtual MPI_Datatype getMPIType() const