MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
seeds.cc File Reference

Functions for the initialization of seeds. More...

#include "globals.hh"
#include <stdlib.h>
#include <stdio.h>

Go to the source code of this file.

Functions

void createSeeds (int &ncell, int *center_x, int *center_y, int *center_z, bool report)
 Initialization of seeds. Stores positions of seeds. More...
 

Detailed Description

Functions for the initialization of seeds.

Author
Pavel Ferkl
Juraj Kosek

Definition in file seeds.cc.

Function Documentation

◆ createSeeds()

void createSeeds ( int &  ncell,
int *  center_x,
int *  center_y,
int *  center_z,
bool  report 
)

Initialization of seeds. Stores positions of seeds.

Parameters
[in,out]ncellin: max number of cells, out: actual number
[out]center_xx position of seeds
[out]center_yy position of seeds
[out]center_zz position of seeds
[in]reportshow output

Definition at line 12 of file seeds.cc.

References CONFINEX, CONFINEY, CONFINEZ, globals::grid, bubbleGrowth.bubbleGrowth::m, globals::ncell, globals::nx, globals::ny, globals::nz, globals::RANDOM, globals::sx, globals::sy, and globals::sz.

Referenced by main().