40 unsigned long boundElemIDGlobal;
42 std::vector<unsigned long> donorElementsWallFunctions;
45 unsigned short VTK_Type;
46 unsigned short nPolyGrid;
47 unsigned short nDOFsGrid;
49 bool JacobianConsideredConstant;
63 inline unsigned short GetnNodesFace(
unsigned short val_face)
const override {
64 return std::numeric_limits<unsigned short>::max();
73 inline unsigned short GetFaces(
unsigned short val_face,
unsigned short val_index)
const override {
74 return std::numeric_limits<unsigned short>::max();
83 inline unsigned short GetNeighbor_Nodes(
unsigned short val_node,
unsigned short val_index)
const override {
84 return std::numeric_limits<unsigned short>::max();
91 inline unsigned short GetnNodes(
void)
const override {
return nDOFsGrid; }
97 inline unsigned short GetnFaces(
void)
const override {
return std::numeric_limits<unsigned short>::max(); }
105 return std::numeric_limits<unsigned short>::max();
117 inline unsigned short GetMaxNodesFace(
void)
const override {
return std::numeric_limits<unsigned short>::max(); }
123 inline unsigned short GetVTK_Type(
void)
const override {
return VTK_Type; }
129 inline unsigned short GetNPolyGrid(
void)
const override {
return nPolyGrid; }
135 inline unsigned short GetNDOFsGrid(
void)
const override {
return nDOFsGrid; }
144 unsigned long faceConn[6][4])
const override;
156 unsigned short& nPointsPerFace,
unsigned long faceConn[]);
162 inline unsigned long GetGlobalElemID(
void)
const override {
return boundElemIDGlobal; }
175 JacobianConsideredConstant = val_JacobianConsideredConstant;
183 donorElementsWallFunctions.push_back(donorElement);
205 donorElementsWallFunctions = donorElements;
Headers of the main subroutines for storing the primal grid structure. The subroutines and functions ...
Class to define primal grid boundary element for the FEM solver.
Definition CPrimalGridBoundFEM.hpp:38
unsigned short GetFaces(unsigned short val_face, unsigned short val_index) const override
Get the face index of an element.
Definition CPrimalGridBoundFEM.hpp:73
unsigned short GetNDOFsGrid(void) const override
Function to make available the number of DOFs of the grid in the element.
Definition CPrimalGridBoundFEM.hpp:135
unsigned long GetGlobalElemID(void) const override
Make available the global ID of this element.
Definition CPrimalGridBoundFEM.hpp:162
unsigned short GetNDonorsWallFunctions(void) const override
Make available the number of donor elements for the wall function treatment.
Definition CPrimalGridBoundFEM.hpp:190
unsigned short GetnFaces(void) const override
Get the number of faces of an element.
Definition CPrimalGridBoundFEM.hpp:97
void SetJacobianConsideredConstant(bool val_JacobianConsideredConstant) override
Function to set the value of JacobianConsideredConstant.
Definition CPrimalGridBoundFEM.hpp:174
void GetCornerPointsAllFaces(unsigned short &nFaces, unsigned short nPointsPerFace[], unsigned long faceConn[6][4]) const override
Get the corner points of this boundary element.
Definition CPrimalGridBoundFEM.cpp:74
void RemoveMultipleDonorsWallFunctions(void) override
Function to remove the multiple donors for the wall function treatment.
Definition CPrimalGridBoundFEM.cpp:91
static void GetLocalCornerPointsFace(unsigned short elementType, unsigned short nPoly, unsigned short nDOFs, unsigned short &nPointsPerFace, unsigned long faceConn[])
Static member function to get the local the corner points of all the face of this element.
Definition CPrimalGridBoundFEM.cpp:43
unsigned short GetnNeighbor_Nodes(unsigned short val_node) const override
Get the number of neighbors nodes of a node.
Definition CPrimalGridBoundFEM.hpp:104
unsigned short GetnNodes(void) const override
Get the number of nodes of an element.
Definition CPrimalGridBoundFEM.hpp:91
void Change_Orientation(void) override
Change the orientation of an element.
Definition CPrimalGridBoundFEM.hpp:111
unsigned long * GetDonorsWallFunctions(void) override
Make available the pointer to the vector for the donor elements for the wall function treatment.
Definition CPrimalGridBoundFEM.hpp:197
void SetDonorsWallFunctions(const std::vector< unsigned long > &donorElements) override
Set the global ID's of the donor elements for the wall function treatment.
Definition CPrimalGridBoundFEM.hpp:204
unsigned short GetNeighbor_Nodes(unsigned short val_node, unsigned short val_index) const override
Get the local index of the neighbors to a node (given the local index).
Definition CPrimalGridBoundFEM.hpp:83
void AddDonorWallFunctions(const unsigned long donorElement) override
Add the given donor ID to the donor elements for the wall function treatment.
Definition CPrimalGridBoundFEM.hpp:182
unsigned short GetMaxNodesFace(void) const override
Get the Maximum number of nodes of a face of an element.
Definition CPrimalGridBoundFEM.hpp:117
unsigned short GetnNodesFace(unsigned short val_face) const override
Get the number of nodes that composes a face of an element.
Definition CPrimalGridBoundFEM.hpp:63
const unsigned long * GetDonorsWallFunctions(void) const override
Definition CPrimalGridBoundFEM.hpp:198
bool GetJacobianConsideredConstant(void) const override
Function to get whether or not the Jacobian is considered constant.
Definition CPrimalGridBoundFEM.hpp:168
unsigned short GetVTK_Type(void) const override
Get the type of the element using VTK nomenclature.
Definition CPrimalGridBoundFEM.hpp:123
unsigned short GetNPolyGrid(void) const override
Get the polynomial degree of the grid for this element.
Definition CPrimalGridBoundFEM.hpp:129
Class to define the numerical primal grid.
Definition CPrimalGrid.hpp:45