SU2
Public Member Functions | List of all members
CPoint Class Reference

Class for point definition (including control volume definition). More...

#include <dual_grid_structure.hpp>

Inheritance diagram for CPoint:
CDualGrid

Public Member Functions

 CPoint (unsigned short val_nDim, unsigned long val_globalindex, CConfig *config)
 Constructor of the class. More...
 
 CPoint (su2double val_coord_0, su2double val_coord_1, unsigned long val_globalindex, CConfig *config)
 
 CPoint (su2double val_coord_0, su2double val_coord_1, su2double val_coord_2, unsigned long val_globalindex, CConfig *config)
 
 ~CPoint (void)
 Destructor of the class.
 
void SetDomain (bool val_domain)
 For parallel computation, its indicates if a point must be computed or not. More...
 
bool GetDomain (void)
 For parallel computation, its indicates if a point must be computed or not. More...
 
void SetWall_Distance (su2double val_distance)
 Set the value of the distance to the nearest wall. More...
 
void SetSharpEdge_Distance (su2double val_distance)
 Set the value of the distance to a sharp edge. More...
 
su2double GetWall_Distance (void)
 Get the value of the distance to the nearest wall. More...
 
void SetCurvature (su2double val_curvature)
 Set the value of the curvature at a surface node. More...
 
su2double GetCurvature (void)
 Get the value of the curvature at a surface node. More...
 
su2double GetSharpEdge_Distance (void)
 Get the value of the distance to a sharp edge. More...
 
void SetnElem (unsigned short val_nElem)
 Set the number of elements that compose the control volume. More...
 
void SetnPoint (unsigned short val_nPoint)
 Set the number of points that compose the control volume. More...
 
su2double GetCoord (unsigned short val_dim)
 Get the coordinates dor the control volume. More...
 
su2double * GetCoord (void)
 Get the coordinates of the control volume. More...
 
void SetCoord (unsigned short val_dim, su2double val_coord)
 Set the coordinates for the control volume. More...
 
bool GetFlip_Orientation (void)
 Get the coordinates of the control volume. More...
 
void SetFlip_Orientation (void)
 Set the coordinates for the control volume. More...
 
void AddCoord (unsigned short val_dim, su2double val_coord)
 Set the coordinates for the control volume. More...
 
void SetCoord (su2double *val_coord)
 
unsigned short GetnElem (void)
 Get the number of elements that compose the control volume. More...
 
unsigned short GetnPoint (void)
 Get the number of points that compose the control volume. More...
 
void SetElem (unsigned long val_elem)
 Set the elements that set the control volume. More...
 
void ResetElem (void)
 Reset the elements of a control volume.
 
void ResetPoint (void)
 Reset the points that compose the control volume.
 
void SetPoint (unsigned long val_point)
 Set the points that compose the control volume. More...
 
void SetEdge (long val_edge, unsigned short val_nEdge)
 Set the edges that compose the control volume. More...
 
void SetVertex (long val_vertex, unsigned short val_nMarker)
 Set the boundary vertex that compose the control volume. More...
 
unsigned long GetElem (unsigned short val_elem)
 Get all the elements that compose the control volume. More...
 
unsigned long GetPoint (unsigned short val_point)
 Get all the points that compose the control volume. More...
 
long GetEdge (unsigned short val_edge)
 Get all the edges that compose the control volume. More...
 
long GetVertex (unsigned short val_marker)
 Get the vertex that compose the control volume for a marker. More...
 
void AddVolume (su2double val_Volume)
 Adds some area or volume of the CV. More...
 
su2double GetVolume (void)
 Get area or volume of the control volume. More...
 
bool GetMove (void)
 Get information about the movement of the node. More...
 
void SetBoundary (unsigned short val_nmarker)
 Set if a point belong to the boundary. More...
 
void ResetBoundary (void)
 Reset the boundary of a control volume.
 
void SetBoundary (bool val_boundary)
 
bool GetBoundary (void)
 Provides information about if a point belong to the boundaries. More...
 
void SetPhysicalBoundary (bool val_boundary)
 Set if a point belong to the boundary. More...
 
void SetSolidBoundary (bool val_boundary)
 Set if a point belong to the boundary. More...
 
bool GetPhysicalBoundary (void)
 Provides information about if a point belong to the physical boundaries (without MPI). More...
 
bool GetSolidBoundary (void)
 Provides information about if a point belong to the physical boundaries (without MPI). More...
 
