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

Transfer conservative variables from a generic zone into another. More...

#include <transfer_structure.hpp>

Inheritance diagram for CTransfer_ConservativeVars:
CTransfer

Public Member Functions

 CTransfer_ConservativeVars (void)
 Constructor of the class.
 
 CTransfer_ConservativeVars (unsigned short val_nVar, unsigned short val_nConst, CConfig *config)
 
virtual ~CTransfer_ConservativeVars (void)
 Destructor of the class.
 
void GetPhysical_Constants (CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, CConfig *donor_config, CConfig *target_config)
 Retrieve some constants needed for the calculations. More...
 
void GetDonor_Variable (CSolver *donor_solution, CGeometry *donor_geometry, CConfig *donor_config, unsigned long Marker_Donor, unsigned long Vertex_Donor, unsigned long Point_Donor)
 Retrieve the variable that will be sent from donor mesh to target mesh. More...
 
void SetTarget_Variable (CSolver *target_solution, CGeometry *target_geometry, CConfig *target_config, unsigned long Marker_Target, unsigned long Vertex_Target, unsigned long Point_Target)
 Set the variable that has been received from the target mesh into the target mesh. More...
 
- Public Member Functions inherited from CTransfer
 CTransfer (void)
 Constructor of the class.
 
 CTransfer (unsigned short val_nVar, unsigned short val_nConst, CConfig *config)
 
virtual ~CTransfer (void)
 Destructor of the class.
 
void Scatter_InterfaceData (CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, CConfig *donor_config, CConfig *target_config)
 Interpolate data and scatter it into different processors, for matching meshes. More...
 
void Broadcast_InterfaceData_Matching (CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, CConfig *donor_config, CConfig *target_config)
 Interpolate data and broadcast it into all processors, for matching meshes. More...
 
void Broadcast_InterfaceData_Interpolate (CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, CConfig *donor_config, CConfig *target_config)
 Interpolate data and broadcast it into all processors, for nonmatching meshes. More...
 
void Allgather_InterfaceData (CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, CConfig *donor_config, CConfig *target_config)
 Interpolate data, operate over it and broadcast it into all processors, for nonmatching meshes. More...
 

Additional Inherited Members

- Protected Attributes inherited from CTransfer
su2double * Physical_Constants
 
su2double * Donor_Variable
 
su2double * Target_Variable
 
unsigned short nVar
 

Detailed Description

Transfer conservative variables from a generic zone into another.

Author
R. Sanchez
Version
4.0.1 "Cardinal"

Constructor & Destructor Documentation

§ CTransfer_ConservativeVars()

CTransfer_ConservativeVars::CTransfer_ConservativeVars ( unsigned short  val_nVar,
unsigned short  val_nConst,
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_nVar- Number of variables that need to be transferred.
[in]config- Definition of the particular problem.

Member Function Documentation

§ GetDonor_Variable()

void CTransfer_ConservativeVars::GetDonor_Variable ( CSolver donor_solution,
CGeometry donor_geometry,
CConfig donor_config,
unsigned long  Marker_Donor,
unsigned long  Vertex_Donor,
unsigned long  Point_Donor 
)
virtual

Retrieve the variable that will be sent from donor mesh to target mesh.

Parameters
[in]donor_solution- Solution from the donor mesh.
[in]donor_geometry- Geometry of the donor mesh.
[in]donor_config- Definition of the problem at the donor mesh.
[in]Marker_Donor- Index of the donor marker.
[in]Vertex_Donor- Index of the donor vertex.
[in]Point_Donor- Index of the donor point.

Reimplemented from CTransfer.

§ GetPhysical_Constants()

void CTransfer_ConservativeVars::GetPhysical_Constants ( CSolver donor_solution,
CSolver target_solution,
CGeometry donor_geometry,
CGeometry target_geometry,
CConfig donor_config,
CConfig target_config 
)
virtual

Retrieve some constants needed for the calculations.

Parameters
[in]donor_solution- Solution from the donor mesh.
[in]target_solution- Solution from the target mesh.
[in]donor_geometry- Geometry of the donor mesh.
[in]target_geometry- Geometry of the target mesh.
[in]donor_config- Definition of the problem at the donor mesh.
[in]target_config- Definition of the problem at the target mesh.

Reimplemented from CTransfer.

§ SetTarget_Variable()

void CTransfer_ConservativeVars::SetTarget_Variable ( CSolver target_solution,
CGeometry target_geometry,
CConfig target_config,
unsigned long  Marker_Target,
unsigned long  Vertex_Target,
unsigned long  Point_Target 
)
virtual

Set the variable that has been received from the target mesh into the target mesh.

Parameters
[in]target_solution- Solution from the target mesh.
[in]target_geometry- Geometry of the target mesh.
[in]target_config- Definition of the problem at the target mesh.
[in]Marker_Target- Index of the target marker.
[in]Vertex_Target- Index of the target vertex.
[in]Point_Target- Index of the target point.

Reimplemented from CTransfer.


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