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

Functions for creating struts at cell edges. More...

#include "globals.hh"
#include <iostream>
#include <cmath>
#include "geometry.hh"

Go to the source code of this file.

Functions

void makeEdgeStruts (int ***amat, int sv, double **vert, int **vinc, bool report)
 

Detailed Description

Functions for creating struts at cell edges.

Author
Pavel Ferkl

Definition in file edges.cc.

Function Documentation

◆ makeEdgeStruts()

void makeEdgeStruts ( int ***  amat,
int  sv,
double **  vert,
int **  vinc,
bool  report 
)

Function for creating struts at cell edges.

Struts are in shape of triangular prisms. It is assumed that three cells share an edge. Edges are taken from tessellation. Size of the triangular base is determined by the dedge parameter. Changes amat.

Parameters
[in,out]amatvoxel matrix
[in]svnumber of vertices
[in]vertvertex positions
[in]vincindexes of connected vertices
[in]reportshow output

Definition at line 17 of file edges.cc.

References constants::c0, CONFINEX, CONFINEY, CONFINEZ, globals::dedge, in_domain(), bubbleGrowth.bubbleGrowth::m, globals::nx, globals::ny, constants::nz, constants::pc, and PointInTriangle().