MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Functions for creation of walls from Voronoi tessellation. More...
Go to the source code of this file.
Macros | |
#define | COUNT(i, j, k, a) |
Functions | |
void | makeWalls (int ***amat, int ncell, int *center_x, int *center_y, int *center_z, bool report) |
Creates walls based on position of seeds and Voronoi tessellation. More... | |
Functions for creation of walls from Voronoi tessellation.
Definition in file walls.cc.
#define COUNT | ( | i, | |
j, | |||
k, | |||
a | |||
) |
Some voxels have the same distance from several 'M' centers of cells. Calculate the number 'M'.
void makeWalls | ( | int *** | amat, |
int | ncell, | ||
int * | center_x, | ||
int * | center_y, | ||
int * | center_z, | ||
bool | report | ||
) |
Creates walls based on position of seeds and Voronoi tessellation.
[in,out] | amat | voxel matrix |
[in] | ncell | number of cells |
[out] | center_x | x position of seeds |
[out] | center_y | y position of seeds |
[out] | center_z | z position of seeds |
[in] | report | show output |
Definition at line 23 of file walls.cc.
Referenced by main().