/usr/include/ug/elements.h is in libdune-uggrid-dev 2.5.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
/*! \file elements.h
* \ingroup gm
*/
/****************************************************************************/
/* */
/* File: elements.h */
/* */
/* Purpose: general element concept (header file) */
/* */
/* Author: Peter Bastian */
/* Institut fuer Computeranwendungen III */
/* Universitaet Stuttgart */
/* Pfaffenwaldring 27 */
/* 70569 Stuttgart */
/* email: ug@ica3.uni-stuttgart.de */
/* */
/* History: 24.03.95 begin, ug version 3.0 */
/* */
/* Remarks: */
/* */
/****************************************************************************/
/****************************************************************************/
/* */
/* auto include mechanism and other include files */
/* */
/****************************************************************************/
#ifndef __ELEMENTS__
#define __ELEMENTS__
#include "namespace.h"
START_UGDIM_NAMESPACE
/** \brief Number of different element types */
#define TAGS 8
extern INT n_offset[TAGS];
extern INT father_offset[TAGS];
extern INT sons_offset[TAGS];
extern INT nb_offset[TAGS];
extern INT evector_offset[TAGS];
extern INT svector_offset[TAGS];
extern INT side_offset[TAGS];
extern INT data_offset[TAGS];
/* the element descriptions are also globally available, these are pointers ! */
extern GENERAL_ELEMENT *element_descriptors[TAGS];
extern GENERAL_ELEMENT *reference_descriptors[MAX_CORNERS_OF_ELEM+1];
extern INT reference2tag[MAX_CORNERS_OF_ELEM+1];
/****************************************************************************/
/* */
/* function definitions */
/* */
/****************************************************************************/
INT PreInitElementTypes (void);
INT InitElementTypes (MULTIGRID *theMG);
END_UGDIM_NAMESPACE
#endif
|