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

Go to the source code of this file.

Functions

static std::vector< IntPt * > GQQGL (40, nullptr)
 
IntPtgetGQQPts (int order, bool forceTensorRule)
 
int getNGQQPts (int order, bool forceTensorRule)
 

Variables

IntPt GQQ1 [1] = {{{0.0, 0.0, 0.0}, 4.0}}
 
const double xq3 [3] = {0.816496580928, -0.408248290464, -0.408248290464}
 
const double yq3 [3] = {0.0, 0.840896415255, -0.840896415255}
 
const double pq3 [3] = {1.3333333333333, 1.3333333333333, 1.3333333333333}
 
IntPt GQQ3 [3]
 
const double xq4 [4]
 
const double yq4 [4]
 
const double pq4 [4] = {1., 1., 1., 1.}
 
IntPt GQQ4 [4]
 
const double xq7 [7]
 
const double yq7 [7]
 
const double pq7 [7]
 
IntPt GQQ7 [7]
 
const double a9 = 0.774596669241483
 
const double z = 0.0
 
const double xq9 [9] = {-a9, z, a9, -a9, z, a9, -a9, z, a9}
 
const double yq9 [9] = {-a9, -a9, -a9, z, z, z, a9, a9, a9}
 
const double pb2 = 0.888888888888889 * 0.888888888888889
 
const double pc2 = 0.555555555555556 * 0.555555555555556
 
const double pbc = 0.555555555555556 * 0.888888888888889
 
const double pq9 [9] = {pc2, pbc, pc2, pbc, pb2, pbc, pc2, pbc, pc2}
 
IntPt GQQ9 [9]
 
const double a16 = 0.861136311594053
 
const double b16 = 0.339981043584856
 
const double xq16 [16]
 
const double yq16 [16]
 
const double pe2 = 0.347854845137454 * 0.347854845137454
 
const double pf2 = 0.652145154862546 * 0.652145154862546
 
const double pef = 0.347854845137454 * 0.652145154862546
 
double pq16 [16]
 
IntPt GQQ16 [16]
 
static IntPtGQQ [3] = {GQQ1, GQQ3, GQQ7}
 
static int GQQnPt [3] = {1, 3, 7}
 

Function Documentation

◆ getGQQPts()

IntPt* getGQQPts ( int  order,
bool  forceTensorRule 
)

Definition at line 99 of file GaussQuadratureQuad.cpp.

Referenced by gaussIntegration::get(), MQuadrangle::getIntegrationPoints(), and gaussIntegration::getQuad().

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

◆ getNGQQPts()

int getNGQQPts ( int  order,
bool  forceTensorRule 
)

Definition at line 124 of file GaussQuadratureQuad.cpp.

Referenced by gaussIntegration::get(), MQuadrangle::getIntegrationPoints(), and gaussIntegration::getQuad().

Here is the caller graph for this function:

◆ GQQGL()

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

Referenced by getGQQPts().

Here is the caller graph for this function:

Variable Documentation

◆ a16

const double a16 = 0.861136311594053

Definition at line 70 of file GaussQuadratureQuad.cpp.

◆ a9

const double a9 = 0.774596669241483

Definition at line 55 of file GaussQuadratureQuad.cpp.

◆ b16

const double b16 = 0.339981043584856

Definition at line 71 of file GaussQuadratureQuad.cpp.

◆ GQQ

IntPt* GQQ[3] = {GQQ1, GQQ3, GQQ7}
static

Definition at line 95 of file GaussQuadratureQuad.cpp.

Referenced by getGQQPts().

◆ GQQ1

IntPt GQQ1[1] = {{{0.0, 0.0, 0.0}, 4.0}}

Definition at line 11 of file GaussQuadratureQuad.cpp.

◆ GQQ16