void SetColor (unsigned short val_color)
 Set a color to the point that comes from the grid partitioning. More...
 
void SetnNeighbor (unsigned short val_nneighbor)
 Set the number of neighbor (artificial dissipation). More...
 
unsigned short GetnNeighbor (void)
 Get the number of neighbor of a point. More...
 
unsigned short GetColor (void)
 Get the color of a point, the color indicates to which subdomain the point belong to. More...
 
unsigned long GetGlobalIndex (void)
 Get the global index in a parallel computation. More...
 
void SetGlobalIndex (unsigned long val_globalindex)
 Set the global index in a parallel computation. More...
 
su2double GetVolume_n (void)
 Get the volume of the control volume at time n. More...
 
su2double GetVolume_nM1 (void)
 Get the volume of the control volume at time n+1. More...
 
void SetVolume_n (void)
 Set the volume of the control volume at time n.
 
void SetVolume_nM1 (void)
 Set the volume of the control volume at time n+1.
 
su2double * GetCoord_n (void)
 Get the coordinates of the control volume at time n. More...
 
su2double * GetCoord_n1 (void)
 Get the coordinates of the control volume at time n-1. More...
 
su2double * GetCoord_p1 (void)
 Get the coordinates of the control volume at time n+1. More...
 
void SetCoord_n (void)
 Set the coordinates of the control volume at time n.
 
void SetCoord_n1 (void)
 Set the coordinates of the control volume at time n-1.
 
void SetCoord_n (su2double *val_coord)
 Set the coordinates of the control volume at time n, for restart cases. More...
 
void SetCoord_n1 (su2double *val_coord)
 Set the coordinates of the control volume at time n-1, for restart cases. More...
 
void SetCoord_p1 (su2double *val_coord)
 Set the coordinates of the control volume at time n+1. More...
 
void SetVolume (su2double val_Volume)
 Set the volume of the control volume. More...
 
void SetMove (bool val_move)
 Set if a element is going to be moved on the deformation process. More...
 
void SetParent_CV (unsigned long val_parent_CV)
 Set the parent control volume of an agglomerated control volume. More...
 
void SetChildren_CV (unsigned short val_nchildren_CV, unsigned long val_children_CV)
 Set the children control volumes of an agglomerated control volume. More...
 
unsigned long GetParent_CV (void)
 Get the parent control volume of an agglomerated control volume. More...
 
unsigned long GetChildren_CV (unsigned short val_nchildren_CV)
 Get the children control volume of an agglomerated control volume. More...
 
bool GetAgglomerate (void)
 Get information about if a control volume has been agglomerated. More...
 
bool GetAgglomerate_Indirect (void)
 Get information about if the indirect neighbors can be agglomerated. More...
 
void SetAgglomerate_Indirect (bool val_agglomerate)
 Set information about if the indirect neighbors can be agglomerated. More...
 
unsigned short GetnChildren_CV (void)
 Get the number of children of an agglomerated control volume. More...
 
void SetnChildren_CV (unsigned short val_nchildren_CV)
 Set the number of children of an agglomerated control volume. More...
 
su2double * GetCoord_Sum (void)
 Get the value of the summed coordinates for implicit smoothing. More...
 
su2double * GetCoord_Old (void)
 Get the value of the old coordinates for implicit smoothing. More...
 
su2double * GetGridVel (void)
 Get the value of the grid velocity at the point. More...
 
su2double ** GetGridVel_Grad (void)
 Get the value of the grid velocity gradient at the point. More...
 
void AddCoord_Sum (su2double *val_coord_sum)
 Add the value of the coordinates to the Coord_Sum vector for implicit smoothing. More...
 
void SetCoord_SumZero (void)
 Initialize the vector Coord_Sum.
 
void SetCoord_Old (su2double *val_coord_old)
 Set the value of the vector Coord_Old for implicit smoothing. More...
 
void SetGridVel (unsigned short val_dim, su2double val_gridvel)
 Set the value of the grid velocity at the point. More...
 
void SetGridVel (su2double *val_gridvel)
 
void SetGridVel_Grad (unsigned short val_var, unsigned short val_dim, su2double val_value)
 Set the gradient of the grid velocity. More...
 
void SetNodes_Coord (su2double *val_coord_Edge_CG, su2double *val_coord_FaceElem_CG, su2double *val_coord_Elem_CG)
 This function does nothing (it comes from a pure virtual function, that implies the definition of the function in all the derived classes).
 
