concepts::BoundaryConditions Class Reference
|void||add (const Set< Attribute > &attrib, const Boundary &bcObject)|
|Adds a boundary condition with this attribute to the list of boundary conditions. More...|
|Default constructor. More...|
|BoundaryConditions (const BoundaryConditions &bnd)|
|Copy constructor. More...|
|virtual Boundary||operator() (Attribute attrib) const|
|Application operator. More...|
|virtual std::ostream &||info (std::ostream &os) const|
|Returns information in an output stream. More...|
|std::map< uint, Boundary >||boundaries_|
|Dynamic array of boundaries with type and formula. More...|
The boundary conditions itself are held in a dynamic array. The application operator returns a boundary condition object based on its attribute.
Adding boundary conditions in the setup of the problem is done using the add method.
Since the default attribute for a free element of the topology is 0, be carefull with using the attribute 0 in the defintion of the boundary conditions.
- elasticity2D_tutorial.cc, howToGetStarted.cc, hpFEM2d-simple.cc, hpFEM2d.cc, hpFEM3d-EV.cc, inhomDirichletBCs.cc, inhomNeumannBCs.cc, linearDG1d.cc, linearFEM1d-simple.cc, linearFEM1d.cc, and parallelizationTutorial.cc.
Constructor & Destructor Documentation
Sets up the dynamic array.
|concepts::BoundaryConditions::BoundaryConditions||(||const BoundaryConditions &||bnd||)|
Member Function Documentation
|void concepts::BoundaryConditions::add||(||const Set< Attribute > &||attrib,|
|const Boundary &||bcObject|
Adds a boundary condition with this attribute to the list of boundary conditions.
Be carefull: boundary condition objects with the same attribute overwrite each other, the latest is valid.
attrib Attribute of a topological object (ie. vertex, edge etc.) bcObject Boundary condition object associated to attrib Adds boundary condition for a set of attributes
Returns information in an output stream.
Reimplemented from concepts::Semantics< Boundary >.
Member Data Documentation
The documentation for this class was generated from the following file: