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 | Private Attributes | List of all members
SlaveVariable Class Reference

#include <fei_SlaveVariable.hpp>

Public Member Functions

 SlaveVariable ()
 
 ~SlaveVariable ()
 
GlobalID getNodeID ()
 
void setNodeID (GlobalID nid)
 
int getFieldID ()
 
void setFieldID (int fid)
 
int getFieldOffset ()
 
void setFieldOffset (int foff)
 
const std::vector< GlobalID > * getMasterNodeIDs ()
 
const std::vector< int > * getMasterFields ()
 
const std::vector< double > * getWeights ()
 
void addMasterNodeID (GlobalID masterNode)
 
void addMasterField (int masterField)
 
void addWeight (double weight)
 

Private Attributes

GlobalID nodeID_
 
int fieldID_
 
int offset_
 
std::vector< GlobalID > * masterNodes_
 
std::vector< int > * masterFields_
 
std::vector< double > * weights_
 

Detailed Description

Simple class to hold the information necessary to specify a slave variable in terms of a nodeID/fieldID/offsetIntoField and a list of master nodes with fields and coefficient-weights.

Definition at line 16 of file fei_SlaveVariable.hpp.

Constructor & Destructor Documentation

SlaveVariable::SlaveVariable ( )
inline

Default constructor

Definition at line 19 of file fei_SlaveVariable.hpp.

References masterFields_, masterNodes_, and weights_.

SlaveVariable::~SlaveVariable ( )
inline

Destructor

Definition at line 26 of file fei_SlaveVariable.hpp.

References masterFields_, masterNodes_, and weights_.

Member Function Documentation

GlobalID SlaveVariable::getNodeID ( )
inline

Definition at line 28 of file fei_SlaveVariable.hpp.

References nodeID_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

void SlaveVariable::setNodeID ( GlobalID  nid)
inline

Definition at line 29 of file fei_SlaveVariable.hpp.

References nodeID_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

int SlaveVariable::getFieldID ( )
inline

Definition at line 31 of file fei_SlaveVariable.hpp.

References fieldID_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

void SlaveVariable::setFieldID ( int  fid)
inline

Definition at line 32 of file fei_SlaveVariable.hpp.

References fieldID_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

int SlaveVariable::getFieldOffset ( )
inline

Definition at line 34 of file fei_SlaveVariable.hpp.

References offset_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

void SlaveVariable::setFieldOffset ( int  foff)
inline

Definition at line 35 of file fei_SlaveVariable.hpp.

References offset_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

const std::vector<GlobalID>* SlaveVariable::getMasterNodeIDs ( )
inline

Definition at line 37 of file fei_SlaveVariable.hpp.

References masterNodes_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

const std::vector<int>* SlaveVariable::getMasterFields ( )
inline

Definition at line 38 of file fei_SlaveVariable.hpp.

References masterFields_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

const std::vector<double>* SlaveVariable::getWeights ( )
inline

Definition at line 39 of file fei_SlaveVariable.hpp.

References weights_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

void SlaveVariable::addMasterNodeID ( GlobalID  masterNode)
inline

Definition at line 41 of file fei_SlaveVariable.hpp.

References masterNodes_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

void SlaveVariable::addMasterField ( int  masterField)
inline

Definition at line 44 of file fei_SlaveVariable.hpp.

References masterFields_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

void SlaveVariable::addWeight ( double  weight)
inline

Definition at line 47 of file fei_SlaveVariable.hpp.

References weights_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

Member Data Documentation

GlobalID SlaveVariable::nodeID_
private

Definition at line 51 of file fei_SlaveVariable.hpp.

Referenced by getNodeID(), and setNodeID().

int SlaveVariable::fieldID_
private

Definition at line 52 of file fei_SlaveVariable.hpp.

Referenced by getFieldID(), and setFieldID().

int SlaveVariable::offset_
private

Definition at line 53 of file fei_SlaveVariable.hpp.

Referenced by getFieldOffset(), and setFieldOffset().

std::vector<GlobalID>* SlaveVariable::masterNodes_
private
std::vector<int>* SlaveVariable::masterFields_
private
std::vector<double>* SlaveVariable::weights_
private

Definition at line 57 of file fei_SlaveVariable.hpp.

Referenced by addWeight(), getWeights(), SlaveVariable(), and ~SlaveVariable().


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