void SetNodes_Coord (su2double *val_coord_Edge_CG, su2double *val_coord_Elem_CG)
 This function does nothing (it comes from a pure virtual function, that implies the definition of the function in all the derived classes).
 
void GetNormal (su2double *val_normal)
 This function does nothing (it comes from a pure virtual function, that implies the definition of the function in all the derived classes).
 
su2double * GetNormal (void)
 This function does nothing (it comes from a pure virtual function, that implies the definition of the function in all the derived classes).
 
void SetNormal (su2double *val_face_normal)
 This function does nothing (it comes from a pure virtual function, that implies the definition of the function in all the derived classes).
 
unsigned short GetnNodes (void)
 This function does nothing (it comes from a pure virtual function, that implies the definition of the function in all the derived classes).
 
void SetZeroValues (void)
 This function does nothing (it comes from a pure virtual function, that implies the definition of the function in all the derived classes).
 
void AddNormal (su2double *val_face_normal)
 This function does nothing (it comes from a pure virtual function, that implies the definition of the function in all the derived classes).
 
- Public Member Functions inherited from CDualGrid
 CDualGrid (unsigned short val_nDim)
 Constructor of the class. More...
 
virtual ~CDualGrid (void)
 Destructor of the class.
 

Additional Inherited Members

- Static Protected Attributes inherited from CDualGrid
static unsigned short nDim = 0
 Number of dimensions of the problem.
 

Detailed Description

Class for point definition (including control volume definition).

Author
F. Palacios
Version
5.0.0 "Raven"

Constructor & Destructor Documentation

§ CPoint() [1/3]

CPoint::CPoint ( unsigned short  val_nDim,
unsigned long  val_globalindex,
CConfig config 
)

Constructor of the class.

Parameters
[in]val_nDim- Number of dimensions of the problem.
[in]val_globalindexGlobal index in the parallel simulation.
[in]config- Definition of the particular problem.

§ CPoint() [2/3]

CPoint::CPoint ( su2double  val_coord_0,
su2double  val_coord_1,
unsigned long  val_globalindex,
CConfig config 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]val_coord_0First coordinate of the point.
[in]val_coord_1Second coordinate of the point.
[in]val_globalindexGlobal index in the parallel simulation.
[in]config- Definition of the particular problem.

§ CPoint() [3/3]

CPoint::CPoint ( su2double  val_coord_0,
su2double  val_coord_1,
su2double  val_coord_2,
unsigned long  val_globalindex,
CConfig config 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]val_coord_0First coordinate of the point.
[in]val_coord_1Second coordinate of the point.
[in]val_coord_2Third coordinate of the point.
[in]val_globalindexGlobal index in the parallel simulation.
[in]config- Definition of the particular problem.

Member Function Documentation

§ AddCoord()

void CPoint::AddCoord ( unsigned short  val_dim,
su2double  val_coord 
)
inline

Set the coordinates for the control volume.

Parameters
[in]val_dim- Position to store the coordinate.
[in]val_coord- Coordinate for val_dim.

§ AddCoord_Sum()

void CPoint::AddCoord_Sum ( su2double *  val_coord_sum)
inline

Add the value of the coordinates to the Coord_Sum vector for implicit smoothing.

Parameters
[in]val_coord_sum- Value of the coordinates to add.

§ AddVolume()

void CPoint::AddVolume ( su2double  val_Volume)
inline

Adds some area or volume of the CV.

Parameters
[in]val_Volume- Local volume to be added to the total one.

§ GetAgglomerate()

bool CPoint::GetAgglomerate ( void  )
inline

Get information about if a control volume has been agglomerated.

Returns
TRUE if the point has been agglomerated; otherwise FALSE.

§ GetAgglomerate_Indirect()

bool CPoint::GetAgglomerate_Indirect ( void  )
inline

Get information about if the indirect neighbors can be agglomerated.

Returns
TRUE if the indirect neigbors can be agglomerated; otherwise FALSE.

§ GetBoundary()

bool CPoint::GetBoundary ( void  )
inline

Provides information about if a point belong to the boundaries.

Returns
TRUE if the point belong to the boundary; otherwise FALSE.

§ GetChildren_CV()

unsigned long CPoint::GetChildren_CV ( unsigned short  val_nchildren_CV)
inline

Get the children control volume of an agglomerated control volume.

Parameters
[in]val_nchildren_CV- Number of the children.
Returns
Index of the parent control volume.

§ GetColor()

unsigned short CPoint::GetColor ( void  )
inline

Get the color of a point, the color indicates to which subdomain the point belong to.