IntPt GQQ16[16]
Initial value:
= {
{{xq16[0], yq16[0], 0}, pq16[0]}, {{xq16[1], yq16[1], 0}, pq16[1]},
{{xq16[2], yq16[2], 0}, pq16[2]}, {{xq16[3], yq16[3], 0}, pq16[3]},
{{xq16[4], yq16[4], 0}, pq16[4]}, {{xq16[5], yq16[5], 0}, pq16[5]},
{{xq16[6], yq16[6], 0}, pq16[6]}, {{xq16[7], yq16[7], 0}, pq16[7]},
{{xq16[8], yq16[8], 0}, pq16[8]}, {{xq16[9], yq16[9], 0}, pq16[9]},
{{xq16[10], yq16[10], 0}, pq16[10]}, {{xq16[11], yq16[11], 0}, pq16[11]},
{{xq16[12], yq16[12], 0}, pq16[12]}, {{xq16[13], yq16[13], 0}, pq16[13]},
{{xq16[14], yq16[14], 0}, pq16[14]}, {{xq16[15], yq16[15], 0}, pq16[15]}}

Definition at line 83 of file GaussQuadratureQuad.cpp.

◆ GQQ3

IntPt GQQ3[3]
Initial value:
= {{{xq3[0], yq3[0], 0}, pq3[0]},
{{xq3[1], yq3[1], 0}, pq3[1]},
{{xq3[2], yq3[2], 0}, pq3[2]}}

Definition at line 16 of file GaussQuadratureQuad.cpp.

◆ GQQ4

IntPt GQQ4[4]
Initial value:
= {
{{xq4[0], yq4[0], 0}, pq4[0]},
{{xq4[1], yq4[1], 0}, pq4[1]},
{{xq4[2], yq4[2], 0}, pq4[2]},
{{xq4[3], yq4[3], 0}, pq4[3]},
}

Definition at line 25 of file GaussQuadratureQuad.cpp.

◆ GQQ7

IntPt GQQ7[7]
Initial value:
= {{{xq7[0], yq7[0], 0}, pq7[0]}, {{xq7[1], yq7[1], 0}, pq7[1]},
{{xq7[2], yq7[2], 0}, pq7[2]}, {{xq7[3], yq7[3], 0}, pq7[3]},
{{xq7[4], yq7[4], 0}, pq7[4]}, {{xq7[5], yq7[5], 0}, pq7[5]},
{{xq7[6], yq7[6], 0}, pq7[6]}}

Definition at line 50 of file GaussQuadratureQuad.cpp.

◆ GQQ9

IntPt GQQ9[9]
Initial value:
= {{{xq9[0], yq9[0], 0}, pq9[0]}, {{xq9[1], yq9[1], 0}, pq9[1]},
{{xq9[2], yq9[2], 0}, pq9[2]}, {{xq9[3], yq9[3], 0}, pq9[3]},
{{xq9[4], yq9[4], 0}, pq9[4]}, {{xq9[5], yq9[5], 0}, pq9[5]},
{{xq9[6], yq9[6], 0}, pq9[6]}, {{xq9[7], yq9[7], 0}, pq9[7]},
{{xq9[8], yq9[8], 0}, pq9[8]}}

Definition at line 64 of file GaussQuadratureQuad.cpp.

◆ GQQnPt

int GQQnPt[3] = {1, 3, 7}
static

Definition at line 96 of file GaussQuadratureQuad.cpp.

Referenced by getNGQQPts().

◆ pb2

const double pb2 = 0.888888888888889 * 0.888888888888889

Definition at line 59 of file GaussQuadratureQuad.cpp.

◆ pbc

const double pbc = 0.555555555555556 * 0.888888888888889

Definition at line 61 of file GaussQuadratureQuad.cpp.

◆ pc2

const double pc2 = 0.555555555555556 * 0.555555555555556

Definition at line 60 of file GaussQuadratureQuad.cpp.

Referenced by ReplaceDuplicateCurves().

◆ pe2

◆ pef

const double pef = 0.347854845137454 * 0.652145154862546

Definition at line 78 of file GaussQuadratureQuad.cpp.

◆ pf2

const double pf2 = 0.652145154862546 * 0.652145154862546

◆ pq16

double pq16[16]
Initial value:
= {pe2, pef, pef, pe2, pef, pf2, pf2, pef,
pef, pf2, pf2, pef, pe2, pef, pef, pe2}

Definition at line 80 of file GaussQuadratureQuad.cpp.

◆ pq3

const double pq3[3] = {1.3333333333333, 1.3333333333333, 1.3333333333333}

Definition at line 15 of file GaussQuadratureQuad.cpp.

