/usr/include/trilinos/CRSet.hpp is in libtrilinos-dev 10.4.0.dfsg-1ubuntu2.
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 | #ifndef _CRSet_h_
#define _CRSet_h_
/*--------------------------------------------------------------------*/
/* Copyright 2005 Sandia Corporation. */
/* Under the terms of Contract DE-AC04-94AL85000, there is a */
/* non-exclusive license for use of this work by or on behalf */
/* of the U.S. Government. Export of this program may require */
/* a license from the United States Government. */
/*--------------------------------------------------------------------*/
/** Very simply struct-like class to hold data that defines a
Constraint Relation Set. A "set" of constraint relations implies that there may
be more than one, but current FEI usage (as of FEI version 2.0) results
in a "Set" always containing only one constraint relation. But it was deemed
unnecessary to change the name of this class.
It should also be noted that this container can also be used to hold the
definition for a "Slave variable" which is very similar to a constraint
relation, except that one of the constrained degrees of freedom is designated
as the "slave" -- it is defined to be a linear-combination of other degrees of
freedom plus a right-hand-side value (often zero).
*/
class CRSet {
public:
/** Default constructor. Does nothing but initialize pointer members to NULL.
*/
CRSet();
/** Destructor. Deletes arrays that were allocated during the life of this
class instance.
*/
~CRSet();
/** Identifier for this constraint relation. */
int crID_;
/** Number of nodes involved in this constraint relation. */
int numNodes_;
/** The node identifier of the node on which the "slaved" degree of freedom
resides.
*/
GlobalID slaveNodeID_;
/** The field identifier of the slaved degree of freedom. */
int slaveFieldID_;
/** The offset into the field of the slaved degree of freedom. (Fields may
consist of several scalar degrees of freedom.)
*/
int slaveOffset_;
GlobalID** nodeIDs_;
int* fieldIDs_;
double* weights_;
double* values_;
double* penValues_;
private:
void deleteMemory();
};
#endif
|