36 #ifndef ABSTRACTBOUNDARYCONDITIONSCONTAINER_HPP_ 37 #define ABSTRACTBOUNDARYCONDITIONSCONTAINER_HPP_ 41 #include <boost/utility.hpp> 42 #include "AbstractBoundaryCondition.hpp" 53 template<
unsigned SPACE_DIM>
71 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM,
unsigned PROBLEM_DIM>
82 typedef typename std::map< const Node<SPACE_DIM> *,
const AbstractBoundaryCondition<SPACE_DIM>*,
LessThanNode<SPACE_DIM> >::const_iterator
103 void DeleteDirichletBoundaryConditions(std::set<
const AbstractBoundaryCondition<SPACE_DIM>*> alreadyDeletedConditions
104 = std::set<
const AbstractBoundaryCondition<SPACE_DIM>*>());
126 bool HasDirichletBoundaryConditions();
138 double GetDirichletBCValue(
const Node<SPACE_DIM>* pBoundaryNode,
unsigned indexOfUnknown = 0);
146 bool HasDirichletBoundaryCondition(
const Node<SPACE_DIM>* pNode,
unsigned indexOfUnknown = 0);
155 mCheckedAndCommunicatedIfDirichletBcs =
false;
DirichletIteratorType mDirichIterator
bool operator()(const Node< SPACE_DIM > *const &n1, const Node< SPACE_DIM > *const &n2) const
std::map< const Node< SPACE_DIM > *, const AbstractBoundaryCondition< SPACE_DIM > *, LessThanNode< SPACE_DIM > >::const_iterator DirichletIteratorType
void ResetDirichletCommunication()
bool mCheckedAndCommunicatedIfDirichletBcs
unsigned GetIndex() const
std::map< const Node< SPACE_DIM > *, const AbstractBoundaryCondition< SPACE_DIM > *, LessThanNode< SPACE_DIM > > DirichletMapType