mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Replacing position_rgb with C-side implementation.
This commit is contained in:
parent
cb9e400074
commit
075473b475
2 changed files with 58 additions and 45 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include "hdf5.h"
|
||||
#include "position.h"
|
||||
#include "openmc/constants.h"
|
||||
#include "openmc/particle.h"
|
||||
|
||||
namespace openmc {
|
||||
|
||||
|
|
@ -67,7 +68,9 @@ namespace openmc {
|
|||
char path_plot[MAX_WORD_LEN];
|
||||
|
||||
};
|
||||
|
||||
|
||||
extern "C" void position_rgb(Particle* p, ObjectPlot* pl, int rgb[3], int &id);
|
||||
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue