Class documentation of Concepts

Loading...
Searching...
No Matches
boundaryConditions.hh
Go to the documentation of this file.
1
6#ifndef boundaryConditions_hh
7#define boundaryConditions_hh
8
9#include <map>
10#include "semantics.hh"
11#include "connectorSet.hh"
12
13namespace concepts {
14
15 // forward declarations
16 class Boundary; // defined in formula/boundary.hh
17
18 // **************************************************** BoundaryConditions **
19
38 class BoundaryConditions : public Semantics<Boundary> {
39
40 public:
44
47
54
63 virtual Boundary operator() (Attribute attrib) const;
64
75 void add(const Set<Attribute>& attrib, const Boundary& bcObject);
76 protected:
77 virtual std::ostream& info(std::ostream& os) const;
78 private:
82 mutable std::map<uint, Boundary> boundaries_;
83 };
84
85} // namespace concepts
86
87#endif // boundaryConditions_hh
BoundaryConditions(const BoundaryConditions &bnd)
Copy constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual Boundary operator()(Attribute attrib) const
void add(const Set< Attribute > &attrib, const Boundary &bcObject)
Adds boundary condition for a set of attributes.
Set< F > makeSet(uint n, const F &first,...)
Definition set.hh:320