Returns
Color of the point.

§ GetCoord() [1/2]

su2double CPoint::GetCoord ( unsigned short  val_dim)
inline

Get the coordinates dor the control volume.

Parameters
[in]val_dim- Number of dimensions of the problem.
Returns
Coordinate that correspond with val_dim.

§ GetCoord() [2/2]

su2double * CPoint::GetCoord ( void  )
inlinevirtual

Get the coordinates of the control volume.

Returns
pointer to the coordinate of the point.

Implements CDualGrid.

§ GetCoord_n()

su2double * CPoint::GetCoord_n ( void  )
inline

Get the coordinates of the control volume at time n.

Returns
Coordinates of the control volume at time n.

§ GetCoord_n1()

su2double * CPoint::GetCoord_n1 ( void  )
inline

Get the coordinates of the control volume at time n-1.

Returns
Volume of the control volume at time n-1

§ GetCoord_Old()

su2double * CPoint::GetCoord_Old ( void  )
inline

Get the value of the old coordinates for implicit smoothing.

Returns
Old coordinates at a point.

§ GetCoord_p1()

su2double * CPoint::GetCoord_p1 ( void  )
inline

Get the coordinates of the control volume at time n+1.

Returns
Volume of the control volume at time n+1

§ GetCoord_Sum()

su2double * CPoint::GetCoord_Sum ( void  )
inline

Get the value of the summed coordinates for implicit smoothing.

Returns
Sum of coordinates at a point.

§ GetCurvature()

su2double CPoint::GetCurvature ( void  )
inline

Get the value of the curvature at a surface node.

Returns
Value of the curvature.

§ GetDomain()

bool CPoint::GetDomain ( void  )
inline

For parallel computation, its indicates if a point must be computed or not.

Returns
TRUE if the node belong to the physical domain; otherwise FALSE.

§ GetEdge()

long CPoint::GetEdge ( unsigned short  val_edge)
inline

Get all the edges that compose the control volume.

Parameters
[in]val_edge- Position where the edge is stored.
Returns
Index of the edge.

§ GetElem()

unsigned long CPoint::GetElem ( unsigned short  val_elem)
inline

Get all the elements that compose the control volume.

Parameters
[in]val_elem- Position where the element is stored.
Returns
Index of the element.

§ GetFlip_Orientation()

bool CPoint::GetFlip_Orientation ( void  )
inline

Get the coordinates of the control volume.

Returns
pointer to the coordinate of the point.

§ GetGlobalIndex()

unsigned long CPoint::GetGlobalIndex ( void  )
inline

Get the global index in a parallel computation.

Returns
Global index in a parallel computation.

§ GetGridVel()

su2double * CPoint::GetGridVel ( void  )
inline

Get the value of the grid velocity at the point.

Returns
Grid velocity at the point.

§ GetGridVel_Grad()

su2double ** CPoint::GetGridVel_Grad ( void  )
inline

Get the value of the grid velocity gradient at the point.

Returns
Grid velocity gradient at the point.

§ GetMove()

bool CPoint::GetMove ( void  )
inline

Get information about the movement of the node.

Returns
TRUE if the point is going to be moved; otherwise FALSE.

§ GetnChildren_CV()

unsigned short CPoint::GetnChildren_CV ( void  )
inline

Get the number of children of an agglomerated control volume.

Returns
Number of children control volume.

§ GetnElem()

unsigned short CPoint::GetnElem ( void  )
inline

Get the number of elements that compose the control volume.

Returns
Number of elements that compose the control volume.

§ GetnNeighbor()

unsigned short CPoint::GetnNeighbor ( void  )
inline

Get the number of neighbor of a point.

Returns
Number of neighbors.

§ GetnPoint()

unsigned short CPoint::GetnPoint ( void  )
inline

Get the number of points that compose the control volume.

Returns
Number of points that compose the control volume.

§ GetParent_CV()

unsigned long CPoint::GetParent_CV ( void  )
inline

Get the parent control volume of an agglomerated control volume.

Returns
Index of the parent control volume.

§ GetPhysicalBoundary()

bool CPoint::GetPhysicalBoundary ( void  )
inline

Provides information about if a point belong to the physical boundaries (without MPI).

Returns
TRUE if the point belong to the boundary; otherwise FALSE.

§ GetPoint()

unsigned long CPoint::GetPoint ( unsigned short  val_point)
inline

Get all the points that compose the control volume.

Parameters
[in]val_point- Position where the point is stored.
Returns
Index of the point.

