![]() |
Documentation 6b54b78464
|
Class for point definition (dual control volumes). More...
#include <CPoint.hpp>
Public Member Functions | |
| CPoint (unsigned long npoint, unsigned long ndim, unsigned short imesh, const CConfig *config) | |
| "Full" constructor of the class. | |
| CPoint (unsigned long npoint, unsigned long ndim) | |
| Minimal constructor, only allocates the structures required to read and partition a mesh file. | |
| CPoint ()=delete | |
| Default construction is not allowed. | |
| void | FullAllocation (unsigned short imesh, const CConfig *config) |
| Allocate the variables not covered by the minimal constructor. | |
| su2double | GetCoord (unsigned long iPoint, unsigned long iDim) const |
| Get the coordinates dor the control volume. | |
| su2double * | GetCoord (unsigned long iPoint) |
| Get the coordinates of the control volume. | |
| const su2activematrix & | GetCoord () const |
| Get the entire matrix of coordinates of the control volumes. | |
| void | SetCoord (unsigned long iPoint, unsigned long iDim, su2double coord) |
| Set the coordinates for the control volume. | |
| void | AddCoord (unsigned long iPoint, unsigned long iDim, su2double coord) |
| Set the coordinates for the control volume. | |
| void | SetCoord (unsigned long iPoint, const su2double *coord) |
| Set the point coordinates. | |
| void | SetElems (const vector< vector< long > > &elemsMatrix) |
| Set the elements that are connected to each point. | |
| void | ResetElems () |
| Reset the elements of a control volume. | |
| unsigned short | GetnElem (unsigned long iPoint) const |
| Get the number of elements that compose the control volume. | |
| unsigned long | GetElem (unsigned long iPoint, unsigned long nelem) const |
| Get all the elements that compose the control volume. | |
| CCompressedSparsePatternL::CInnerIter | GetElems (unsigned long iPoint) const |
| Get inner iterator to loop over neighbor elements. | |
| void | SetPoints (const vector< vector< unsigned long > > &pointsMatrix) |
| Set the points that compose the control volume. | |
| const CCompressedSparsePatternUL & | GetPoints () const |
| Get the entire point adjacency information in compressed format (CSR). | |
| void | ResetPoints () |
| Reset the points that compose the control volume. | |
| unsigned short | GetnPoint (unsigned long iPoint) const |
| Get the number of points that compose the control volume. | |
| unsigned long | GetPoint (unsigned long iPoint, unsigned long npoint) const |
| Get all the points that compose the control volume. | |
| CCompressedSparsePatternUL::CInnerIter | GetPoints (unsigned long iPoint) const |
| Get inner iterator to loop over neighbor points. | |
| void | SetEdge (unsigned long iPoint, long iedge, unsigned long nedge) |
| Set the edges that compose the control volume. | |
| long | GetEdge (unsigned long iPoint, unsigned long nedge) const |
| Get all the edges that compose the control volume. | |
| CCompressedSparsePatternL::CInnerIter | GetEdges (unsigned long iPoint) const |
| Get inner iterator to loop over neighbor edges. | |
| void | SetVertex (unsigned long iPoint, long iVertex, unsigned long iMarker) |
| Set the boundary vertex that compose the control volume. | |
| long | GetVertex (unsigned long iPoint, unsigned long iMarker) const |
| Get the vertex that compose the control volume for a marker. | |
| void | SetBoundary (unsigned long iPoint, unsigned short nMarker) |
| Set if a point belong to the boundary. | |
| void | ResetBoundary (unsigned long iPoint) |
| Reset the boundary of a control volume. | |
| void | SetBoundary (unsigned long iPoint, bool boundary) |
| Mark the point as boundary. | |
| bool | GetBoundary (unsigned long iPoint) const |
| Provides information about if a point belong to the boundaries. | |
| void | SetPhysicalBoundary (unsigned long iPoint, bool boundary) |
| Set if a point belong to the boundary. | |
| bool | GetPhysicalBoundary (unsigned long iPoint) const |
| Provides information about if a point belong to the physical boundaries (without MPI). | |
| void | SetSolidBoundary (unsigned long iPoint, bool boundary) |
| Set if a point belong to the solid wall boundary. | |
| bool | GetSolidBoundary (unsigned long iPoint) const |
| Provides information about if a point belong to the physical boundaries (without MPI). | |
| void | SetViscousBoundary (unsigned long iPoint, bool boundary) |
| Set if a point belong to the boundary. | |
| bool | GetViscousBoundary (unsigned long iPoint) const |
| Provides information about if a point belong to the physical boundaries (without MPI). | |
| void | SetPeriodicBoundary (unsigned long iPoint, bool boundary) |
| Set if a point belongs to a periodic boundary. | |
| bool | GetPeriodicBoundary (unsigned long iPoint) const |
| Provides information about if a point belongs to a periodic boundary (without MPI). | |
| void | SetDomain (unsigned long iPoint, bool domain) |
| For parallel computation, its indicates if a point must be computed or not. | |
| bool | GetDomain (unsigned long iPoint) const |
| For parallel computation, its indicates if a point must be computed or not. | |
| void | SetColor (unsigned long iPoint, unsigned long color) |
| Set a color to the point that comes from the grid partitioning. | |
| unsigned long | GetColor (unsigned long iPoint) const |
| Get the color of a point, the color indicates to which subdomain the point belong to. | |
| void | SetGlobalIndex (unsigned long iPoint, unsigned long globalindex) |
| Set the global index in a parallel computation. | |
| unsigned long | GetGlobalIndex (unsigned long iPoint) const |
| Get the global index in a parallel computation. | |
| void | SetnNeighbor (unsigned long iPoint, unsigned short nneighbor) |
| Set the number of neighbor (artificial dissipation). | |
| unsigned short | GetnNeighbor (unsigned long iPoint) const |
| Get the number of neighbor of a point. | |
| void | SetWall_Distance (unsigned long iPoint, su2double distance, int rankID, unsigned short zoneID, unsigned short markerID, unsigned long elemID) |
| Set the value of the distance to the nearest wall. | |
| void | SetWall_Distance (unsigned long iPoint, su2double distance) |
| su2double & | GetWall_Distance (unsigned long iPoint) |
| Get the value of the distance to the nearest wall. | |
| const su2double & | GetWall_Distance (unsigned long iPoint) const |
| void | SetRoughnessHeight (unsigned long iPoint, su2double roughheight) |
| Set the value of the distance to the nearest wall. | |
| su2double | GetRoughnessHeight (unsigned long iPoint) const |
| Get the value of the distance to the nearest wall. | |
| void | SetSharpEdge_Distance (unsigned long iPoint, su2double distance) |
| Set the value of the distance to a sharp edge. | |
| su2double & | GetSharpEdge_Distance (unsigned long iPoint) |
| Get the value of the distance to a sharp edge. | |
| const su2double & | GetSharpEdge_Distance (unsigned long iPoint) const |
| void | SetCurvature (unsigned long iPoint, su2double curvature) |
| Set the value of the curvature at a surface node. | |
| su2double | GetCurvature (unsigned long iPoint) const |
| Get the value of the curvature at a surface node. | |
| void | SetMaxLength (unsigned long iPoint, su2double max_length) |
| Set the max cell-center to cell-center length. | |
| su2double | GetMaxLength (unsigned long iPoint) const |
| Get the maximum cell-center to cell-center length. | |
| su2double & | GetVolume (unsigned long iPoint) |
| Get area or volume of the control volume. | |
| const su2double & | GetVolume (unsigned long iPoint) const |
| void | SetVolume (unsigned long iPoint, su2double volume) |
| Set the volume of the control volume. | |
| void | AddVolume (unsigned long iPoint, su2double volume) |
| Adds some area or volume of the CV. | |
| su2double & | GetPeriodicVolume (unsigned long iPoint) |
| Get the missing component of area or volume for a control volume on a periodic marker. | |
| const su2double & | GetPeriodicVolume (unsigned long iPoint) const |
| void | SetPeriodicVolume (unsigned long iPoint, su2double volume) |
| Set the missing component of area or volume for a control volume on a periodic marker. | |
| su2double | GetVolume_n (unsigned long iPoint) const |
| Get the volume of the control volume at time n. | |
| su2double | GetVolume_nM1 (unsigned long iPoint) const |
| Get the volume of the control volume at time n+1. | |
| void | SetVolume_n () |
| Set the volume of the control volume at time n. | |
| void | SetVolume_nM1 () |
| Set the volume of the control volume at time n-1. | |
| void | SetVolume_n_from_OldnM1 () |
| Set the volume of the control volume at time n using n-1. | |
| void | SetVolume_from_Oldn () |
| Set the volume of the control volume at current time using time n. | |
| void | SetVolume_Old () |
| Set the Volume to Volume_Old. | |
| void | SetVolume_n_Old () |
| Set the Volume_n to Volume_n_Old. | |
| void | SetVolume_nM1_Old () |
| Set the Volume_nM1 to Volume_nM1_Old. | |
| void | SetParent_CV (unsigned long iPoint, unsigned long parent_CV) |
| Set the parent control volume of an agglomerated control volume. | |
| void | SetChildren_CV (unsigned long iPoint, unsigned long nchildren_CV, unsigned long children_CV) |
| Set the children control volumes of an agglomerated control volume. | |
| void | SetChildren_CV (unsigned long iPoint, const vector< unsigned long > &children_CV) |
| Set all the children control volumes of an agglomerated control volume at once. | |
| unsigned long | GetParent_CV (unsigned long iPoint) const |
| Get the parent control volume of an agglomerated control volume. | |
| unsigned long | GetChildren_CV (unsigned long iPoint, unsigned short nchildren_CV) const |
| Get the children control volume of an agglomerated control volume. | |
| const vector< unsigned long > & | GetChildren_CV (unsigned long iPoint) const |
| Get the children control volumes of an agglomerated control volume. Only the first GetnChildren_CV entries are meaningful, the storage may be longer. | |
| bool | GetAgglomerate (unsigned long iPoint) const |
| Get information about if a control volume has been agglomerated. | |
| bool | GetAgglomerate_Indirect (unsigned long iPoint) const |
| Get information about if the indirect neighbors can be agglomerated. | |
| void | SetAgglomerate_Indirect (unsigned long iPoint, bool agglomerate) |
| Set information about if the indirect neighbors can be agglomerated. | |
| unsigned short | GetnChildren_CV (unsigned long iPoint) const |
| Get the number of children of an agglomerated control volume. | |
| void | SetnChildren_CV (unsigned long iPoint, unsigned short nchildren_CV) |
| Set the number of children of an agglomerated control volume. | |
| su2double * | GetCoord_n (unsigned long iPoint) |
| Get the coordinates of the control volume at time n. | |
| su2double * | GetCoord_n1 (unsigned long iPoint) |
| Get the coordinates of the control volume at time n-1. | |
| su2double * | GetCoord_p1 (unsigned long iPoint) |
| Get the coordinates of the control volume at time n+1. | |
| void | SetCoord_n () |
| Set the coordinates of the control volume at time n to the ones in Coord. | |
| void | SetCoord_n1 () |
| Set the coordinates of the control volume at time n-1 to the ones in Coord_n. | |
| void | SetCoord_n (unsigned long iPoint, const su2double *coord) |
| Set the coordinates of the control volume at time n, for restart cases. | |
| void | SetCoord_n1 (unsigned long iPoint, const su2double *coord) |
| Set the coordinates of the control volume at time n-1, for restart cases. | |
| void | SetCoord_p1 (unsigned long iPoint, const su2double *coord) |
| Set the coordinates of the control volume at time n+1. | |
| su2double * | GetCoord_Old (unsigned long iPoint) |
| Get the value of the old coordinates. | |
| void | SetCoord_Old (unsigned long iPoint, const su2double *coord_old) |
| Set the value of the vector Coord_Old. | |
| void | SetCoord_Old () |
| Set the value of the vector Coord_Old to Coord. | |
| su2double * | GetGridVel (unsigned long iPoint) |
| Get the value of the grid velocity at the point. | |
| const su2activematrix & | GetGridVel () const |
| Get the grid velocity matrix for the entire domain. | |
| void | SetGridVel (unsigned long iPoint, unsigned long iDim, su2double gridvel) |
| Set the value of the grid velocity at the point. | |
| void | SetGridVel (unsigned long iPoint, const su2double *gridvel) |
| Set the value of the grid velocity at the point. | |
| CVectorOfMatrix & | GetGridVel_Grad () |
| Get the grid velocity gradients for the entire domain. | |
| CMatrixView< const su2double > | GetGridVel_Grad (unsigned long iPoint) const |
| Get the value of the grid velocity gradient at the point. | |
| void | SetAdjointSolution (unsigned long iPoint, const su2double *adj_sol) |
| Set the adjoint values of the (geometric) coordinates. | |
| su2double | GetAdjointSolution (unsigned long iPoint, unsigned long iDim) const |
| Get the adjoint values of the (geometric) coordinates. | |
| void | RegisterCoordinates (unsigned long iPoint, bool input) |
| Register coordinates of a point. | |
| template<typename Roughness_type > | |
| void | SetWallRoughness (Roughness_type const &roughness) |
| Set wall roughnesses according to stored closest wall information. | |
Friends | |
| class | CPhysicalGeometry |
Class for point definition (dual control volumes).
| CPoint::CPoint | ( | unsigned long | npoint, |
| unsigned long | ndim, | ||
| unsigned short | imesh, | ||
| const CConfig * | config | ||
| ) |
"Full" constructor of the class.
| [in] | npoint | - Number of points (dual volumes) in the problem. |
| [in] | ndim | - Number of spatial dimensions of the problem. |
| [in] | imesh | - Index of the grid allocating the points. |
| [in] | config | - Definition of the particular problem. |
| CPoint::CPoint | ( | unsigned long | npoint, |
| unsigned long | ndim | ||
| ) |
Minimal constructor, only allocates the structures required to read and partition a mesh file.
| [in] | npoint | - Number of points (dual volumes) in the problem. |
| [in] | ndim | - Number of spatial dimensions of the problem. |
|
delete |
Default construction is not allowed.
|
inline |
Set the coordinates for the control volume.
| [in] | iPoint | - Index of the point. |
| [in] | iDim | - Position to store the coordinate. |
| [in] | coord | - Coordinate for iDim. |
|
inline |
Adds some area or volume of the CV.
| [in] | iPoint | - Index of the point. |
| [in] | volume | - Local volume to be added to the total one. |
| void CPoint::FullAllocation | ( | unsigned short | imesh, |
| const CConfig * | config | ||
| ) |
Allocate the variables not covered by the minimal constructor.
|
inline |
Get the adjoint values of the (geometric) coordinates.
| [in] | iPoint | - Index of the point. |
| [in] | iDim | - Dimension. |
|
inline |
Get information about if a control volume has been agglomerated.
| [in] | iPoint | - Index of the point. |
TRUE if the point has been agglomerated; otherwise FALSE.
|
inline |
Get information about if the indirect neighbors can be agglomerated.
| [in] | iPoint | - Index of the point. |
TRUE if the indirect neigbors can be agglomerated; otherwise FALSE.
|
inline |
Provides information about if a point belong to the boundaries.
| [in] | iPoint | - Index of the point. |
TRUE if the point belong to the boundary; otherwise FALSE.
|
inline |
Get the children control volumes of an agglomerated control volume. Only the first GetnChildren_CV entries are meaningful, the storage may be longer.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the children control volume of an agglomerated control volume.
| [in] | iPoint | - Index of the point. |
| [in] | nchildren_CV | - Number of the children. |
|
inline |
Get the color of a point, the color indicates to which subdomain the point belong to.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the entire matrix of coordinates of the control volumes.
|
inline |
Get the coordinates of the control volume.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the coordinates dor the control volume.
| [in] | iPoint | - Index of the point. |
| [in] | iDim | - Number of dimensions of the problem. |
|
inline |
Get the coordinates of the control volume at time n.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the coordinates of the control volume at time n-1.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the value of the old coordinates.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the coordinates of the control volume at time n+1.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the value of the curvature at a surface node.
| [in] | iPoint | - Index of the point. |
|
inline |
For parallel computation, its indicates if a point must be computed or not.
| [in] | iPoint | - Index of the point. |
TRUE if the node belong to the physical domain; otherwise FALSE.
|
inline |
Get all the edges that compose the control volume.
| [in] | iPoint | - Index of the point. |
| [in] | nedge | - Position where the edge is stored. |
|
inline |
Get inner iterator to loop over neighbor edges.
|
inline |
Get all the elements that compose the control volume.
| [in] | iPoint | - Index of the point. |
| [in] | nelem | - Position where the element is stored. |
|
inline |
Get inner iterator to loop over neighbor elements.
|
inline |
Get the global index in a parallel computation.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the grid velocity matrix for the entire domain.
|
inline |
Get the value of the grid velocity at the point.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the grid velocity gradients for the entire domain.
|
inline |
Get the value of the grid velocity gradient at the point.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the maximum cell-center to cell-center length.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the number of children of an agglomerated control volume.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the number of elements that compose the control volume.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the number of neighbor of a point.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the number of points that compose the control volume.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the parent control volume of an agglomerated control volume.
| [in] | iPoint | - Index of the point. |
|
inline |
Provides information about if a point belongs to a periodic boundary (without MPI).
| [in] | iPoint | - Index of the point. |
TRUE if the point belongs to a periodic boundary; otherwise FALSE.
|
inline |
Get the missing component of area or volume for a control volume on a periodic marker.
| [in] | iPoint | - Index of the point. |
|
inline |
|
inline |
Provides information about if a point belong to the physical boundaries (without MPI).
| [in] | iPoint | - Index of the point. |
TRUE if the point belong to the boundary; otherwise FALSE.
|
inline |
Get all the points that compose the control volume.
| [in] | iPoint | - Index of the point. |
| [in] | point | - Position where the point is stored. |
|
inline |
Get the entire point adjacency information in compressed format (CSR).
|
inline |
Get inner iterator to loop over neighbor points.
|
inline |
Get the value of the distance to the nearest wall.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the value of the distance to a sharp edge.
| [in] | iPoint | - Index of the point. |
|
inline |
|
inline |
Provides information about if a point belong to the physical boundaries (without MPI).
| [in] | iPoint | - Index of the point. |
TRUE if the point belong to the boundary; otherwise FALSE.
|
inline |
Get the vertex that compose the control volume for a marker.
| [in] | iPoint | - Index of the point. |
| [in] | iMarker | - Position where the vertex is stored. |
|
inline |
Provides information about if a point belong to the physical boundaries (without MPI).
| [in] | iPoint | - Index of the point. |
TRUE if the point belong to the boundary; otherwise FALSE.
|
inline |
Get area or volume of the control volume.
| [in] | iPoint | - Index of the point. |
|
inline |
|
inline |
Get the volume of the control volume at time n.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the volume of the control volume at time n+1.
| [in] | iPoint | - Index of the point. |
|
inline |
Get the value of the distance to the nearest wall.
| [in] | iPoint | - Index of the point. |
|
inline |
|
inline |
Register coordinates of a point.
| [in] | iPoint | - Index of the point. |
| [in] | input | - Register as input or output. |
|
inline |
Reset the boundary of a control volume.
| [in] | iPoint | - Index of the point. |
|
inline |
Reset the elements of a control volume.
|
inline |
Reset the points that compose the control volume.
|
inline |
Set the adjoint values of the (geometric) coordinates.
| [in] | iPoint | - Index of the point. |
| [in] | adj_sol | - Adjoint values of the Coord variables. |
|
inline |
Set information about if the indirect neighbors can be agglomerated.
| [in] | iPoint | - Index of the point. |
| [in] | agglomerate | - The indirect neigbors can be agglomerated. |
|
inline |
Mark the point as boundary.
| [in] | iPoint | - Index of the point. |
| [in] | boundary | - TRUE if the point belong to the boundary; otherwise FALSE. |
|
inline |
Set if a point belong to the boundary.
| [in] | iPoint | - Index of the point. |
| [in] | nMarker | - Max number of marker. |
|
inline |
Set all the children control volumes of an agglomerated control volume at once.
| [in] | iPoint | - Index of the point. |
| [in] | children_CV | - Indices of the children control volumes. |
|
inline |
Set the children control volumes of an agglomerated control volume.
| [in] | iPoint | - Index of the point. |
| [in] | nchildren_CV | - Number of children. |
| [in] | children_CV | - Index of the children control volume. |
|
inline |
Set a color to the point that comes from the grid partitioning.
| [in] | iPoint | - Index of the point. |
| [in] | color | - Color of the point. |
|
inline |
Set the point coordinates.
| [in] | iPoint | - Index of the point. |
| [in] | coord | - Coordinate of the point. |
|
inline |
Set the coordinates for the control volume.
| [in] | iPoint | - Index of the point. |
| [in] | iDim | - Position to store the coordinate. |
| [in] | coord | - Coordinate for iDim. |
| void CPoint::SetCoord_n | ( | ) |
Set the coordinates of the control volume at time n to the ones in Coord.
|
inline |
Set the coordinates of the control volume at time n, for restart cases.
| [in] | iPoint | - Index of the point. |
| [in] | coord | - Value of the grid coordinates at time n. |
| void CPoint::SetCoord_n1 | ( | ) |
Set the coordinates of the control volume at time n-1 to the ones in Coord_n.
|
inline |
Set the coordinates of the control volume at time n-1, for restart cases.
| [in] | iPoint | - Index of the point. |
| [in] | coord | - Value of the grid coordinates at time n-1. |
| void CPoint::SetCoord_Old | ( | ) |
Set the value of the vector Coord_Old to Coord.
|
inline |
Set the value of the vector Coord_Old.
| [in] | iPoint | - Index of the point. |
| [in] | coord_old | - Value of the coordinates. |
|
inline |
Set the coordinates of the control volume at time n+1.
| [in] | iPoint | - Index of the point. |
| [in] | coord | - Value of the grid coordinates at time n+1. |
|
inline |
Set the value of the curvature at a surface node.
| [in] | iPoint | - Index of the point. |
| [in] | curvature | - Value of the curvature. |
|
inline |
For parallel computation, its indicates if a point must be computed or not.
| [in] | iPoint | - Index of the point. |
| [in] | domain | - TRUE if the point belong to the domain; otherwise FALSE. |
|
inline |
Set the edges that compose the control volume.
| [in] | iPoint | - Index of the point. |
| [in] | iedge | - Edge to be added. |
| [in] | nedge | - Position in which is going to be stored the edge for each control volume. |
| void CPoint::SetElems | ( | const vector< vector< long > > & | elemsMatrix | ) |
Set the elements that are connected to each point.
| [in] | elemsMatrix | - List of lists with the neighbor points connected to each point. |
|
inline |
Set the global index in a parallel computation.
| [in] | iPoint | - Index of the point. |
|
inline |
Set the value of the grid velocity at the point.
| [in] | iPoint | - Index of the point. |
| [in] | gridvel | - Value of the grid velocity. |
|
inline |
Set the value of the grid velocity at the point.
| [in] | iPoint | - Index of the point. |
| [in] | iDim | - Index of the coordinate. |
| [in] | gridvel | - Value of the grid velocity. |
|
inline |
Set the max cell-center to cell-center length.
| [in] | iPoint | - Index of the point. |
| [in] | max_length | - Value of the max length |
|
inline |
Set the number of children of an agglomerated control volume.
| [in] | iPoint | - Index of the point. |
| [in] | nchildren_CV | - Number of children of the control volume. |
|
inline |
Set the number of neighbor (artificial dissipation).
| [in] | iPoint | - Index of the point. |
| [in] | nneighbor | - Number of neighbors. |
|
inline |
Set the parent control volume of an agglomerated control volume.
| [in] | iPoint | - Index of the point. |
| [in] | parent_CV | - Index of the parent control volume. |
|
inline |
Set if a point belongs to a periodic boundary.
| [in] | iPoint | - Index of the point. |
| [in] | boundary | - TRUE if the point belongs to a periodic boundary; otherwise FALSE. |
|
inline |
Set the missing component of area or volume for a control volume on a periodic marker.
| [in] | iPoint | - Index of the point. |
| [in] | volume | - Value of the volume from the missing components of the CV on the periodic marker. |
|
inline |
Set if a point belong to the boundary.
| [in] | iPoint | - Index of the point. |
| [in] | boundary | - TRUE if the point belong to the physical boundary; otherwise FALSE. |
| void CPoint::SetPoints | ( | const vector< vector< unsigned long > > & | pointsMatrix | ) |
Set the points that compose the control volume.
| [in] | pointsMatrix | - List of lists with the neighbor points connected to each point. |
|
inline |
Set the value of the distance to the nearest wall.
| [in] | iPoint | - Index of the point. |
| [in] | distance | - Value of the distance. |
|
inline |
Set the value of the distance to a sharp edge.
| [in] | iPoint | - Index of the point. |
| [in] | distance | - Value of the distance. |
|
inline |
Set if a point belong to the solid wall boundary.
| [in] | iPoint | - Index of the point. |
| [in] | boundary | - TRUE if the point belong to the physical boundary; otherwise FALSE. |
|
inline |
Set the boundary vertex that compose the control volume.
| [in] | iPoint | - Index of the point. |
| [in] | iVertex | - Vertex to be added. |
| [in] | iMarker | - Marker of the vertex to be added (position where is going to be stored). |
|
inline |
Set if a point belong to the boundary.
| [in] | iPoint | - Index of the point. |
| [in] | boundary | - TRUE if the point belong to the physical boundary; otherwise FALSE. |
|
inline |
Set the volume of the control volume.
| [in] | iPoint | - Index of the point. |
| [in] | volume | - Value of the volume. |
| void CPoint::SetVolume_from_Oldn | ( | ) |
Set the volume of the control volume at current time using time n.
| void CPoint::SetVolume_n | ( | ) |
Set the volume of the control volume at time n.
| void CPoint::SetVolume_n_from_OldnM1 | ( | ) |
Set the volume of the control volume at time n using n-1.
| void CPoint::SetVolume_n_Old | ( | ) |
Set the Volume_n to Volume_n_Old.
| void CPoint::SetVolume_nM1 | ( | ) |
Set the volume of the control volume at time n-1.
| void CPoint::SetVolume_nM1_Old | ( | ) |
Set the Volume_nM1 to Volume_nM1_Old.
| void CPoint::SetVolume_Old | ( | ) |
Set the Volume to Volume_Old.
|
inline |
|
inline |
Set the value of the distance to the nearest wall.
| [in] | iPoint | - Index of the point. |
| [in] | distance | - Value of the distance. |
| [in] | rankID | - Rank of process holding the closest wall element. |
| [in] | zoneID | - Zone index of closest wall element. |
| [in] | markerID | - Marker index of closest wall element. |
| [in] | elemID | - Element index of closest wall element. |
|
inline |
Set wall roughnesses according to stored closest wall information.
| [in] | roughness | - Mapping [rank][zone][marker] -> roughness |
|
friend |