58 CVertex(
unsigned long val_point,
unsigned short val_nDim);
64 inline unsigned short GetnNodes()
const override {
return 1; }
80 const su2double* val_coord_Elem_CG)
override;
95 for (
unsigned short iDim = 0; iDim <
nDim; iDim++) val_normal[iDim] =
Normal[iDim];
113 for (
unsigned short iDim = 0; iDim <
nDim; iDim++)
Normal[iDim] = 0.0;
140 for (
unsigned short iDim = 0; iDim <
nDim; iDim++)
Normal[iDim] = val_face_normal[iDim];
148 for (
unsigned short iDim = 0; iDim <
nDim; iDim++)
Normal[iDim] += val_face_normal[iDim];
156 for (
unsigned short iDim = 0; iDim <
nDim; iDim++)
VarCoord[iDim] = val_varcoord[iDim];
164 for (
unsigned short iDim = 0; iDim <
nDim; iDim++)
VarCoord[iDim] += val_varcoord[iDim];
178 for (
unsigned short iDim = 0; iDim <
nDim; iDim++)
CartCoord[iDim] = val_coord[iDim];
222 inline void SetDonorPoint(
long val_periodicpoint,
long val_periodicglobalindex,
long val_periodicvertex,
223 long val_periodicmarker,
long val_processor) {
237 inline void SetDonorPoint(
long val_periodicpoint,
long val_processor,
long val_globalindex) {
Headers of the main subroutines for doing the complete dual grid structure. The subroutines and funct...
Class for controlling the dual volume definition. The dual volume is compose by three main elements: ...
Definition CDualGrid.hpp:44
static unsigned short nDim
Number of dimensions of the problem.
Definition CDualGrid.hpp:46
Class for vertex definition (equivalent to edges, but for the boundaries).
Definition CVertex.hpp:38
void SetNormal(const su2double *val_face_normal) override
Set the normal vector.
Definition CVertex.hpp:139
unsigned short GetnNodes() const override
Get the number of nodes of a vertex.
Definition CVertex.hpp:64
su2double CartCoord[3]
Vertex cartesians coordinates.
Definition CVertex.hpp:43
su2double * GetCoord() override
Get the value of the cartesian coordinate for the vertex.
Definition CVertex.hpp:185
su2double VarCoord[3]
Used for storing the coordinate variation due to a surface modification.
Definition CVertex.hpp:44
su2double Normal[3]
Normal coordinates of the element and its center of gravity.
Definition CVertex.hpp:41
long PeriodicPoint[5]
Store the periodic point of a boundary (iProcessor, iPoint)
Definition CVertex.hpp:45
unsigned long Nodes[1]
Vector to store the global nodes of an element.
Definition CVertex.hpp:40
long GetDonorVertex() const
Get the value of the periodic point of a vertex.
Definition CVertex.hpp:266
long GetDonorGlobalIndex() const
Get the value of the periodic point of a vertex.
Definition CVertex.hpp:272
void SetDonorPoint(long val_periodicpoint, long val_processor, long val_globalindex)
Definition CVertex.hpp:237
su2double * GetNormal() override
Get the normal to a face of the control volume asociated with a vertex.
Definition CVertex.hpp:102
su2double Aux_Var
Auxiliar variable defined only on the surface.
Definition CVertex.hpp:42
void SetNearestNeighborDistance(const su2double &val)
Set the distance of the nearest internal neighbor that is not a wall.
Definition CVertex.hpp:327
long GetDonorProcessor() const
Get the value of the periodic point of a vertex.
Definition CVertex.hpp:284
void SetZeroValues() override
Initialize normal vector.
Definition CVertex.hpp:112
void SetNormal_Neighbor(unsigned long val_Normal_Neighbor)
Set the index of the closest neighbor to a point on the boundaries.
Definition CVertex.hpp:316
void SetActDisk_Perimeter(bool val_actdisk_perimeter)
Definition CVertex.hpp:248
su2double * GetVarCoord()
Get the value of the coordinate variation due to a surface modification.
Definition CVertex.hpp:171
void AddVarCoord(const su2double *val_varcoord)
Add the value of the coordinate variation due to a surface modification.
Definition CVertex.hpp:163
su2double NearestNeighborDist
Distance to nearest internal neighbor that is not a wall.
Definition CVertex.hpp:49
void SetDonorPoint(long val_periodicpoint, long val_periodicglobalindex, long val_periodicvertex, long val_periodicmarker, long val_processor)
Definition CVertex.hpp:222
void GetNormal(su2double *val_normal) const override
Copy the the normal vector of a face.
Definition CVertex.hpp:94
void SetCoord(const su2double *val_coord) override
Set the value of the cartesian coordinate for the vertex.
Definition CVertex.hpp:177
su2double GetBasisFunction(unsigned short val_node)
Get the finite element basis functions needed for interpolation.
Definition CVertex.hpp:310
bool ActDisk_Perimeter
Identify nodes at the perimeter of the actuator disk.
Definition CVertex.hpp:46
su2double GetNormal(unsigned short iDim) const
Get the ith component of the normal.
Definition CVertex.hpp:107
su2double GetCoord(unsigned short val_dim) const
Get the value of the cartesian coordinate for the vertex.
Definition CVertex.hpp:192
void AddAuxVar(su2double val_auxvar)
Add the value of an auxiliary variable for gradient computation.
Definition CVertex.hpp:132
short Rotation_Type
Type of rotation associated with the vertex (MPI and periodic)
Definition CVertex.hpp:47
long GetDonorPoint() const
Get the value of the periodic point of a vertex.
Definition CVertex.hpp:254
void SetAuxVar(su2double val_auxvar)
Set the value of an auxiliary variable for gradient computation.
Definition CVertex.hpp:120
const su2double & GetNearestNeighborDistance() const
Get the distance to the nearest internal neighbor that is not a wall.
Definition CVertex.hpp:332
bool GetActDisk_Perimeter() const
Get the value of the periodic point of a vertex, and its somain.
Definition CVertex.hpp:296
su2double Basis_Function[3]
Basis function values for interpolation across zones.
Definition CVertex.hpp:50
long GetGlobalDonorPoint() const
Get the value of the periodic point of a vertex.
Definition CVertex.hpp:278
void SetVarCoord(const su2double *val_varcoord)
Set the value of the coordinate variation due to a surface modification.
Definition CVertex.hpp:155
void SetRotation_Type(short val_rotation_type)
Set the type of rotation associated to the vertex.
Definition CVertex.hpp:198
void SetBasisFunction(unsigned short val_node, su2double val_basis)
Set the finite element basis functions needed for interpolation.
Definition CVertex.hpp:303
short GetRotation_Type() const
Get the type of rotation associated to the vertex.
Definition CVertex.hpp:204
void AddNormal(const su2double *val_face_normal) override
Add a vector to the normal vector.
Definition CVertex.hpp:147
void SetNodes_Coord(const su2double *val_coord_Edge_CG, const su2double *val_coord_FaceElem_CG, const su2double *val_coord_Elem_CG) override
Set the face that correspond to a vertex.
Definition CVertex.cpp:35
unsigned long GetNode() const
Get the node of the vertex.
Definition CVertex.hpp:70
void SetDonorPoint(long val_periodicpoint, long val_processor)
Definition CVertex.hpp:211
unsigned long Normal_Neighbor
Index of the closest, most normal, neighbor.
Definition CVertex.hpp:48
unsigned long GetNormal_Neighbor() const
Get the value of the closest neighbor.
Definition CVertex.hpp:322
su2double GetAuxVar() const
Get the value of an auxiliary variable for gradient computation.
Definition CVertex.hpp:126
long * GetPeriodicPointDomain()
Get the value of the periodic point of a vertex, and its somain.
Definition CVertex.hpp:290
long GetDonorMarker() const
Get the value of the periodic point of a vertex.
Definition CVertex.hpp:260
passivedouble su2double
Definition code_config.hpp:181