◆ pq4

const double pq4[4] = {1., 1., 1., 1.}

Definition at line 24 of file GaussQuadratureQuad.cpp.

◆ pq7

const double pq7[7]
Initial value:
= {1.1428571428571428, 0.31746031746031744,
0.31746031746031744, 0.5555555555555556,
0.5555555555555556, 0.5555555555555556,
0.5555555555555556}

Definition at line 46 of file GaussQuadratureQuad.cpp.

◆ pq9

const double pq9[9] = {pc2, pbc, pc2, pbc, pb2, pbc, pc2, pbc, pc2}

Definition at line 62 of file GaussQuadratureQuad.cpp.

◆ xq16

const double xq16[16]
Initial value:
= {-a16, -b16, b16, a16, -a16, -b16, b16, a16,
-a16, -b16, b16, a16, -a16, -b16, b16, a16}

Definition at line 72 of file GaussQuadratureQuad.cpp.

◆ xq3

const double xq3[3] = {0.816496580928, -0.408248290464, -0.408248290464}

Definition at line 13 of file GaussQuadratureQuad.cpp.

◆ xq4

const double xq4[4]
Initial value:
= {0.577350269189626, -0.577350269189626, 0.577350269189626,
-0.577350269189626}

Definition at line 20 of file GaussQuadratureQuad.cpp.

◆ xq7

const double xq7[7]
Initial value:
= {0.,
0.,
0.,
0.7745966692414834,
0.7745966692414834,
-0.7745966692414834,
-0.7745966692414834}

Definition at line 32 of file GaussQuadratureQuad.cpp.

◆ xq9

const double xq9[9] = {-a9, z, a9, -a9, z, a9, -a9, z, a9}

Definition at line 57 of file GaussQuadratureQuad.cpp.

◆ yq16

const double yq16[16]
Initial value:
= {-a16, -a16, -a16, -a16, -b16, -b16, -b16, -b16,
b16, b16, b16, b16, a16, a16, a16, a16}

Definition at line 74 of file GaussQuadratureQuad.cpp.

◆ yq3

const double yq3[3] = {0.0, 0.840896415255, -0.840896415255}

Definition at line 14 of file GaussQuadratureQuad.cpp.

◆ yq4

const double yq4[4]
Initial value:
= {0.577350269189626, 0.577350269189626, -0.577350269189626,
-0.577350269189626}

Definition at line 22 of file GaussQuadratureQuad.cpp.

◆ yq7

const double yq7[7]
Initial value:
= {0.,
0.9660917830792959,
-0.9660917830792959,
0.7745966692414834,
-0.7745966692414834,
0.7745966692414834,
-0.7745966692414834}

Definition at line 39 of file GaussQuadratureQuad.cpp.

◆ yq9

const double yq9[9] = {-a9, -a9, -a9, z, z, z, a9, a9, a9}

Definition at line 58 of file GaussQuadratureQuad.cpp.

◆ z

const double z = 0.0

Definition at line 56 of file GaussQuadratureQuad.cpp.

