MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Functions for creating struts at cell vertices. More...
#include "globals.hh"
#include <iostream>
#include <cmath>
#include "determinant.hh"
#include "geometry.hh"
#include "allocation.hh"
Go to the source code of this file.
Functions | |
void | makeNodeStruts (int ***amat, int sv, int incmax, int vmax, double **vert, int **vinc, bool report) |
Functions for creating struts at cell vertices.
Definition in file nodes.cc.
void makeNodeStruts | ( | int *** | amat, |
int | sv, | ||
int | incmax, | ||
int | vmax, | ||
double ** | vert, | ||
int ** | vinc, | ||
bool | report | ||
) |
Function for creating struts at cell vertices.
Struts are in shape of tetrahedra. It is assumed that four cells share a vertex. Vertices are taken from tessellation. Size of the tetrahedron is determined by the dstrut
parameter. Changes amat
.
[in,out] | amat | voxel matrix |
[in] | sv | number of vertices |
[in] | incmax | maximum number of vertex connections |
[in] | vmax | maximum number of vertices |
[in] | vert | vertex positions |
[in] | vinc | indexes of connected vertices |
[in] | report | show output |
Definition at line 19 of file nodes.cc.
References alloc_3Ddmatrix(), CONFINEX, CONFINEY, CONFINEZ, Determinant(), constants::dstrut, free_3Ddmatrix(), in_domain(), bubbleGrowth.bubbleGrowth::m, globals::nx, globals::ny, constants::nz, and sgn().