§ GetSharpEdge_Distance()

su2double CPoint::GetSharpEdge_Distance ( void  )
inline

Get the value of the distance to a sharp edge.

Returns
Value of the distance to the nearest wall.

§ GetSolidBoundary()

bool CPoint::GetSolidBoundary ( void  )
inline

Provides information about if a point belong to the physical boundaries (without MPI).

Returns
TRUE if the point belong to the boundary; otherwise FALSE.

§ GetVertex()

long CPoint::GetVertex ( unsigned short  val_marker)
inline

Get the vertex that compose the control volume for a marker.

Parameters
[in]val_marker- Position where the vertex is stored.
Returns
Index of the vertex.

§ GetVolume()

su2double CPoint::GetVolume ( void  )
inline

Get area or volume of the control volume.

Returns
Area or volume of the control volume.

§ GetVolume_n()

su2double CPoint::GetVolume_n ( void  )
inline

Get the volume of the control volume at time n.

Returns
Volume of the control volume at time n

§ GetVolume_nM1()

su2double CPoint::GetVolume_nM1 ( void  )
inline

Get the volume of the control volume at time n+1.

Returns
Volume of the control volume at time n+1

§ GetWall_Distance()

su2double CPoint::GetWall_Distance ( void  )
inline

Get the value of the distance to the nearest wall.

Returns
Value of the distance to the nearest wall.

§ SetAgglomerate_Indirect()

void CPoint::SetAgglomerate_Indirect ( bool  val_agglomerate)
inline

Set information about if the indirect neighbors can be agglomerated.

Parameters
[in]val_agglomerate- The indirect neigbors can be agglomerated.

§ SetBoundary() [1/2]

void CPoint::SetBoundary ( unsigned short  val_nmarker)

Set if a point belong to the boundary.

Note
It also create the structure to store the vertex.
Parameters
[in]val_nmarker- Max number of marker.

§ SetBoundary() [2/2]

void CPoint::SetBoundary ( bool  val_boundary)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]val_boundary- TRUE if the point belong to the boundary; otherwise FALSE.

§ SetChildren_CV()

void CPoint::SetChildren_CV ( unsigned short  val_nchildren_CV,
unsigned long  val_children_CV 
)
inline

Set the children control volumes of an agglomerated control volume.

Parameters
[in]val_nchildren_CV- Number of children.
[in]val_children_CV- Index of the children control volume.

§ SetColor()

void CPoint::SetColor ( unsigned short  val_color)
inline

Set a color to the point that comes from the grid partitioning.

Note
Each domain has a different color.
Parameters
[in]val_color- Color of the point.

§ SetCoord() [1/2]

void CPoint::SetCoord ( unsigned short  val_dim,
su2double  val_coord 
)
inline

Set the coordinates for the control volume.

Parameters
[in]val_dim- Position to store the coordinate.
[in]val_coord- Coordinate for val_dim.

§ SetCoord() [2/2]

void CPoint::SetCoord ( su2double *  val_coord)
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]val_coord- Coordinate of the point.

Implements CDualGrid.

§ SetCoord_n()

void CPoint::SetCoord_n ( su2double *  val_coord)
inline

Set the coordinates of the control volume at time n, for restart cases.

Parameters
[in]val_coord- Value of the grid coordinates at time n.

§ SetCoord_n1()

void CPoint::SetCoord_n1 ( su2double *  val_coord)
inline

Set the coordinates of the control volume at time n-1, for restart cases.

Parameters
[in]val_coord- Value of the grid coordinates at time n-1.

§ SetCoord_Old()

void CPoint::SetCoord_Old ( su2double *  val_coord_old)
inline

Set the value of the vector Coord_Old for implicit smoothing.

Parameters
[in]val_coord_old- Value of the coordinates.

§ SetCoord_p1()

void CPoint::SetCoord_p1 ( su2double *  val_coord)
inline

Set the coordinates of the control volume at time n+1.

Parameters
[in]val_coord- Value of the grid coordinates at time n+1.

§ SetCurvature()

void CPoint::SetCurvature ( su2double  val_curvature)
inline

Set the value of the curvature at a surface node.

Parameters
[in]val_curvature- Value of the curvature.

§ SetDomain()

void CPoint::SetDomain ( bool  val_domain)
inline

For parallel computation, its indicates if a point must be computed or not.

Parameters
[in]val_domain- TRUE if the point belong to the domain; otherwise FALSE.

§ SetEdge()

