gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
HierarchicalBasisH1Pri Class Reference

#include <HierarchicalBasisH1Pri.h>

Inheritance diagram for HierarchicalBasisH1Pri:
Collaboration diagram for HierarchicalBasisH1Pri:

Public Member Functions

 HierarchicalBasisH1Pri (int order)
 
virtual ~HierarchicalBasisH1Pri ()
 
virtual unsigned int getNumberOfOrientations () const
 
virtual void generateBasis (double const &u, double const &v, double const &w, std::vector< double > &vertexBasis, std::vector< double > &edgeBasis, std::vector< double > &faceBasis, std::vector< double > &bubbleBasis)
 
virtual void generateBasis (double const &u, double const &v, double const &w, std::vector< std::vector< double > > &vertexBasis, std::vector< std::vector< double > > &edgeBasis, std::vector< std::vector< double > > &faceBasis, std::vector< std::vector< double > > &bubbleBasis, std::string typeFunction="GradH1Legendre")
 
virtual void orientEdge (int const &flagOrientation, int const &edgeNumber, std::vector< double > &edgeFunctions, const std::vector< double > &eTablePositiveFlag, const std::vector< double > &eTableNegativeFlag)
 
virtual void orientEdge (int const &flagOrientation, int const &edgeNumber, std::vector< std::vector< double > > &edgeBasis, const std::vector< std::vector< double > > &eTablePositiveFlag, const std::vector< std::vector< double > > &eTableNegativeFlag)
 
virtual void orientEdgeFunctionsForNegativeFlag (std::vector< double > &edgeFunctions)
 
virtual void orientEdgeFunctionsForNegativeFlag (std::vector< std::vector< double > > &edgeFunctions)
 
virtual void orientFace (int const &flag1, int const &flag2, int const &flag3, int const &faceNumber, const std::vector< double > &quadFaceFunctionsAllOrientation, const std::vector< double > &triFaceFunctionsAllOrientation, std::vector< double > &fTableCopy)
 
virtual void orientFace (int const &flag1, int const &flag2, int const &flag3, int const &faceNumber, const std::vector< std::vector< double > > &quadFaceFunctionsAllOrientation, const std::vector< std::vector< double > > &triFaceFunctionsAllOrientation, std::vector< std::vector< double > > &fTableCopy)
 
virtual void getKeysInfo (std::vector< int > &functionTypeInfo, std::vector< int > &orderInfo)
 
- Public Member Functions inherited from HierarchicalBasisH1
virtual ~HierarchicalBasisH1 ()=0
 
virtual void addAllOrientedFaceFunctions (double const &u, double const &v, double const &w, const std::vector< double > &faceFunctions, std::vector< double > &quadFaceFunctionsAllOrientations, std::vector< double > &triFaceFunctionsAllOrientations)
 
virtual void addAllOrientedFaceFunctions (double const &u, double const &v, double const &w, const std::vector< std::vector< double > > &faceFunctions, std::vector< std::vector< double > > &quadFaceFunctionsAllOrientations, std::vector< std::vector< double > > &triFaceFunctionsAllOrientations, std::string typeFunction="GradH1Legendre")
 
- Public Member Functions inherited from HierarchicalBasis
virtual ~HierarchicalBasis ()=0
 
int getnVertexFunction () const
 
int getnEdgeFunction () const
 
int getnTriFaceFunction () const
 
int getnQuadFaceFunction () const
 
int getnBubbleFunction () const
 
int getNumTriFace () const
 
int getNumQuadFace () const
 
int getNumEdge () const
 
int numberOrientationQuadFace (int const &flag1, int const &flag2, int const &flag3)
 
int numberOrientationTriFace (int const &flag1, int const &flag2)
 

Private Member Functions

void generateGradientBasis (double const &u, double const &v, double const &w, std::vector< std::vector< double > > &gradientVertex, std::vector< std::vector< double > > &gradientEdge, std::vector< std::vector< double > > &gradientFace, std::vector< std::vector< double > > &gradientBubble)
 
virtual void orientOneFace (double const &u, double const &v, double const &w, int const &flag1, int const &flag2, int const &flag3, int const &faceNumber, std::vector< double > &faceBasis)
 
virtual void orientOneFace (double const &u, double const &v, double const &w, int const &flag1, int const &flag2, int const &flag3, int const &faceNumber, std::vector< std::vector< double > > &faceFunctions, std::string typeFunction="GradH1Legendre")
 

Static Private Member Functions

static double _affineCoordinate (const int &j, const double &u, const double &v, const double &w)
 

