|
SU2
|
Main class for defining the physical transfer of information. More...
#include <transfer_structure.hpp>
Public Member Functions | |
| 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... | |
| virtual void | GetPhysical_Constants (CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, CConfig *donor_config, CConfig *target_config) |
| A virtual member. | |
| virtual void | GetDonor_Variable (CSolver *donor_solution, CGeometry *donor_geometry, CConfig *donor_config, unsigned long Marker_Donor, unsigned long Vertex_Donor, unsigned long Point_Donor) |
| A virtual member. More... | |
| virtual void | SetTarget_Variable (CSolver *target_solution, CGeometry *target_geometry, CConfig *target_config, unsigned long Marker_Target, unsigned long Vertex_Target, unsigned long Point_Target) |
| A virtual member. More... | |
Protected Attributes | |
| su2double * | Physical_Constants |
| su2double * | Donor_Variable |
| su2double * | Target_Variable |
| unsigned short | nVar |
Main class for defining the physical transfer of information.
| CTransfer::CTransfer | ( | 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.
| [in] | val_nVar | - Number of variables that need to be transferred. |
| [in] | val_nConst | - Number of physical constants that need to be taken into account. |
| [in] | config | - Definition of the particular problem. |
| void CTransfer::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.
| [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. |
| void CTransfer::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.
| [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. |
| void CTransfer::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.
| [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. |
|
inlinevirtual |
A virtual member.
| [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. |
Reimplemented in CTransfer_SlidingInterface, CTransfer_ConservativeVars, CTransfer_StructuralDisplacements_Original, CTransfer_StructuralDisplacements, and CTransfer_FlowTraction.
| void CTransfer::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.
| [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. |
|
inlinevirtual |
A virtual member.
| [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 in CTransfer_SlidingInterface, CTransfer_ConservativeVars, CTransfer_StructuralDisplacements_Original, CTransfer_StructuralDisplacements, and CTransfer_FlowTraction.
1.8.12