SU2
Public Member Functions | Static Protected Attributes | List of all members
CDualGrid Class Referenceabstract

Class for controlling the dual volume definition. The dual volume is compose by three main elements: points, edges, and vertices. More...

#include <dual_grid_structure.hpp>

Inheritance diagram for CDualGrid:
CEdge CPoint CVertex

Public Member Functions

 CDualGrid (unsigned short val_nDim)
 Constructor of the class. More...
 
virtual ~CDualGrid (void)
 Destructor of the class.
 
virtual su2double * GetCoord (void)=0
 A pure virtual member.
 
virtual void SetCoord (su2double *val_coord)=0
 A pure virtual member. More...
 
virtual void SetNodes_Coord (su2double *val_coord_Edge_CG, su2double *val_coord_FaceElem_CG, su2double *val_coord_Elem_CG)=0
 A pure virtual member. More...
 
virtual void SetNodes_Coord (su2double *val_coord_Edge_CG, su2double *val_coord_Elem_CG)=0
 
virtual void GetNormal (su2double *val_normal)=0
 A pure virtual member. More...
 
virtual su2double * GetNormal (void)=0
 A pure virtual member.
 
virtual void SetNormal (su2double *val_face_normal)=0
 A pure virtual member. More...
 
virtual unsigned short GetnNodes (void)=0
 A pure virtual member.
 
virtual void SetZeroValues (void)=0
 A pure virtual member.
 
virtual void AddNormal (su2double *val_face_normal)=0
 A pure virtual member. More...
 

Static Protected Attributes

static unsigned short nDim = 0
 Number of dimensions of the problem.
 

Detailed Description

Class for controlling the dual volume definition. The dual volume is compose by three main elements: points, edges, and vertices.

Author
F. Palacios
Version
5.0.0 "Raven"

Constructor & Destructor Documentation

§ CDualGrid()

CDualGrid::CDualGrid ( unsigned short  val_nDim)

Constructor of the class.

Parameters
[in]val_nDim- Number of dimensions of the problem.

Member Function Documentation

§ AddNormal()

virtual void CDualGrid::AddNormal ( su2double *  val_face_normal)
pure virtual

A pure virtual member.

Parameters
[in]val_face_normal- Normal vector to be added.

Implemented in CVertex, CEdge, and CPoint.

§ GetNormal()

virtual void CDualGrid::GetNormal ( su2double *  val_normal)
pure virtual

A pure virtual member.

Parameters
[in]val_normal- Coordinates of the normal.

Implemented in CVertex, CEdge, and CPoint.

§ SetCoord()

virtual void CDualGrid::SetCoord ( su2double *  val_coord)
pure virtual

A pure virtual member.

Parameters
[in]val_coord- Coordinate of the point.

Implemented in CVertex, CEdge, and CPoint.

§ SetNodes_Coord() [1/2]

virtual void CDualGrid::SetNodes_Coord ( su2double *  val_coord_Edge_CG,
su2double *  val_coord_FaceElem_CG,
su2double *  val_coord_Elem_CG 
)
pure virtual

A pure virtual member.

Parameters
[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.
[in]config- Definition of the particular problem.

Implemented in CVertex, CEdge, and CPoint.

§ SetNodes_Coord() [2/2]

virtual void CDualGrid::SetNodes_Coord ( su2double *  val_coord_Edge_CG,
su2double *  val_coord_Elem_CG 
)
pure virtual

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_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.
[in]config- Definition of the particular problem.

Implemented in CVertex, CEdge, and CPoint.

§ SetNormal()

virtual void CDualGrid::SetNormal ( su2double *  val_face_normal)
pure virtual

A pure virtual member.

Parameters
[in]val_face_normal- Coordinates of the normal.

Implemented in CVertex, CEdge, and CPoint.


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