MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Functions for geometric tessellation. Vertices and edges are used. More...
#include "globals.hh"
#include <iostream>
#include <fstream>
#include <sstream>
#include "voro++.hh"
#include "geometry.hh"
Go to the source code of this file.
Functions | |
void | makeFoamSkeleton (string filename, int ncell, int *center_x, int *center_y, int *center_z, bool report) |
Make geometric tessellation using voro++ and store it to a file. More... | |
void | importFoamSkeleton (string filename, double **vert, int **vinc, int vmax, int incmax, int &sv, bool report) |
Load geometric tessellation, move it to the domain and store it. More... | |
Functions for geometric tessellation. Vertices and edges are used.
Definition in file skeleton.cc.
void importFoamSkeleton | ( | string | filename, |
double ** | vert, | ||
int ** | vinc, | ||
int | vmax, | ||
int | incmax, | ||
int & | sv, | ||
bool | report | ||
) |
Load geometric tessellation, move it to the domain and store it.
[in] | filename | Name of output file with tessellation |
[out] | vert | vertex positions |
[out] | vinc | indexes of connected vertices |
[in] | vmax | maximum number of vertices |
[in] | incmax | maximum number of vertex connections |
[out] | sv | number of vertices |
[in] | report | show output |
Definition at line 47 of file skeleton.cc.
References globals::eps, globals::import_vtk, in_domain(), globals::nx, globals::ny, constants::nz, and globals::y.
Referenced by main().
void makeFoamSkeleton | ( | string | filename, |
int | ncell, | ||
int * | center_x, | ||
int * | center_y, | ||
int * | center_z, | ||
bool | report | ||
) |
Make geometric tessellation using voro++
and store it to a file.
[in] | filename | Name of output file with tessellation |
[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 16 of file skeleton.cc.
References globals::ncell, globals::nx, globals::ny, and constants::nz.
Referenced by main().