Private Attributes

int _pb1
 
int _pb2
 
int _pOrderEdge [9]
 
int _pOrderQuadFace1 [3]
 
int _pOrderQuadFace2 [3]
 
int _pOrderTriFace [2]
 

Additional Inherited Members

- Protected Attributes inherited from HierarchicalBasis
int _nvertex
 
int _nedge
 
int _nfaceQuad
 
int _nfaceTri
 
int _nVertexFunction
 
int _nEdgeFunction
 
int _nQuadFaceFunction
 
int _nTriFaceFunction
 
int _nBubbleFunction
 

Detailed Description

MPrism

          w
          ^
          |
          3
        ,/|`\
      ,/  |  `\
    ,/    |    `\
   4------+------5
   |      |      |
   |    ,/|`\    |
   |  ,/  |  `\  |
   |,/    |    `\|
  ,|      |      `\
,/ |      0      | `\

u | ,/ \ | v | ,/\ | |,/ `| 1----------—2

Oriented Edges: e0={0, 1}, e1={0, 2}, e2={0, 3}, e3={1, 2}, e4={1, 4}, e5={2, 5}, e6={3, 4}, e7={3, 5}, e8={4, 5}

Oriented Surfaces: s3={0, 1, 2}, s4={3, 4, 5}, s0={0, 1, 3, 4}, s1={0, 2, 3,5} s2={1,2,4,5} Local (directional) orders on mesh faces are not allowed to exceed the mini- mum of the (appropriate directional) orders of approximation associated with the interior of the adjacent elements. Local orders of approximation on mesh edges are limited by the minimum of all (appropriate directional) orders cor- responding to faces sharing that edge

Definition at line 50 of file HierarchicalBasisH1Pri.h.

Constructor & Destructor Documentation

◆ HierarchicalBasisH1Pri()

HierarchicalBasisH1Pri::HierarchicalBasisH1Pri ( int  order)

Definition at line 14 of file HierarchicalBasisH1Pri.cpp.

◆ ~HierarchicalBasisH1Pri()

HierarchicalBasisH1Pri::~HierarchicalBasisH1Pri ( )
virtual

Definition at line 38 of file HierarchicalBasisH1Pri.cpp.

Member Function Documentation

◆ _affineCoordinate()

double HierarchicalBasisH1Pri::_affineCoordinate ( const int &  j,
const double &  u,
const double &  v,
const double &  w 
)
staticprivate

Definition at line 45 of file HierarchicalBasisH1Pri.cpp.

Referenced by generateBasis(), generateGradientBasis(), and orientOneFace().

Here is the caller graph for this function:

◆ generateBasis() [1/2]

void HierarchicalBasisH1Pri::generateBasis ( double const &  u,
double const &  v,
double const &  w,
std::vector< double > &  vertexBasis,
std::vector< double > &  edgeBasis,
std::vector< double > &  faceBasis,
std::vector< double > &  bubbleBasis 
)
virtual

Implements HierarchicalBasisH1.

Definition at line 58 of file HierarchicalBasisH1Pri.cpp.

Here is the call graph for this function:

◆ generateBasis() [2/2]

virtual void HierarchicalBasisH1Pri::generateBasis ( double const &  u,
double const &  v,
double const &  w,
std::vector< std::vector< double > > &  vertexBasis,
std::vector< std::vector< double > > &  edgeBasis,
std::vector< std::vector< double > > &  faceBasis,
std::vector< std::vector< double > > &  bubbleBasis,
std::string  typeFunction = "GradH1Legendre" 
)
inlinevirtual

Implements HierarchicalBasisH1.

Definition at line 68 of file HierarchicalBasisH1Pri.h.

Here is the call graph for this function:

◆ generateGradientBasis()

void HierarchicalBasisH1Pri::generateGradientBasis ( double const &  u,
double const &  v,
double const &  w,
std::vector< std::vector< double > > &  gradientVertex,
std::vector< std::vector< double > > &  gradientEdge,
std::vector< std::vector< double > > &  gradientFace,
std::vector< std::vector< double > > &  gradientBubble 
)
private

Definition at line 214 of file HierarchicalBasisH1Pri.cpp.

Referenced by generateBasis().

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

◆ getKeysInfo()

void HierarchicalBasisH1Pri::getKeysInfo ( std::vector< int > &  functionTypeInfo,
std::vector< int > &  orderInfo 
)
virtual

Implements HierarchicalBasisH1.

Definition at line 1107 of file HierarchicalBasisH1Pri.cpp.

◆ getNumberOfOrientations()

unsigned int HierarchicalBasisH1Pri::getNumberOfOrientations ( ) const
virtual

Implements HierarchicalBasis.

Definition at line 40 of file HierarchicalBasisH1Pri.cpp.

◆ orientEdge() [1/2]

void HierarchicalBasisH1Pri::orientEdge ( int const &  flagOrientation,
int const &  edgeNumber,
std::vector< double > &  edgeFunctions,
const std::vector< double > &  eTablePositiveFlag,
const std::vector< double > &  eTableNegativeFlag 
)
virtual

Implements HierarchicalBasisH1.

Definition at line 516 of file HierarchicalBasisH1Pri.cpp.

◆ orientEdge() [2/2]

void HierarchicalBasisH1Pri::orientEdge ( int const &  flagOrientation,
int const &  edgeNumber,
std::vector< std::vector< double > > &  edgeBasis,
const std::vector< std::vector< double > > &  eTablePositiveFlag,
const std::vector< std::vector< double > > &  eTableNegativeFlag 
)
virtual

Implements HierarchicalBasisH1.

Definition at line 543 of file HierarchicalBasisH1Pri.cpp.

◆ orientEdgeFunctionsForNegativeFlag() [1/2]

void HierarchicalBasisH1Pri::orientEdgeFunctionsForNegativeFlag ( std::vector< double > &  edgeFunctions)
virtual

Implements HierarchicalBasisH1.

Definition at line 575 of file HierarchicalBasisH1Pri.cpp.

◆ orientEdgeFunctionsForNegativeFlag() [2/2]

void HierarchicalBasisH1Pri::orientEdgeFunctionsForNegativeFlag ( std::vector< std::vector< double > > &  edgeFunctions)
virtual

Implements HierarchicalBasisH1.

Definition at line 593 of file HierarchicalBasisH1Pri.cpp.

◆ orientFace() [1/2]

void HierarchicalBasisH1Pri::orientFace ( int const &  flag1,
int const &  flag2,
int const &  flag3,
int const &  faceNumber,
const std::vector< double > &  quadFaceFunctionsAllOrientation,
const std::vector< double > &  triFaceFunctionsAllOrientation,
std::vector< double > &  fTableCopy 
)
virtual

Implements HierarchicalBasisH1.

Definition at line 1029 of file HierarchicalBasisH1Pri.cpp.

Here is the call graph for this function:

◆ orientFace() [2/2]

void HierarchicalBasisH1Pri::orientFace ( int const &  flag1,
int const &  flag2,
int const &  flag3,
int const &  faceNumber,
const std::vector< std::vector< double > > &  quadFaceFunctionsAllOrientation,
const std::vector< std::vector< double > > &  triFaceFunctionsAllOrientation,
std::vector< std::vector< double > > &  fTableCopy 
)
virtual

Implements HierarchicalBasisH1.

Definition at line 1066 of file HierarchicalBasisH1Pri.cpp.

Here is the call graph for this function:

◆ orientOneFace() [1/2]

void HierarchicalBasisH1Pri::orientOneFace ( double const &  u,
double const &  v,
double const &  w,
int const &  flag1,
int const &  flag2,
int const &  flag3,
int const &  faceNumber,
std::vector< double > &  faceBasis 
)
privatevirtual

Implements HierarchicalBasisH1.

Definition at line 614 of file HierarchicalBasisH1Pri.cpp.

Here is the call graph for this function:

◆ orientOneFace() [2/2]

void HierarchicalBasisH1Pri::orientOneFace ( double const &  u,
double const &  v,
double const &  w,
int const &  flag1,
int const &  flag2,
int const &  flag3,
int const &  faceNumber,
std::vector< std::vector< double > > &  faceFunctions,
std::string  typeFunction = "GradH1Legendre" 
)
privatevirtual

Implements HierarchicalBasisH1.

Definition at line 775 of file HierarchicalBasisH1Pri.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _pb1

int HierarchicalBasisH1Pri::_pb1
private

◆ _pb2

int HierarchicalBasisH1Pri::_pb2
private

◆ _pOrderEdge

int HierarchicalBasisH1Pri::_pOrderEdge[9]
private

◆ _pOrderQuadFace1

int HierarchicalBasisH1Pri::_pOrderQuadFace1[3]
private

◆ _pOrderQuadFace2

int HierarchicalBasisH1Pri::_pOrderQuadFace2[3]
private

◆ _pOrderTriFace

int HierarchicalBasisH1Pri::_pOrderTriFace[2]
private

The documentation for this class was generated from the following files: