![]() |
Documentation 6b54b78464
|
Class for vertex definition (equivalent to edges, but for the boundaries). More...
#include <CVertex.hpp>
Public Member Functions | |
| CVertex (unsigned long val_point, unsigned short val_nDim) | |
| Constructor of the class. | |
| unsigned short | GetnNodes () const override |
| Get the number of nodes of a vertex. | |
| unsigned long | GetNode () const |
| Get the node of the vertex. | |
| 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. | |
| void | SetNodes_Coord (const su2double *val_coord_Edge_CG, const su2double *val_coord_Elem_CG) override |
| void | GetNormal (su2double *val_normal) const override |
| Copy the the normal vector of a face. | |
| su2double * | GetNormal () override |
| Get the normal to a face of the control volume asociated with a vertex. | |
| su2double | GetNormal (unsigned short iDim) const |
| Get the ith component of the normal. | |
| void | SetZeroValues () override |
| Initialize normal vector. | |
| void | SetAuxVar (su2double val_auxvar) |
| Set the value of an auxiliary variable for gradient computation. | |
| su2double | GetAuxVar () const |
| Get the value of an auxiliary variable for gradient computation. | |
| void | AddAuxVar (su2double val_auxvar) |
| Add the value of an auxiliary variable for gradient computation. | |
| void | SetNormal (const su2double *val_face_normal) override |
| Set the normal vector. | |
| void | AddNormal (const su2double *val_face_normal) override |
| Add a vector to the normal vector. | |
| void | SetVarCoord (const su2double *val_varcoord) |
| Set the value of the coordinate variation due to a surface modification. | |
| void | AddVarCoord (const su2double *val_varcoord) |
| Add the value of the coordinate variation due to a surface modification. | |
| su2double * | GetVarCoord () |
| Get the value of the coordinate variation due to a surface modification. | |
| void | SetCoord (const su2double *val_coord) override |
| Set the value of the cartesian coordinate for the vertex. | |
| su2double * | GetCoord () override |
| Get the value of the cartesian coordinate for the vertex. | |
| su2double | GetCoord (unsigned short val_dim) const |
| Get the value of the cartesian coordinate for the vertex. | |
| void | SetRotation_Type (short val_rotation_type) |
| Set the type of rotation associated to the vertex. | |
| short | GetRotation_Type () const |
| Get the type of rotation associated to the vertex. | |
| void | SetDonorPoint (long val_periodicpoint, long val_processor) |
| void | SetDonorPoint (long val_periodicpoint, long val_periodicglobalindex, long val_periodicvertex, long val_periodicmarker, long val_processor) |
| void | SetDonorPoint (long val_periodicpoint, long val_processor, long val_globalindex) |
| void | SetActDisk_Perimeter (bool val_actdisk_perimeter) |
| long | GetDonorPoint () const |
| Get the value of the periodic point of a vertex. | |
| long | GetDonorMarker () const |
| Get the value of the periodic point of a vertex. | |
| long | GetDonorVertex () const |
| Get the value of the periodic point of a vertex. | |
| long | GetDonorGlobalIndex () const |
| Get the value of the periodic point of a vertex. | |
| long | GetGlobalDonorPoint () const |
| Get the value of the periodic point of a vertex. | |
| long | GetDonorProcessor () const |
| Get the value of the periodic point of a vertex. | |
| long * | GetPeriodicPointDomain () |
| Get the value of the periodic point of a vertex, and its somain. | |
| bool | GetActDisk_Perimeter () const |
| Get the value of the periodic point of a vertex, and its somain. | |
| void | SetBasisFunction (unsigned short val_node, su2double val_basis) |
| Set the finite element basis functions needed for interpolation. | |
| su2double | GetBasisFunction (unsigned short val_node) |
| Get the finite element basis functions needed for interpolation. | |
| void | SetNormal_Neighbor (unsigned long val_Normal_Neighbor) |
| Set the index of the closest neighbor to a point on the boundaries. | |
| unsigned long | GetNormal_Neighbor () const |
| Get the value of the closest neighbor. | |
| void | SetNearestNeighborDistance (const su2double &val) |
| Set the distance of the nearest internal neighbor that is not a wall. | |
| const su2double & | GetNearestNeighborDistance () const |
| Get the distance to the nearest internal neighbor that is not a wall. | |
Public Member Functions inherited from CDualGrid | |
| CDualGrid (unsigned short val_nDim) | |
| Constructor of the class. | |
| virtual | ~CDualGrid (void) |
| Destructor of the class. | |
Protected Attributes | |
| unsigned long | Nodes [1] |
| Vector to store the global nodes of an element. | |
| su2double | Normal [3] = {0.0} |
| Normal coordinates of the element and its center of gravity. | |
| su2double | Aux_Var |
| Auxiliar variable defined only on the surface. | |
| su2double | CartCoord [3] = {0.0} |
| Vertex cartesians coordinates. | |
| su2double | VarCoord [3] = {0.0} |
| Used for storing the coordinate variation due to a surface modification. | |
| long | PeriodicPoint [5] = {-1} |
| Store the periodic point of a boundary (iProcessor, iPoint) | |
| bool | ActDisk_Perimeter = false |
| Identify nodes at the perimeter of the actuator disk. | |
| short | Rotation_Type |
| Type of rotation associated with the vertex (MPI and periodic) | |
| unsigned long | Normal_Neighbor |
| Index of the closest, most normal, neighbor. | |
| su2double | NearestNeighborDist = 0.0 |
| Distance to nearest internal neighbor that is not a wall. | |
| su2double | Basis_Function [3] = {0.0} |
| Basis function values for interpolation across zones. | |
Additional Inherited Members | |
Static Protected Attributes inherited from CDualGrid | |
| static unsigned short | nDim = 0 |
| Number of dimensions of the problem. | |
Class for vertex definition (equivalent to edges, but for the boundaries).
| CVertex::CVertex | ( | unsigned long | val_point, |
| unsigned short | val_nDim | ||
| ) |
Constructor of the class.
| [in] | val_point | - Node of the vertex. |
| [in] | val_nDim | - Number of dimensions of the problem. |
|
inline |
Add the value of an auxiliary variable for gradient computation.
| [in] | val_auxvar | - Value of the auxiliar variable. |
|
inlineoverridevirtual |
Add a vector to the normal vector.
| [in] | val_face_normal | - Vector to add to the normal vector. |
Implements CDualGrid.
|
inline |
Add the value of the coordinate variation due to a surface modification.
| [in] | val_varcoord | - Variation of the coordinate. |
|
inline |
Get the value of the periodic point of a vertex, and its somain.
|
inline |
Get the value of an auxiliary variable for gradient computation.
|
inline |
Get the finite element basis functions needed for interpolation.
| [in] | val_node | - a node index of the owner element. |
|
inlineoverridevirtual |
Get the value of the cartesian coordinate for the vertex.
Implements CDualGrid.
|
inline |
Get the value of the cartesian coordinate for the vertex.
| [in] | val_dim | - Variable of the dimension. |
|
inline |
Get the value of the periodic point of a vertex.
|
inline |
Get the value of the periodic point of a vertex.
|
inline |
Get the value of the periodic point of a vertex.
|
inline |
Get the value of the periodic point of a vertex.
|
inline |
Get the value of the periodic point of a vertex.
|
inline |
Get the value of the periodic point of a vertex.
|
inline |
Get the distance to the nearest internal neighbor that is not a wall.
|
inlineoverridevirtual |
Get the number of nodes of a vertex.
Implements CDualGrid.
|
inline |
Get the node of the vertex.
|
inlineoverridevirtual |
Get the normal to a face of the control volume asociated with a vertex.
Implements CDualGrid.
|
inlineoverridevirtual |
Copy the the normal vector of a face.
| [in] | val_normal | - Vector where the subroutine is goint to copy the normal (dimensional). |
Implements CDualGrid.
|
inline |
Get the ith component of the normal.
|
inline |
Get the value of the closest neighbor.
|
inline |
Get the value of the periodic point of a vertex, and its somain.
|
inline |
Get the type of rotation associated to the vertex.
|
inline |
Get the value of the coordinate variation due to a surface modification.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_periodicpoint | - Value of periodic point of the vertex. |
| [in] | val_processor | - Processor where the point belong. |
|
inline |
Set the value of an auxiliary variable for gradient computation.
| [in] | val_auxvar | - Value of the auxiliar variable. |
|
inline |
Set the finite element basis functions needed for interpolation.
| [in] | val_node | - a node index of the owner element. |
| [in] | val_basis | - basis function value for the node. |
|
inlineoverridevirtual |
Set the value of the cartesian coordinate for the vertex.
| [in] | val_coord | - Value of the cartesian coordinate. |
Implements CDualGrid.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_periodicpoint | - Value of periodic point of the vertex. |
| [in] | val_processor | - Processor where the point belong. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_periodicpoint | - Value of periodic point of the vertex. |
| [in] | val_processor | - Processor where the point belong. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_periodicpoint | - Value of periodic point of the vertex. |
| [in] | val_processor | - Processor where the point belong. |
| [in] | val_globalindex | - Global index of the donor point. |
|
inline |
Set the distance of the nearest internal neighbor that is not a wall.
|
overridevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_coord_Edge_CG | - Coordinates of the centre of gravity of the edge. |
| [in] | val_coord_Elem_CG | - Coordinates of the centre of gravity of the element. |
Implements CDualGrid.
|
overridevirtual |
Set the face that correspond to a vertex.
| [in] | val_coord_Edge_CG | - Coordinates of the centre of gravity of the edge. |
| [in] | val_coord_FaceElem_CG | - Coordinates of the centre of gravity of the face of an element. |
| [in] | val_coord_Elem_CG | - Coordinates of the centre of gravity of the element. |
Implements CDualGrid.
|
inlineoverridevirtual |
Set the normal vector.
| [in] | val_face_normal | - Vector to initialize the normal vector. |
Implements CDualGrid.
|
inline |
Set the index of the closest neighbor to a point on the boundaries.
| [in] | val_Normal_Neighbor | - Index of the closest neighbor. |
|
inline |
Set the type of rotation associated to the vertex.
| [in] | val_rotation_type | - Value of the rotation that will be applied to the solution at the vertex |
|
inline |
Set the value of the coordinate variation due to a surface modification.
| [in] | val_varcoord | - Variation of the coordinate. |
|
inlineoverridevirtual |
Initialize normal vector.
Implements CDualGrid.
|
protected |
Identify nodes at the perimeter of the actuator disk.
|
protected |
Auxiliar variable defined only on the surface.
|
protected |
Basis function values for interpolation across zones.
|
protected |
Vertex cartesians coordinates.
|
protected |
Distance to nearest internal neighbor that is not a wall.
|
protected |
Vector to store the global nodes of an element.
|
protected |
Normal coordinates of the element and its center of gravity.
|
protected |
Index of the closest, most normal, neighbor.
|
protected |
Store the periodic point of a boundary (iProcessor, iPoint)
|
protected |
Type of rotation associated with the vertex (MPI and periodic)
|
protected |
Used for storing the coordinate variation due to a surface modification.