linearForm.hh

Go to the documentation of this file.
1 
6 #ifndef linearFormV_hh
7 #define linearFormV_hh
8 
9 #include "vectorial.hh"
10 #include "function/linearForm.hh"
11 
12 namespace vectorial {
13 
14  // ************************************************************ LinearForm **
15 
19  template<class F, class G = typename concepts::Realtype<F>::type>
20  class LinearForm : public Vectorial<concepts::LinearForm<F,G> >,
21  public concepts::LinearForm<F,G> {
22  public:
23  LinearForm(const uint vdim, const uint arrayWidth = 0) :
24  Vectorial<concepts::LinearForm<F,G> >(vdim, vdim), deepCopies_(vdim) {
25  DEBUGL(LinearFormConstr_D, "done.");
26  }
27  virtual ~LinearForm();
28 
34  virtual void put(concepts::LinearForm<F,G> &lf, const uint i, const uint j=0);
35 
40  void putStore(concepts::LinearForm<F,G>* lf, const uint i);
41 
42  virtual void operator ()(const concepts::Element<G>& elm,
43  concepts::ElementMatrix<F>& em) const;
44  protected:
45  virtual std::ostream& info(std::ostream& os) const;
46  private:
50  };
51 
52 } // namespace vectorial
53 
54 #endif // linearFormV_hh
Vector valued problems.
Definition: spaceTraits.hh:24
virtual void put(concepts::LinearForm< F, G > &lf, const uint i, const uint j=0)
insert a Linearform lf of one vectorial dimension to the all v-dimensionial Linearform
concepts::Array< concepts::RCP< concepts::LinearForm< F, G > > > deepCopies_
Stores the deep copies of the component bilinear forms, if.
Definition: linearForm.hh:49
void putStore(concepts::LinearForm< F, G > *lf, const uint i)
Acts similarly to the normal put() command, but stores lf in deepCopies_ (without cloning lf first).
Abstract class for a linear form.
#define DEBUGL(doit, msg)
virtual void operator()(const concepts::Element< G > &elm, concepts::ElementMatrix< F > &em) const
virtual std::ostream & info(std::ostream &os) const
An array of objects.
Definition: bilinearForm.hh:23
Base class for most classes which do vector valued problems.
Definition: vectorial.hh:59
#define LinearFormConstr_D
Definition: vectorial.hh:35
Vector valued linear form.
Definition: linearForm.hh:38
Element matrix.
Definition: linearForm.hh:18
LinearForm(const uint vdim, const uint arrayWidth=0)
Definition: linearForm.hh:23
Basic namespace for Concepts-2.
Definition: pml_formula.h:16
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich