Documentation 6b54b78464
Loading...
Searching...
No Matches
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 <CDualGrid.hpp>

Inheritance diagram for CDualGrid:
[legend]

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ CDualGrid()

CDualGrid::CDualGrid ( unsigned short  val_nDim)

Constructor of the class.

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

◆ ~CDualGrid()

CDualGrid::~CDualGrid ( void  )
virtualdefault

Destructor of the class.

Member Function Documentation

◆ AddNormal()

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

A pure virtual member.

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

Implemented in CVertex.

◆ GetCoord()

virtual su2double * CDualGrid::GetCoord ( void  )
pure virtual

A pure virtual member.

Implemented in CVertex.

◆ GetnNodes()

virtual unsigned short CDualGrid::GetnNodes ( void  ) const
pure virtual

A pure virtual member.

Implemented in CVertex.

◆ GetNormal() [1/2]

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

A pure virtual member.

Parameters
[out]val_normal- Coordinates of the normal.

Implemented in CVertex.

◆ GetNormal() [2/2]

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

A pure virtual member.

Implemented in CVertex.

◆ SetCoord()

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

A pure virtual member.

Parameters
[in]val_coord- Coordinate of the point.

Implemented in CVertex.

◆ SetNodes_Coord() [1/2]

virtual void CDualGrid::SetNodes_Coord ( const su2double *  val_coord_Edge_CG,
const 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.

Implemented in CVertex.

◆ SetNodes_Coord() [2/2]

virtual void CDualGrid::SetNodes_Coord ( const su2double *  val_coord_Edge_CG,
const su2double *  val_coord_FaceElem_CG,
const 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.

Implemented in CVertex.

◆ SetNormal()

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

A pure virtual member.

Parameters
[in]val_face_normal- Coordinates of the normal.

Implemented in CVertex.

◆ SetZeroValues()

virtual void CDualGrid::SetZeroValues ( void  )
pure virtual

A pure virtual member.

Implemented in CVertex.

Member Data Documentation

◆ nDim

unsigned short CDualGrid::nDim = 0
staticprotected

Number of dimensions of the problem.


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