Referenced by VertexArray::_addVertex(), discreteFace::_createGeometryFromSTL(), GMSH_LevelsetPlugin::_cutAndAddElements(), GEO_Internals::_extrude(), MElement::_getEdgeRep(), MElement::_getFaceRep(), PViewDataList::_getString(), _myGetEdgeRep(), _myGetFaceRep(), _printTris(), _relocateVertexGolden(), _relocateVertexOfPyramid(), GModel::_storeElementsInEntities(), GEO_Internals::_transform(), smooth_data::add(), smooth_normals::add(), VertexArray::add(), BDS_Mesh::add_point(), smooth_data::add_scale(), addElementsInArrays(), addExtrudeNormals(), addInView(), adaptiveElements< T >::addInView(), adaptiveElements< T >::addInViewForVTK(), addOutlineLine(), addOutlineQuadrangle(), addOutlineTriangle(), addScalarLine(), addScalarTetrahedron(), addScalarTriangle(), addSmoothNormals(), addTensorElement(), AddToTemporaryBoundingBox(), GEO_Internals::addVertex(), qmHexahedron::angles(), MElement::barycenterUVW(), drawContext::buildRotationMatrix(), tetgenmesh::calculateabovepoint(), changeCoordinates(), discreteFace::param::checkPlanar(), robin_hood::detail::Table< IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual >::clear(), gmshFace::closestPoint(), collapseVertex(), BoundaryLayerField::computeFor1dMesh(), meshMetric::computeHessian(), gLevelsetPoints::computeLS(), GFace::computeMeanPlane(), meshMetric::computeMetricEigenDir(), meshMetric::computeMetricFrey(), meshMetric::computeMetricHessian(), meshMetric::computeMetricIsoLinInterp(), meshMetric::computeMetricLevelSet(), SBoundingBox3d::contains(), copyMesh(), elementFactory::create(), createElements(), discreteEdge::createGeometry(), createVertices(), MakeSimplex::decompose(), decomposeList(), GEO_Internals::dilate(), femTerm< scalar >::dirichletNodalBC(), GMSH_ProbePlugin::draw(), drawArrays(), drawContext::drawArrow3d(), drawContext::drawCube(), drawContext::drawCylinder(), drawContext::drawEllipse(), drawContext::drawEllipsoid(), drawEntityLabel(), drawContext::drawImage(), drawContext::drawPlaneInBoundingBox(), drawSimpleVector(), drawContext::drawSphere(), drawContext::drawString(), drawContext::drawStringCenter(), drawContext::drawStringRight(), drawContext::drawTaperedCylinder(), drawContext::drawVector(), drawVectorArray(), eigen(), element::element(), qmQuadrangle::eta(), myPlane::eval(), evalClipPlane(), MathEvalExpression::evaluate(), MathEvalExpressionAniso::evaluate(), OctreeField::Cell::evaluate(), GMSH_IntegratePlugin::execute(), GMSH_LongituteLatitudePlugin::execute(), GMSH_MinMaxPlugin::execute(), GMSH_SkinPlugin::execute(), GMSH_SphericalRaisePlugin::execute(), GMSH_CurlPlugin::execute(), GMSH_DivergencePlugin::execute(), GMSH_ExtractElementsPlugin::execute(), GMSH_GradientPlugin::execute(), GMSH_HarmonicToTimePlugin::execute(), GMSH_ModulusPhasePlugin::execute(), GMSH_TransformPlugin::execute(), GMSH_WarpPlugin::execute(), GMSH_ProbePlugin::execute(), GMSH_MathEvalPlugin::execute(), GMSH_ModifyComponentsPlugin::execute(), GMSH_Scal2VecPlugin::execute(), GMSH_Scal2TensPlugin::execute(), GMSH_SummationPlugin::execute(), GMSH_LevelsetPlugin::execute(), GMSH_NearToFarFieldPlugin::execute(), ExtrudeParams::Extrude(), extrudeMesh(), GFace::fillVertexArray(), MElementOctree::find(), MVertexRTree::find(), MElementOctree::findAll(), PViewData::findClosestNode(), gmshFace::firstDer(), FixNodalDofs(), MFaceN::frame(), PViewData::fromVector(), generateConnectivities(), smooth_data::get(), smooth_normals::get(), smooth_data::get_scale(), cartesianBox< scalar >::getCellContainingPoint(), MLine::getEdgeRep(), MTetrahedron::getEdgeRep(), MPolyhedron::getEdgeRep(), MTrihedron::getEdgeRep(), MQuadrangle::getEdgeRep(), MTriangle::getEdgeRep(), MHexahedron::getEdgeRep(), MPrism::getEdgeRep(), MPyramid::getEdgeRep(), MLine3::getEdgeRep(), MTriangle6::getEdgeRep(), MLineN::getEdgeRep(), MQuadrangle8::getEdgeRep(), MPolygon::getEdgeRep(), MTetrahedron10::getEdgeRep(), MPrism15::getEdgeRep(), MHexahedron20::getEdgeRep(), MPyramidN::getEdgeRep(), MTriangleN::getEdgeRep(), MQuadrangle9::getEdgeRep(), MPrism18::getEdgeRep(), MTetrahedronN::getEdgeRep(), MQuadrangleN::getEdgeRep(), MHexahedron27::getEdgeRep(), MPrismN::getEdgeRep(), MHexahedronN::getEdgeRep(), getExtrudedVertices(), MTetrahedron::getFaceRep(), MTriangle::getFaceRep(), MQuadrangle::getFaceRep(), MPolyhedron::getFaceRep(), MHexahedron::getFaceRep(), MTrihedron::getFaceRep(), MPrism::getFaceRep(), MPyramid::getFaceRep(), MTriangle6::getFaceRep(), MQuadrangle8::getFaceRep(), MPolygon::getFaceRep(), MTetrahedron10::getFaceRep(), MPrism15::getFaceRep(), MPyramidN::getFaceRep(), MHexahedron20::getFaceRep(), MTriangleN::getFaceRep(), MQuadrangle9::getFaceRep(), MPrism18::getFaceRep(), MTetrahedronN::getFaceRep(), MQuadrangleN::getFaceRep(), MHexahedron27::getFaceRep(), MPrismN::getFaceRep(), MHexahedronN::getFaceRep(), GMSH_NearToFarFieldPlugin::getFarFieldJin(), MQuadrangle::getInnerRadius(), getLineNormal(), GFace::getMeanPlaneData(), PViewDataList::getNode(), PViewDataGModel::getNode(), GEdge::getOBB(), PViewDataList::getString2D(), PViewDataList::getString3D(), cartesianBox< scalar >::getValueContainingPoint(), GEO_Internals::getVertex(), MTriangle::getVolume(), getVolumeVertices(), element::getXYZ(), gLevelsetGeneralQuadric::gLevelsetGeneralQuadric(), CurvatureField::grad_norm(), FuncGradDisc::gradient(), gLevelsetSphere::gradient(), gLevelsetMathEvalAll::gradient(), gLevelsetNACA00::gradient(), gradSimplex(), gLevelset::H(), gLevelsetSphere::hessian(), gLevelsetMathEvalAll::hessian(), gLevelsetNACA00::hessian(), MTet4::inCircumSphere(), insertActiveCells(), MElement::integrateFlux(), MEdge::interpolate(), interpVerticesInExistingFace(), discreteFace::intersectionWithCircle(), MEdge::isInside(), gLevelset::isInsideDomain(), gLevelset::isOnBorder(), IsoSimplex(), gLevelset::isOutsideDomain(), MEdge::length(), GMSH_CutPlanePlugin::levelset(), GMSH_CutSpherePlugin::levelset(), DocRecord::LowerCommonTangent(), SurfaceProjectorUtils::maxAbs(), MElementOctree::MElementOctree(), GEO_Internals::mergeVertices(), MeshTransfiniteSurface(), gmshPolarSphere::NewPolarSphere(), gmshSphere::NewSphere(), tetgenmesh::norm2(), MFace::normal(), objective_function(), PViewEvaluator::operator()(), simpleFunctionPython::operator()(), FuncHeaviside::operator()(), FieldPython::operator()(), FuncGradDisc::operator()(), drawGVertex::operator()(), meshMetric::operator()(), drawGEdge::operator()(), gLevelsetSphere::operator()(), StructuredField::operator()(), gLevelsetPlane::operator()(), BoundaryLayerField::operator()(), gLevelsetPoints::operator()(), gLevelsetQuadric::operator()(), drawGFace::operator()(), LonLatField::operator()(), gLevelsetPopcorn::operator()(), gLevelsetMathEval::operator()(), gLevelsetMathEvalAll::operator()(), gLevelsetSimpleFunction::operator()(), BoxField::operator()(), gLevelsetNACA00::operator()(), drawGRegion::operator()(), drawPView::operator()(), CylinderField::operator()(), GenericField::operator()(), gLevelsetTools::operator()(), gLevelsetReverse::operator()(), BallField::operator()(), FrustumField::operator()(), gLevelsetImproved::operator()(), ThresholdField::operator()(), GradientField::operator()(), CurvatureField::operator()(), MaxEigenHessianField::operator()(), LaplacianField::operator()(), MeanField::operator()(), MathEvalField::operator()(), MathEvalFieldAniso::operator()(), ExternalProcessField::operator()(), ParametricField::operator()(), MinAnisoField::operator()(), IntersectAnisoField::operator()(), MinField::operator()(), MaxField::operator()(), RestrictField::operator()(), gmshFace::parFromPoint(), PCoords::PCoords(), planarQuad_xyz2xy(), MEdgeN::pnt(), MFaceN::pnt(), MElement::pnt(), gmshFace::point(), gmshSphere::point(), MElement::primaryPnt(), GMSH_DistancePlugin::printView(), backgroundMesh::propagateCrossField(), backgroundMesh::propagateCrossFieldByDistance(), ProtudeXYZ(), PView::PView(), GModel::readACTRAN(), GModel::readBDF(), GModel::readGEOM(), elasticitySolver::readInputFile(), GModel::readMESH(), readMSH4Nodes(), GModel::readOFF(), GModel::readPLY(), GModel::readPLY2(), GModel::readSAMCEF(), GModel::readSTL(), GModel::readUNV(), readVertexBDF(), readVerticesVRML(), MakeSimplex::reorder(), GEO_Internals::revolve(), GEO_Internals::rotate(), MEdge::scaledTangent(), scriptAddBox(), scriptAddCircle(), scriptAddCone(), scriptAddCylinder(), scriptAddDisk(), scriptAddEllipse(), scriptAddPoint(), scriptAddRectangle(), scriptAddSphere(), scriptAddTorus(), scriptAddWedge(), OctreePost::searchScalar(), PViewData::searchScalar(), PViewData::searchScalarClosest(), OctreePost::searchTensor(), PViewData::searchTensor(), PViewData::searchTensorClosest(), OctreePost::searchVector(), PViewData::searchVector(), PViewData::searchVectorClosest(), PViewDataList::setNode(), PViewDataGModel::setNode(), drawContext::setQuaternionFromEulerAngles(), PViewDataList::setXYZV(), smoothList(), smoothVertex(), smoothVertexOptimize(), VertexArray::sort(), PolyMesh::split_triangle(), MFace::tangent(), MEdge::tangent(), tb_project_to_sphere(), transfiniteHex(), drawTransformScaled::transform(), drawContext::transform(), drawContext::transformOneForm(), drawContext::transformTwoForm(), GEO_Internals::twist(), DocRecord::UpperCommonTangent(), vset(), writeElementPOS(), GModel::writeIR3(), writeMSH4EntityNodes(), discreteEdge::writeParametrization(), PViewData::writePOS(), MElement::writePOS(), PViewData::writeSTL(), MElement::writeSTL(), writeSTLfaces(), writeTextPOS(), PViewData::writeTXT(), MElement::writeX3D(), and writeX3dFaces().

