FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
CRSet Class Reference

#include <CRSet.hpp>

Public Member Functions

 CRSet ()
 
 ~CRSet ()
 

Public Attributes

int crID_
 
int numNodes_
 
GlobalID slaveNodeID_
 
int slaveFieldID_
 
int slaveOffset_
 
GlobalID ** nodeIDs_
 
int * fieldIDs_
 
double * weights_
 
double * values_
 
double * penValues_
 

Private Member Functions

void deleteMemory ()
 

Detailed Description

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).

Definition at line 25 of file CRSet.hpp.

Constructor & Destructor Documentation

CRSet::CRSet ( )

Default constructor. Does nothing but initialize pointer members to NULL.

Definition at line 15 of file CRSet.cpp.

CRSet::~CRSet ( )

Destructor. Deletes arrays that were allocated during the life of this class instance.

Definition at line 27 of file CRSet.cpp.

References deleteMemory().

Member Function Documentation

void CRSet::deleteMemory ( )
private

Definition at line 32 of file CRSet.cpp.

References fieldIDs_, nodeIDs_, numNodes_, penValues_, values_, and weights_.

Referenced by ~CRSet().

Member Data Documentation

int CRSet::crID_

Identifier for this constraint relation.

Definition at line 37 of file CRSet.hpp.

Referenced by snl_fei_tester::initConstraints(), FEI_tester::initializationPhase(), snl_fei_tester::loadConstraints(), and FEI_tester::normalLoadPhase().

int CRSet::numNodes_

Number of nodes involved in this constraint relation.

Definition at line 40 of file CRSet.hpp.

Referenced by deleteMemory(), snl_fei_tester::initConstraints(), FEI_tester::initializationPhase(), FEI_tester::normalLoadPhase(), and DataReader::readData().

GlobalID CRSet::slaveNodeID_

The node identifier of the node on which the "slaved" degree of freedom resides.

Definition at line 45 of file CRSet.hpp.

Referenced by snl_fei_tester::initConstraints(), FEI_tester::initializationPhase(), and DataReader::readData().

int CRSet::slaveFieldID_

The field identifier of the slaved degree of freedom.

Definition at line 48 of file CRSet.hpp.

Referenced by snl_fei_tester::initConstraints(), FEI_tester::initializationPhase(), and DataReader::readData().

int CRSet::slaveOffset_

The offset into the field of the slaved degree of freedom. (Fields may consist of several scalar degrees of freedom.)

Definition at line 53 of file CRSet.hpp.

Referenced by snl_fei_tester::initConstraints(), FEI_tester::initializationPhase(), and DataReader::readData().

GlobalID** CRSet::nodeIDs_
int* CRSet::fieldIDs_
double* CRSet::weights_
double* CRSet::values_
double* CRSet::penValues_

The documentation for this class was generated from the following files: