gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
GaussQuadratureHex.cpp File Reference
#include <vector>
#include "GaussIntegration.h"
#include "GaussLegendre1D.h"
Include dependency graph for GaussQuadratureHex.cpp:

Go to the source code of this file.

Functions

static std::vector< IntPt * > GQHGL (40, nullptr)
 
IntPtgetGQHPts (int order, bool forceTensorRule)
 
int getNGQHPts (int order, bool forceTensorRule)
 

Variables

const double a1 = 0.40824826
 
const double ma1 = -0.40824826
 
const double a2 = 0.81649658
 
const double ma2 = -0.81649658
 
const double b1 = 0.70710678
 
const double mb1 = -0.70710678
 
const double c1 = 0.57735027
 
const double mc1 = -0.57735027
 
const double w1 = 1.3333333333
 
const double xh6 [6] = {a1, a1, ma1, ma1, ma2, a2}
 
const double yh6 [6] = {b1, mb1, b1, mb1, 0., 0.}
 
const double zh6 [6] = {mc1, mc1, c1, c1, mc1, c1}
 
const double ph6 [6] = {w1, w1, w1, w1, w1, w1}
 
IntPt GQH1 [1] = {{{0.0, 0.0, 0.0}, 8.0}}
 
IntPt GQH6 [6]
 
const double xh8 [8]
 
const double yh8 [8]
 
const double zh8 [8]
 
const double ph8 [8] = {1., 1., 1., 1., 1., 1., 1., 1.}
 
IntPt GQH8 [8]
 
IntPt GQH34 [34]
 
static IntPtGQH [2] = {GQH1, GQH6}
 
static int GQHnPt [2] = {1, 6}
 

Function Documentation

◆ getGQHPts()

IntPt* getGQHPts ( int  order,
bool  forceTensorRule 
)

Definition at line 88 of file GaussQuadratureHex.cpp.

Referenced by gaussIntegration::get(), gaussIntegration::getHexahedron(), and MHexahedron::getIntegrationPoints().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNGQHPts()

int getNGQHPts ( int  order,
bool  forceTensorRule 
)

Definition at line 115 of file GaussQuadratureHex.cpp.

Referenced by gaussIntegration::get(), gaussIntegration::getHexahedron(), and MHexahedron::getIntegrationPoints().

Here is the caller graph for this function:

◆ GQHGL()

static std::vector<IntPt *> GQHGL ( 40  ,
nullptr   
)
static

Referenced by getGQHPts().

Here is the caller graph for this function:

Variable Documentation

◆ a1

◆ a2

◆ b1

◆ c1

◆ GQH

IntPt* GQH[2] = {GQH1, GQH6}
static

Definition at line 84 of file GaussQuadratureHex.cpp.

Referenced by getGQHPts().

◆ GQH1

IntPt GQH1[1] = {{{0.0, 0.0, 0.0}, 8.0}}

Definition at line 24 of file GaussQuadratureHex.cpp.

◆ GQH34

IntPt GQH34[34]

Definition at line 48 of file GaussQuadratureHex.cpp.

◆ GQH6

IntPt GQH6[6]
Initial value:
= {
{{xh6[0], yh6[0], zh6[0]}, ph6[0]}, {{xh6[1], yh6[1], zh6[1]}, ph6[1]},
{{xh6[2], yh6[2], zh6[2]}, ph6[2]}, {{xh6[3], yh6[3], zh6[3]}, ph6[3]},
{{xh6[4], yh6[4], zh6[4]}, ph6[4]}, {{xh6[5], yh6[5], zh6[5]}, ph6[5]}}

Definition at line 26 of file GaussQuadratureHex.cpp.

◆ GQH8

IntPt GQH8[8]
Initial value:
= {
{{xh8[0], yh8[0], zh8[0]}, ph8[0]}, {{xh8[1], yh8[1], zh8[1]}, ph8[1]},
{{xh8[2], yh8[2], zh8[2]}, ph8[2]}, {{xh8[3], yh8[3], zh8[3]}, ph8[3]},
{{xh8[4], yh8[4], zh8[4]}, ph8[4]}, {{xh8[5], yh8[5], zh8[5]}, ph8[5]},
{{xh8[6], yh8[6], zh8[6]}, ph8[6]}, {{xh8[7], yh8[7], zh8[7]}, ph8[7]}}

Definition at line 42 of file GaussQuadratureHex.cpp.

◆ GQHnPt

int GQHnPt[2] = {1, 6}
static

Definition at line 85 of file GaussQuadratureHex.cpp.

Referenced by getNGQHPts().

◆ ma1

const double ma1 = -0.40824826

Definition at line 11 of file GaussQuadratureHex.cpp.

◆ ma2

const double ma2 = -0.81649658

Definition at line 13 of file GaussQuadratureHex.cpp.

◆ mb1

const double mb1 = -0.70710678

Definition at line 15 of file GaussQuadratureHex.cpp.

◆ mc1

const double mc1 = -0.57735027

Definition at line 17 of file GaussQuadratureHex.cpp.

◆ ph6

const double ph6[6] = {w1, w1, w1, w1, w1, w1}

Definition at line 22 of file GaussQuadratureHex.cpp.

◆ ph8

const double ph8[8] = {1., 1., 1., 1., 1., 1., 1., 1.}

Definition at line 41 of file GaussQuadratureHex.cpp.

◆ w1

◆ xh6

const double xh6[6] = {a1, a1, ma1, ma1, ma2, a2}

Definition at line 19 of file GaussQuadratureHex.cpp.

◆ xh8

const double xh8[8]
Initial value:
= {
0.577350269189626, -0.577350269189626, 0.577350269189626, -0.577350269189626,
0.577350269189626, -0.577350269189626, 0.577350269189626, -0.577350269189626}

Definition at line 31 of file GaussQuadratureHex.cpp.

◆ yh6

const double yh6[6] = {b1, mb1, b1, mb1, 0., 0.}

Definition at line 20 of file GaussQuadratureHex.cpp.

◆ yh8

const double yh8[8]
Initial value:
= {
0.577350269189626, 0.577350269189626, -0.577350269189626, -0.577350269189626,
0.577350269189626, 0.577350269189626, -0.577350269189626, -0.577350269189626}

Definition at line 34 of file GaussQuadratureHex.cpp.

◆ zh6

const double zh6[6] = {mc1, mc1, c1, c1, mc1, c1}

Definition at line 21 of file GaussQuadratureHex.cpp.

◆ zh8

const double zh8[8]
Initial value:
= {-0.577350269189626, -0.577350269189626,
-0.577350269189626, -0.577350269189626,
0.577350269189626, 0.577350269189626,
0.577350269189626, 0.577350269189626}

Definition at line 37 of file GaussQuadratureHex.cpp.

yh6
const double yh6[6]
Definition: GaussQuadratureHex.cpp:20
zh8
const double zh8[8]
Definition: GaussQuadratureHex.cpp:37
xh6
const double xh6[6]
Definition: GaussQuadratureHex.cpp:19
yh8
const double yh8[8]
Definition: GaussQuadratureHex.cpp:34
ph8
const double ph8[8]
Definition: GaussQuadratureHex.cpp:41
zh6
const double zh6[6]
Definition: GaussQuadratureHex.cpp:21
xh8
const double xh8[8]
Definition: GaussQuadratureHex.cpp:31
ph6
const double ph6[6]
Definition: GaussQuadratureHex.cpp:22