xq7
const double xq7[7]
Definition: GaussQuadratureQuad.cpp:32
yq9
const double yq9[9]
Definition: GaussQuadratureQuad.cpp:58
xq16
const double xq16[16]
Definition: GaussQuadratureQuad.cpp:72
xq9
const double xq9[9]
Definition: GaussQuadratureQuad.cpp:57
xq4
const double xq4[4]
Definition: GaussQuadratureQuad.cpp:20
pq16
double pq16[16]
Definition: GaussQuadratureQuad.cpp:80
pq4
const double pq4[4]
Definition: GaussQuadratureQuad.cpp:24
pe2
const double pe2
Definition: GaussQuadratureQuad.cpp:76
a16
const double a16
Definition: GaussQuadratureQuad.cpp:70
yq3
const double yq3[3]
Definition: GaussQuadratureQuad.cpp:14
yq4
const double yq4[4]
Definition: GaussQuadratureQuad.cpp:22
pf2
const double pf2
Definition: GaussQuadratureQuad.cpp:77
b16
const double b16
Definition: GaussQuadratureQuad.cpp:71
yq16
const double yq16[16]
Definition: GaussQuadratureQuad.cpp:74
pq3
const double pq3[3]
Definition: GaussQuadratureQuad.cpp:15
xq3
const double xq3[3]
Definition: GaussQuadratureQuad.cpp:13
yq7
const double yq7[7]
Definition: GaussQuadratureQuad.cpp:39
pef
const double pef
Definition: GaussQuadratureQuad.cpp:78
pq9
const double pq9[9]
Definition: GaussQuadratureQuad.cpp:62
pq7
const double pq7[7]
Definition: GaussQuadratureQuad.cpp:46