geometry.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010 (c) SINTEF ICT, Applied Mathematics.
3  * Jostein R. Natvig <Jostein.R.Natvig at sintef.no>
4  */
5 #ifndef MRST_GEOMETRY_H_INCLUDED
6 #define MRST_GEOMETRY_H_INCLUDED
7 
8 void compute_face_geometry(int ndims, double *coords, int nfaces,
9  int *nodepos, int *facenodes,
10  double *fnormals, double *fcentroids,
11  double *fareas);
12 void compute_cell_geometry(int ndims, double *coords,
13  int *nodepos, int *facenodes, int *neighbours,
14  double *fnormals,
15  double *fcentroids, int ncells,
16  int *facepos, int *cellfaces,
17  double *ccentroids, double *cvolumes);
18 
19 #endif /* MRST_GEOMETRY_H_INCLUDED */
void compute_face_geometry(int ndims, double *coords, int nfaces, int *nodepos, int *facenodes, double *fnormals, double *fcentroids, double *fareas)
void compute_cell_geometry(int ndims, double *coords, int *nodepos, int *facenodes, int *neighbours, double *fnormals, double *fcentroids, int ncells, int *facepos, int *cellfaces, double *ccentroids, double *cvolumes)