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 Types | Private Member Functions | Private Attributes | List of all members
fei::DirichletBCManager Class Reference

#include <fei_DirichletBCManager.hpp>

Public Member Functions

 DirichletBCManager (SNL_FEI_Structure *structure)
 
 DirichletBCManager (fei::SharedPtr< fei::VectorSpace > vecspace)
 
 ~DirichletBCManager ()
 
void addBCRecords (int numBCs, int IDType, int fieldID, int offsetIntoField, const int *IDs, const double *prescribedValues)
 
void addBCRecords (int numBCs, int IDType, int fieldID, const int *IDs, const int *offsetsIntoField, const double *prescribedValues)
 
int finalizeBCEqns (fei::Matrix &matrix, bool throw_if_bc_slave_conflict=false)
 
int finalizeBCEqns (EqnBuffer &bcEqns)
 
size_t getNumBCRecords () const
 
void clearAllBCs ()
 

Private Types

typedef std::map< int, double,
std::less< int >
, fei_Pool_alloc< std::pair
< const int, double > > > 
bc_map
 

Private Member Functions

int getEqnNumber (int IDType, int ID, int fieldID, int offsetIntoField)
 

Private Attributes

SNL_FEI_Structurestructure_
 
fei::SharedPtr< fei::VectorSpacevecSpace_
 
bc_map bcs_
 

Detailed Description

Definition at line 25 of file fei_DirichletBCManager.hpp.

Member Typedef Documentation

typedef std::map<int,double,std::less<int>, fei_Pool_alloc<std::pair<const int, double> > > fei::DirichletBCManager::bc_map
private

Definition at line 65 of file fei_DirichletBCManager.hpp.

Constructor & Destructor Documentation

fei::DirichletBCManager::DirichletBCManager ( SNL_FEI_Structure structure)
inline

Definition at line 27 of file fei_DirichletBCManager.hpp.

fei::DirichletBCManager::DirichletBCManager ( fei::SharedPtr< fei::VectorSpace vecspace)
inline

Definition at line 30 of file fei_DirichletBCManager.hpp.

fei::DirichletBCManager::~DirichletBCManager ( )
inline

Definition at line 33 of file fei_DirichletBCManager.hpp.

Member Function Documentation

void fei::DirichletBCManager::addBCRecords ( int  numBCs,
int  IDType,
int  fieldID,
int  offsetIntoField,
const int *  IDs,
const double *  prescribedValues 
)
void fei::DirichletBCManager::addBCRecords ( int  numBCs,
int  IDType,
int  fieldID,
const int *  IDs,
const int *  offsetsIntoField,
const double *  prescribedValues 
)

Definition at line 85 of file fei_DirichletBCManager.cpp.

References bcs_, and getEqnNumber().

int fei::DirichletBCManager::finalizeBCEqns ( fei::Matrix matrix,
bool  throw_if_bc_slave_conflict = false 
)
int fei::DirichletBCManager::finalizeBCEqns ( EqnBuffer bcEqns)

Definition at line 146 of file fei_DirichletBCManager.cpp.

References EqnBuffer::addEqn(), bcs_, and CHK_ERR.

size_t fei::DirichletBCManager::getNumBCRecords ( ) const

Definition at line 164 of file fei_DirichletBCManager.cpp.

References bcs_.

void fei::DirichletBCManager::clearAllBCs ( )

Definition at line 170 of file fei_DirichletBCManager.cpp.

References bcs_.

Referenced by LinSysCoreFilter::resetMatrix(), and LinSysCoreFilter::resetRHSVector().

int fei::DirichletBCManager::getEqnNumber ( int  IDType,
int  ID,
int  fieldID,
int  offsetIntoField 
)
private

Member Data Documentation

SNL_FEI_Structure* fei::DirichletBCManager::structure_
private

Definition at line 61 of file fei_DirichletBCManager.hpp.

Referenced by getEqnNumber().

fei::SharedPtr<fei::VectorSpace> fei::DirichletBCManager::vecSpace_
private

Definition at line 62 of file fei_DirichletBCManager.hpp.

Referenced by getEqnNumber().

bc_map fei::DirichletBCManager::bcs_
private

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