void CPoint::SetEdge ( long  val_edge,
unsigned short  val_nEdge 
)
inline

Set the edges that compose the control volume.

Parameters
[in]val_edge- Edge to be added.
[in]val_nEdge- Position in which is going to be stored the edge for each control volume.

§ SetElem()

void CPoint::SetElem ( unsigned long  val_elem)
inline

Set the elements that set the control volume.

Parameters
[in]val_elem- Element to be added.

§ SetFlip_Orientation()

void CPoint::SetFlip_Orientation ( void  )
inline

Set the coordinates for the control volume.

Parameters
[in]val_dim- Position to store the coordinate.
[in]val_coord- Coordinate for val_dim.

§ SetGlobalIndex()

void CPoint::SetGlobalIndex ( unsigned long  val_globalindex)
inline

Set the global index in a parallel computation.

Returns
Global index in a parallel computation.

§ SetGridVel() [1/2]

void CPoint::SetGridVel ( unsigned short  val_dim,
su2double  val_gridvel 
)
inline

Set the value of the grid velocity at the point.

Parameters
[in]val_dim- Index of the coordinate.
[in]val_gridvel- Value of the grid velocity.

§ SetGridVel() [2/2]

void CPoint::SetGridVel ( su2double *  val_gridvel)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]val_gridvel- Value of the grid velocity.

§ SetGridVel_Grad()

void CPoint::SetGridVel_Grad ( unsigned short  val_var,
unsigned short  val_dim,
su2double  val_value 
)
inline

Set the gradient of the grid velocity.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
[in]val_value- Value of the gradient.

§ SetMove()

void CPoint::SetMove ( bool  val_move)
inline

Set if a element is going to be moved on the deformation process.

Parameters
[in]val_move- true or false depending if the point will be moved.

§ SetnChildren_CV()

void CPoint::SetnChildren_CV ( unsigned short  val_nchildren_CV)
inline

Set the number of children of an agglomerated control volume.

Parameters
[in]val_nchildren_CV- Number of children of the control volume.

§ SetnElem()

void CPoint::SetnElem ( unsigned short  val_nElem)
inline

Set the number of elements that compose the control volume.

Parameters
[in]val_nElem- Number of elements that make the control volume around a node.

§ SetnNeighbor()

void CPoint::SetnNeighbor ( unsigned short  val_nneighbor)
inline

Set the number of neighbor (artificial dissipation).

Parameters
[in]val_nneighbor- Number of neighbors.

§ SetnPoint()

void CPoint::SetnPoint ( unsigned short  val_nPoint)
inline

Set the number of points that compose the control volume.

Parameters
[in]val_nPoint- Number of points that compose the control volume (points surrounding points).

§ SetParent_CV()

void CPoint::SetParent_CV ( unsigned long  val_parent_CV)
inline

Set the parent control volume of an agglomerated control volume.

Parameters
[in]val_parent_CV- Index of the parent control volume.

§ SetPhysicalBoundary()

void CPoint::SetPhysicalBoundary ( bool  val_boundary)
inline

Set if a point belong to the boundary.

Parameters
[in]val_boundary- TRUE if the point belong to the physical boundary; otherwise FALSE.

§ SetPoint()

void CPoint::SetPoint ( unsigned long  val_point)

Set the points that compose the control volume.

Parameters
[in]val_point- Point to be added.

§ SetSharpEdge_Distance()

void CPoint::SetSharpEdge_Distance ( su2double  val_distance)
inline

Set the value of the distance to a sharp edge.

Parameters
[in]val_distance- Value of the distance.

§ SetSolidBoundary()

void CPoint::SetSolidBoundary ( bool  val_boundary)
inline

Set if a point belong to the boundary.

Parameters
[in]val_boundary- TRUE if the point belong to the physical boundary; otherwise FALSE.

§ SetVertex()

void CPoint::SetVertex ( long  val_vertex,
unsigned short  val_nMarker 
)
inline

Set the boundary vertex that compose the control volume.

Parameters
[in]val_vertex- Vertex to be added.
[in]val_nMarker- Marker of the vertex to be added (position where is going to be stored).

§ SetVolume()

void CPoint::SetVolume ( su2double  val_Volume)
inline

Set the volume of the control volume.

Parameters
[in]val_Volume- Value of the volume.

§ SetWall_Distance()

void CPoint::SetWall_Distance ( su2double  val_distance)
inline

Set the value of the distance to the nearest wall.

Parameters
[in]val_distance- Value of the distance.

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