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

#include <HierarchicalBasisH1Tria.h>

Inheritance diagram for HierarchicalBasisH1Tria:
Collaboration diagram for HierarchicalBasisH1Tria:

Public Member Functions

 HierarchicalBasisH1Tria (int pf, int pe0, int pe1, int pe2)
 
 HierarchicalBasisH1Tria (int order)
 
virtual ~HierarchicalBasisH1Tria ()
 
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 (int const &j, double const &u, double const &v)
 

Private Attributes

int _pf
 
int _pOrderEdge [3]
 

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

Definition at line 36 of file HierarchicalBasisH1Tria.h.

Constructor & Destructor Documentation

◆ HierarchicalBasisH1Tria() [1/2]

HierarchicalBasisH1Tria::HierarchicalBasisH1Tria ( int  pf,
int  pe0,
int  pe1,
int  pe2 
)

Definition at line 14 of file HierarchicalBasisH1Tria.cpp.

◆ HierarchicalBasisH1Tria() [2/2]

HierarchicalBasisH1Tria::HierarchicalBasisH1Tria ( int  order)

Definition at line 35 of file HierarchicalBasisH1Tria.cpp.

◆ ~HierarchicalBasisH1Tria()

HierarchicalBasisH1Tria::~HierarchicalBasisH1Tria ( )
virtual

Definition at line 51 of file HierarchicalBasisH1Tria.cpp.

Member Function Documentation

◆ _affineCoordinate()

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

Definition at line 58 of file HierarchicalBasisH1Tria.cpp.

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

Here is the caller graph for this function:

◆ generateBasis() [1/2]

void HierarchicalBasisH1Tria::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 69 of file HierarchicalBasisH1Tria.cpp.

Here is the call graph for this function:

◆ generateBasis() [2/2]

virtual void HierarchicalBasisH1Tria::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 51 of file HierarchicalBasisH1Tria.h.

Here is the call graph for this function:

◆ generateGradientBasis()

void HierarchicalBasisH1Tria::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 149 of file HierarchicalBasisH1Tria.cpp.

Referenced by generateBasis().

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

◆ getKeysInfo()

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

Implements HierarchicalBasisH1.

Definition at line 584 of file HierarchicalBasisH1Tria.cpp.

◆ getNumberOfOrientations()

unsigned int HierarchicalBasisH1Tria::getNumberOfOrientations ( ) const
virtual

Implements HierarchicalBasis.

Definition at line 53 of file HierarchicalBasisH1Tria.cpp.

◆ orientEdge() [1/2]

void HierarchicalBasisH1Tria::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 301 of file HierarchicalBasisH1Tria.cpp.

◆ orientEdge() [2/2]

void HierarchicalBasisH1Tria::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 329 of file HierarchicalBasisH1Tria.cpp.

◆ orientEdgeFunctionsForNegativeFlag() [1/2]

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

Implements HierarchicalBasisH1.

Definition at line 358 of file HierarchicalBasisH1Tria.cpp.

◆ orientEdgeFunctionsForNegativeFlag() [2/2]

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

Implements HierarchicalBasisH1.

Definition at line 377 of file HierarchicalBasisH1Tria.cpp.

◆ orientFace() [1/2]

void HierarchicalBasisH1Tria::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 557 of file HierarchicalBasisH1Tria.cpp.

Here is the call graph for this function:

◆ orientFace() [2/2]

void HierarchicalBasisH1Tria::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 569 of file HierarchicalBasisH1Tria.cpp.

Here is the call graph for this function:

◆ orientOneFace() [1/2]

void HierarchicalBasisH1Tria::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 397 of file HierarchicalBasisH1Tria.cpp.

Here is the call graph for this function:

◆ orientOneFace() [2/2]

void HierarchicalBasisH1Tria::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 458 of file HierarchicalBasisH1Tria.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _pf

int HierarchicalBasisH1Tria::_pf
private

◆ _pOrderEdge

int HierarchicalBasisH1Tria::_pOrderEdge[3]
private

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