1 #ifndef _fei_DirichletBCManager_hpp_
2 #define _fei_DirichletBCManager_hpp_
12 #include <fei_DirichletBCRecord.hpp>
13 #include <SNL_FEI_Structure.hpp>
14 #include <fei_VectorSpace.hpp>
16 #include <fei_Pool_alloc.hpp>
25 class DirichletBCManager {
28 : structure_(structure), vecSpace_() {}
31 : structure_(NULL), vecSpace_(vecspace) {}
33 ~DirichletBCManager(){}
35 void addBCRecords(
int numBCs,
40 const double* prescribedValues);
42 void addBCRecords(
int numBCs,
46 const int* offsetsIntoField,
47 const double* prescribedValues);
50 bool throw_if_bc_slave_conflict=
false);
54 size_t getNumBCRecords()
const;
59 int getEqnNumber(
int IDType,
int ID,
int fieldID,
int offsetIntoField);
64 typedef std::map<int,double,std::less<int>,