FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#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_Structure * | structure_ |
fei::SharedPtr< fei::VectorSpace > | vecSpace_ |
bc_map | bcs_ |
Definition at line 25 of file fei_DirichletBCManager.hpp.
|
private |
Definition at line 65 of file fei_DirichletBCManager.hpp.
|
inline |
Definition at line 27 of file fei_DirichletBCManager.hpp.
|
inline |
Definition at line 30 of file fei_DirichletBCManager.hpp.
|
inline |
Definition at line 33 of file fei_DirichletBCManager.hpp.
void fei::DirichletBCManager::addBCRecords | ( | int | numBCs, |
int | IDType, | ||
int | fieldID, | ||
int | offsetIntoField, | ||
const int * | IDs, | ||
const double * | prescribedValues | ||
) |
Definition at line 64 of file fei_DirichletBCManager.cpp.
References bcs_, and getEqnNumber().
Referenced by fei::LinearSystem::loadEssentialBCs(), and LinSysCoreFilter::loadNodeBCs().
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 |
||
) |
Definition at line 106 of file fei_DirichletBCManager.cpp.
References bcs_, CHK_ERR, fei::Matrix::copyIn(), FEI_OSTRINGSTREAM, fei::SharedPtr< T >::get(), fei::Matrix::getMatrixGraph(), fei::MatrixGraph::getReducer(), and fei::Reducer::isSlaveEqn().
Referenced by extractDirichletBCs(), and LinSysCoreFilter::implementAllBCs().
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().
|
private |
Definition at line 31 of file fei_DirichletBCManager.cpp.
References fei::console_out(), ERReturn, FEI_ENDL, FEI_OSTRINGSTREAM, fei::SharedPtr< T >::get(), NodeDescriptor::getFieldEqnNumber(), fei::VectorSpace::getGlobalIndex(), SNL_FEI_Structure::getNodeDatabase(), NodeDatabase::getNodeWithID(), structure_, and vecSpace_.
Referenced by addBCRecords().
|
private |
Definition at line 61 of file fei_DirichletBCManager.hpp.
Referenced by getEqnNumber().
|
private |
Definition at line 62 of file fei_DirichletBCManager.hpp.
Referenced by getEqnNumber().
|
private |
Definition at line 66 of file fei_DirichletBCManager.hpp.
Referenced by addBCRecords(), clearAllBCs(), finalizeBCEqns(), and getNumBCRecords().