gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
BergotBasis.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 
6 #ifndef BERGOTBASIS_H
7 #define BERGOTBASIS_H
8 
9 #include "nodalBasis.h"
10 #include "polynomialBasis.h"
11 
12 // Basis functios for pyramidal elements: cf. M. Bergot, G. Cohen, M. Durufle,
13 // HIGHER-ORDER FINITE ELEMENTS FOR HYBRID MESHES USING NEW NODAL PYRAMIDAL
14 // ELEMENTS, J. Sci. Comput. 42, 3 (2010) 345-381", DOI:
15 // 10.1007/s10915-009-9334-9
16 
17 class BergotBasis {
18 public:
19  BergotBasis(int p, bool incpl = false);
20  virtual ~BergotBasis();
21 
22  void f(double u, double v, double w, double *val) const;
23  void df(double u, double v, double w, double grads[][3]) const;
24 
25  void initialize(){};
26 
27  bool validIJ(int i, int j) const;
28 
29 private:
30  int order;
31  bool incomplete;
33 };
34 
35 #endif
BergotBasis::df
void df(double u, double v, double w, double grads[][3]) const
Definition: BergotBasis.cpp:80
BergotBasis::validIJ
bool validIJ(int i, int j) const
Definition: BergotBasis.cpp:20
nodalBasis.h
BergotBasis::initialize
void initialize()
Definition: BergotBasis.h:25
BergotBasis::incomplete
bool incomplete
serendipity interpolation
Definition: BergotBasis.h:32
BergotBasis::order
int order
Definition: BergotBasis.h:30
polynomialBasis.h
BergotBasis
Definition: BergotBasis.h:17
BergotBasis::f
void f(double u, double v, double w, double *val) const
Definition: BergotBasis.cpp:33
BergotBasis::~BergotBasis
virtual ~BergotBasis()
Definition: BergotBasis.cpp:18
BergotBasis::BergotBasis
BergotBasis(int p, bool incpl=false)
Definition: BergotBasis.cpp:11