gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
pyramidalBasis.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 PYRAMIDALBASIS_H
7
#define PYRAMIDALBASIS_H
8
9
#include "
fullMatrix.h
"
10
#include "
nodalBasis.h
"
11
#include "
BergotBasis.h
"
12
13
class
pyramidalBasis
:
public
nodalBasis
{
14
private
:
15
// Orthogonal basis for the pyramid
16
BergotBasis
*
bergot
;
17
fullMatrix<double>
bergotCoefficients
;
18
19
public
:
20
fullMatrix<double>
coefficients
;
21
fullMatrix<double>
monomials
;
22
23
public
:
24
pyramidalBasis
(
int
tag);
25
~pyramidalBasis
();
26
virtual
void
f
(
double
u,
double
v,
double
w,
double
*val)
const
;
27
virtual
void
f
(
const
fullMatrix<double>
&coord,
fullMatrix<double>
&sf)
const
;
28
virtual
void
f
(
double
u,
double
v,
double
w,
int
i,
double
*val)
const
;
29
virtual
void
df
(
double
u,
double
v,
double
w,
double
grads[][3])
const
;
30
virtual
void
df
(
const
fullMatrix<double>
&coord,
31
fullMatrix<double>
&dfm)
const
;
32
virtual
void
df
(
double
u,
double
v,
double
w,
int
i,
double
grad[3])
const
;
33
virtual
int
getNumShapeFunctions
()
const
;
34
};
35
36
#endif
pyramidalBasis::monomials
fullMatrix< double > monomials
Definition:
pyramidalBasis.h:21
pyramidalBasis::coefficients
fullMatrix< double > coefficients
Definition:
pyramidalBasis.h:20
pyramidalBasis::bergot
BergotBasis * bergot
Definition:
pyramidalBasis.h:16
nodalBasis.h
BergotBasis.h
fullMatrix< double >
pyramidalBasis::getNumShapeFunctions
virtual int getNumShapeFunctions() const
Definition:
pyramidalBasis.cpp:66
pyramidalBasis::~pyramidalBasis
~pyramidalBasis()
Definition:
pyramidalBasis.cpp:61
pyramidalBasis::pyramidalBasis
pyramidalBasis(int tag)
Definition:
pyramidalBasis.cpp:11
pyramidalBasis
Definition:
pyramidalBasis.h:13
pyramidalBasis::df
virtual void df(double u, double v, double w, double grads[][3]) const
Definition:
pyramidalBasis.cpp:127
pyramidalBasis::bergotCoefficients
fullMatrix< double > bergotCoefficients
Definition:
pyramidalBasis.h:17
BergotBasis
Definition:
BergotBasis.h:17
nodalBasis
Definition:
nodalBasis.h:12
pyramidalBasis::f
virtual void f(double u, double v, double w, double *val) const
Definition:
pyramidalBasis.cpp:68
fullMatrix.h
src
numeric
pyramidalBasis.h
Generated by
1.8.18