Class documentation of Concepts

Loading...
Searching...
No Matches
analytical.hh
Go to the documentation of this file.
1
8#ifndef analyticalConstr_hh
9#define analyticalConstr_hh
10
15
16namespace concepts {
17 template<typename F>
18 class TColumn;
19}
20
21namespace constraints {
22
23 template<typename F>
24 class Element;
25
26 // ************************************************** AnalyticalConstraint **
27
41 template<typename F>
43 public:
48 virtual void lengthT(const concepts::Element<F>& e, uint& length) = 0;
76 virtual void assembly(const concepts::Element<F>& e,
77 concepts::TColumn<F>*& t, uint& n, uint& j,
78 uint length) = 0;
82 virtual AnalyticalConstraint<F>* clone() const = 0;
83
94 virtual void localMatrix(concepts::ElementMatrix<F>& em, uint& j,
95 const Element<F>& elm) const = 0;
96
100 virtual void localVector(concepts::ElementMatrix<F>& em, uint& j,
101 const Element<F>& elm) const = 0;
102 };
103
104 // ******************************************************* ConstraintsList **
105
109 template<typename F>
111 public concepts::LinearForm<F> {
112 public:
114 ConstraintsList() : n_(0), constraints_(0) {}
115 virtual ~ConstraintsList();
116
121
126
132 concepts::TColumn<F>*& t, uint& n);
133
134 virtual void operator()(const concepts::Element<F>& elmX,
135 const concepts::Element<F>& elmY,
137
138 virtual void operator()(const concepts::Element<F>& elm,
140
141 virtual ConstraintsList* clone() const;
142 protected:
143 virtual std::ostream& info(std::ostream& os) const;
144 private:
146 uint n_;
147
150 };
151
152} // namespace constraints
153
154#endif // analyticalConstr_hh
virtual void lengthT(const concepts::Element< F > &e, uint &length)=0
virtual void assembly(const concepts::Element< F > &e, concepts::TColumn< F > *&t, uint &n, uint &j, uint length)=0
virtual AnalyticalConstraint< F > * clone() const =0
virtual void localVector(concepts::ElementMatrix< F > &em, uint &j, const Element< F > &elm) const =0
virtual void localMatrix(concepts::ElementMatrix< F > &em, uint &j, const Element< F > &elm) const =0
void add(AnalyticalConstraint< F > *c)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void assembly(const concepts::Element< F > &e, concepts::TColumn< F > *&t, uint &n)
virtual ConstraintsList * clone() const
ConstraintsList()
Default constructor.
void add(const AnalyticalConstraint< F > &c)
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility
Definition element.hh:267