Move headers to include/openmc directory and openmc.h -> openmc/capi.h

This commit is contained in:
Paul Romano 2018-08-20 14:40:32 -05:00
parent 1f760461a3
commit 9f0ea52d1a
83 changed files with 283 additions and 261 deletions

15
include/openmc/plot.h Normal file
View file

@ -0,0 +1,15 @@
#ifndef OPENMC_PLOT_H
#define OPENMC_PLOT_H
#include "hdf5.h"
namespace openmc {
extern "C" void voxel_init(hid_t file_id, const hsize_t* dims, hid_t* dspace,
hid_t* dset, hid_t* memspace);
extern "C" void voxel_write_slice(int x, hid_t dspace, hid_t dset,
hid_t memspace, void* buf);
extern "C" void voxel_finalize(hid_t dspace, hid_t dset, hid_t memspace);
} // namespace openmc
#endif // OPENMC_PLOT_H