MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
globals.cc
Go to the documentation of this file.
1 
6 namespace globals {
7  bool createNodes; //create struts at cell vertices
8  bool createEdges; //create struts at cell edges
9  bool openCell; //make open cell foam
10  bool save_dat; //save file in old dx style
11  bool save_vtk; //save file in new paraview style
12  double dstrut; //parameter influencing size of struts in cell vertices
13  double dedge; //parameter influencing size of struts in cell edges
14  double strutPorosity; //desired porosity of only struts
15  double RANDOM; //number between 0.0 and 1.0
16  //how much are positions of cell centers perturbated from even position
17  int grid; //grid type for cell centers, 1=cubic grid,
18  //2=hexagonal lattice, ABAB...,3=hexagonal lattice, ABCABC...
19  int nx; //domain size in X
20  int ny; //domain size in Y
21  int nz; //domain size in Z
22  int sx; //size of cells in X
23  int sy; //size of cells in Y
24  int sz; //size of cells in Z
25  bool save_voro_diag1; //gnuplot Voronoi diagram
26  bool save_voro_diag2; //alternative gnuplot Voronoi diagram
27  bool import_vtk; //import morphology from vtk
28  bool progress_report; //show detailed progress report
29 }
bool openCell
make open cell foam
Definition: globals.cc:9
int grid
Definition: globals.cc:17
int nz
domain size in Z
Definition: globals.cc:21
bool progress_report
show detailed progress report
Definition: globals.cc:28
double dedge
parameter influencing size of struts in cell edges
Definition: globals.cc:13
int sy
size of cells in Y
Definition: globals.cc:23
bool save_voro_diag1
gnuplot Voronoi diagram
Definition: globals.cc:25
bool createEdges
create struts at cell edges
Definition: globals.cc:8
int sz
size of cells in Z
Definition: globals.cc:24
bool save_vtk
save file in new paraview style
Definition: globals.cc:11
bool save_voro_diag2
alternative gnuplot Voronoi diagram
Definition: globals.cc:26
int sx
size of cells in X
Definition: globals.cc:22
double dstrut
parameter influencing size of struts in cell vertices
Definition: globals.cc:12
bool save_dat
save file in old dx style
Definition: globals.cc:10
double RANDOM
Definition: globals.cc:15
int nx
domain size in X
Definition: globals.cc:19
bool createNodes
create struts at cell vertices
Definition: globals.cc:7
namespace with global variables
Definition: globals.f90:8
bool import_vtk
import morphology from vtk
Definition: globals.cc:27
double strutPorosity
Definition: globals.cc:14
int ny
domain size in Y
Definition: globals.cc:20