recompShpFct.hh

Go to the documentation of this file.
1 
6 #ifndef hprecompShpFct2D_hh
7 #define hprecompShpFct2D_hh
8 
9 #include "basics/typedefs.hh"
10 #include "basics/outputOperator.hh"
11 #include "hp2D/quad.hh"
12 
13 namespace hp2D {
14 
15  // ***************************************************** RecomputeShapefct **
16 
18  public:
20  enum concepts::intRule rule,
21  bool constant, uint points) :
22  spc_(&spc), rule_(rule), constant_(constant), dtltPoints_(points) {}
23  uint& operator[](const uint attrib) { return points_[attrib]; }
25  void compute();
26  protected:
27  virtual std::ostream& info(std::ostream& os) const;
30  bool constant_;
32  std::map<uint, uint> points_;
33  };
34 
35 } // namespace hp2D
36 
37 #endif // hprecompShpFct2D_hh
std::map< uint, uint > points_
Definition: recompShpFct.hh:32
void compute()
Recomputing of shape functions.
concepts::Space< Real > * spc_
Definition: recompShpFct.hh:28
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
2D hp-FEM for H1-conforming elements.
uint & operator[](const uint attrib)
Definition: recompShpFct.hh:23
intRule
Types of integration rules to choose from.
Definition: defines.hh:13
enum concepts::intRule rule_
Definition: recompShpFct.hh:29
RecomputeShapefct(concepts::Space< Real > &spc, enum concepts::intRule rule, bool constant, uint points)
Definition: recompShpFct.hh:19
Class providing an output operator.
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich