FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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::SlaveVariable ( )
inline

Default constructor

Definition at line 19 of file fei_SlaveVariable.hpp.

References masterFields_, masterNodes_, and weights_.

◆ ~SlaveVariable()

SlaveVariable::~SlaveVariable ( )
inline

Destructor

Definition at line 26 of file fei_SlaveVariable.hpp.

References masterFields_, masterNodes_, and weights_.

Member Function Documentation

◆ getNodeID()

GlobalID SlaveVariable::getNodeID ( )
inline

Definition at line 28 of file fei_SlaveVariable.hpp.

References nodeID_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

◆ setNodeID()

void SlaveVariable::setNodeID ( GlobalID  nid)
inline

Definition at line 29 of file fei_SlaveVariable.hpp.

References nodeID_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

◆ getFieldID()

int SlaveVariable::getFieldID ( )
inline

Definition at line 31 of file fei_SlaveVariable.hpp.

References fieldID_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

◆ setFieldID()

void SlaveVariable::setFieldID ( int  fid)
inline

Definition at line 32 of file fei_SlaveVariable.hpp.

References fieldID_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

◆ getFieldOffset()

int SlaveVariable::getFieldOffset ( )
inline

Definition at line 34 of file fei_SlaveVariable.hpp.

References offset_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

◆ setFieldOffset()

void SlaveVariable::setFieldOffset ( int  foff)
inline

Definition at line 35 of file fei_SlaveVariable.hpp.

References offset_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

◆ getMasterNodeIDs()

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

Definition at line 37 of file fei_SlaveVariable.hpp.

References masterNodes_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

◆ getMasterFields()

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

Definition at line 38 of file fei_SlaveVariable.hpp.

References masterFields_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

◆ getWeights()

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

Definition at line 39 of file fei_SlaveVariable.hpp.

References weights_.

Referenced by SNL_FEI_Structure::calculateSlaveEqns().

◆ addMasterNodeID()

void SlaveVariable::addMasterNodeID ( GlobalID  masterNode)
inline

Definition at line 41 of file fei_SlaveVariable.hpp.

References masterNodes_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

◆ addMasterField()

void SlaveVariable::addMasterField ( int  masterField)
inline

Definition at line 44 of file fei_SlaveVariable.hpp.

References masterFields_.

Referenced by SNL_FEI_Structure::initSlaveVariable().

◆ addWeight()

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

◆ nodeID_

GlobalID SlaveVariable::nodeID_
private

Definition at line 51 of file fei_SlaveVariable.hpp.

Referenced by getNodeID(), and setNodeID().

◆ fieldID_

int SlaveVariable::fieldID_
private

Definition at line 52 of file fei_SlaveVariable.hpp.

Referenced by getFieldID(), and setFieldID().

◆ offset_

int SlaveVariable::offset_
private

Definition at line 53 of file fei_SlaveVariable.hpp.

Referenced by getFieldOffset(), and setFieldOffset().

◆ masterNodes_

std::vector<GlobalID>* SlaveVariable::masterNodes_
private

◆ masterFields_

std::vector<int>* SlaveVariable::masterFields_
private

◆ weights_

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: