Unstruct2D  1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Unstructured Grids
 All Classes Files Functions Variables
initMetrics.f90 File Reference

Initialization of grid metrics. More...

Functions/Subroutines

subroutine initmetrics (niedge, iedge)
 Initializes grid metrics: computes face vectors and cell volumes. More...
 

Function/Subroutine Documentation

subroutine initmetrics ( integer, dimension(:), intent(in)  niedge,
integer, dimension(:,:), intent(in)  iedge 
)
Parameters
niedgepointer from a node to iedge()
iedgelinked list of edge endpoints:
  • (1,*) = point j of edge (i,j)
  • (2,*) = next point j which is also connected to i; if <0 - no further connections
  • (3,*) = pointer to edge() - used to associate face vector sij() with the correct edge