#include <BoundaryConditionSet.hpp>
Public Member Functions | |
| void | addBoundaryCondition (ConstReferenceCounting< BoundaryCondition > bc) |
| size_t | nbBoundaryCondition () const |
| const BoundaryCondition & | operator[] (const size_t i) const |
| BoundaryConditionSet (const BoundaryConditionSet &bcSet) | |
| BoundaryConditionSet () | |
| ~BoundaryConditionSet () | |
Private Attributes | |
| std::vector < ConstReferenceCounting < BoundaryCondition > > | __boundaryConditionSet |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const BoundaryConditionSet &bcSet) |
Definition at line 35 of file BoundaryConditionSet.hpp.
| BoundaryConditionSet::BoundaryConditionSet | ( | const BoundaryConditionSet & | bcSet | ) | [inline] |
Copy constructor
| bcSet | a given boundary condition |
Definition at line 97 of file BoundaryConditionSet.hpp.
00098 : __boundaryConditionSet(bcSet.__boundaryConditionSet) 00099 { 00100 ; 00101 }
| BoundaryConditionSet::BoundaryConditionSet | ( | ) | [inline] |
| BoundaryConditionSet::~BoundaryConditionSet | ( | ) | [inline] |
| void BoundaryConditionSet::addBoundaryCondition | ( | ConstReferenceCounting< BoundaryCondition > | bc | ) | [inline] |
Add a boundary condition to the list.
| bc | a boundary condition |
Definition at line 47 of file BoundaryConditionSet.hpp.
References __boundaryConditionSet.
Referenced by VariationalProblemExpression::__splitBoundaryList(), BoundaryConditionListExpressionSet::__splitBoundaryList(), VariationalProblemExpression::execute(), and BoundaryConditionListExpressionSet::execute().
00048 { 00049 __boundaryConditionSet.push_back(bc); 00050 }
| size_t BoundaryConditionSet::nbBoundaryCondition | ( | ) | const [inline] |
read only access to the number of boundary condition.
Definition at line 57 of file BoundaryConditionSet.hpp.
References __boundaryConditionSet.
Referenced by BoundaryMeshAssociation::__storesBoundariesAndMeshes(), and BoundaryConditionSurfaceMeshAssociation::BoundaryConditionSurfaceMeshAssociation().
00058 { 00059 return __boundaryConditionSet.size(); 00060 }
| const BoundaryCondition& BoundaryConditionSet::operator[] | ( | const size_t | i | ) | const [inline] |
Access to the ith boundary condition
| i | the number of the boundary condition to access |
Definition at line 69 of file BoundaryConditionSet.hpp.
References __boundaryConditionSet, and ASSERT.
00070 { 00071 ASSERT(i<__boundaryConditionSet.size()); 00072 return *(__boundaryConditionSet[i]); 00073 }
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const BoundaryConditionSet & | bcSet | |||
| ) | [friend] |
writes the ComponentBoundaryConditions.
| os | output stream | |
| bcSet | boundary condition ste |
Definition at line 84 of file BoundaryConditionSet.hpp.
00086 { 00087 for(size_t i=0; i<bcSet.__boundaryConditionSet.size(); ++i) 00088 os << *(bcSet.__boundaryConditionSet[i]) << '\n'; 00089 return os; 00090 }
std::vector<ConstReferenceCounting<BoundaryCondition> > BoundaryConditionSet::__boundaryConditionSet [private] |
list of boundary conditions
Definition at line 39 of file BoundaryConditionSet.hpp.
Referenced by addBoundaryCondition(), nbBoundaryCondition(), and operator[]().
1.5.6