/usr/include/ug/pcr.h is in libug-dev 3.11.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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
/****************************************************************************/
/* */
/* File: pcr.h */
/* */
/* Purpose: defines for priniting of convergence rates */
/* */
/* Author: Klaus Johannsen/Henrik Rentz-Reichert */
/* Institut fuer Computeranwendungen III */
/* Universitaet Stuttgart */
/* Pfaffenwaldring 27 */
/* 70569 Stuttgart */
/* email: ug@ica3.uni-stuttgart.de */
/* */
/* History: 25.03.95 begin, ug version 3.0 */
/* 09.12.95 transition to new descriptor formats (HRR) */
/* December 2, 1996 redesign of numerics */
/* */
/* Remarks: */
/* */
/****************************************************************************/
/* RCS_ID
$Header$
*/
/****************************************************************************/
/* */
/* auto include mechanism and other include files */
/* */
/****************************************************************************/
#ifndef __PCR__
#define __PCR__
#include "ugtypes.h"
#include "gm.h"
#include "algebra.h"
#include "ugenv.h"
#include "udm.h"
#include "numproc.h"
#include "scan.h"
#include "namespace.h"
START_UGDIM_NAMESPACE
/****************************************************************************/
/* */
/* defines in the following order */
/* */
/* compile time constants defining static data size (i.e. arrays) */
/* other constants */
/* macros */
/* */
/****************************************************************************/
/* DisplayModes for PrintConvergenceRate */
enum DisplayMode {PCR_NO_DISPLAY,
PCR_RED_DISPLAY,
PCR_FULL_DISPLAY };
/* printmode PrintConvergenceRate */
enum PrintMode {PCR_CRATE,
PCR_AVERAGE,
PCR_INTERN,
PCR_CRATE_SD,
PCR_AVERAGE_SD,
PCR_INTERN_SD};
/****************************************************************************/
/* */
/* function declarations */
/* */
/****************************************************************************/
INT GetStrINTinRange (const char *str, INT min, INT max, INT *value);
INT GetStrDOUBLEinRange (const char *str, DOUBLE min, DOUBLE max, DOUBLE *value);
INT PreparePCR (VECDATA_DESC *Vsym, INT DispMode, const char *text, INT *ID);
INT PrepareEPCR (EVECDATA_DESC *Vsym, INT DispMode, const char *text, INT *ID);
INT PostPCR (INT ID, const char *path);
INT DoPCR (INT ID, VEC_SCALAR Defect, INT PrintMode);
END_UGDIM_NAMESPACE
#endif
|