32#include "../containers/C2DContainer.hpp"
33#include "../toolboxes/classes_multiple_integers.hpp"
34#include "../toolboxes/fem/CFaceOfElement.hpp"
42 unordered_map<unsigned long, unsigned long>
43 Global_to_Local_Point;
44 long* Local_to_Global_Point{
nullptr};
45 unsigned long* adj_counter{
nullptr};
46 unsigned long** adjacent_elem{
nullptr};
49 vector<vector<unsigned long> > Neighbors;
50 unordered_map<unsigned long, unsigned long> Color_List;
51 vector<string> Marker_Tags;
52 unsigned long nLocal_Point{0}, nLocal_PointDomain{0}, nLocal_PointGhost{0}, nLocal_PointPeriodic{0}, nLocal_Elem{0},
53 nLocal_Bound_Elem{0}, nGlobal_Elem{0}, nGlobal_Bound_Elem{0}, nLocal_Line{0}, nLocal_BoundTria{0},
54 nLocal_BoundQuad{0}, nLinear_Line{0}, nLinear_BoundTria{0}, nLinear_BoundQuad{0}, nLocal_Tria{0}, nLocal_Quad{0},
55 nLocal_Tetr{0}, nLocal_Hexa{0}, nLocal_Pris{0}, nLocal_Pyra{0};
56 unsigned long nMarker_Global{0};
58 unsigned long* Local_Points{
nullptr};
59 unsigned long* Local_Colors{
nullptr};
60 unsigned long* Conn_Line{
nullptr};
61 unsigned long* Conn_BoundTria{
nullptr};
62 unsigned long* Conn_BoundQuad{
nullptr};
63 unsigned long* Conn_Line_Linear{
nullptr};
64 unsigned long* Conn_BoundTria_Linear{
nullptr};
65 unsigned long* Conn_BoundQuad_Linear{
nullptr};
66 unsigned long* Conn_Tria{
nullptr};
67 unsigned long* Conn_Quad{
nullptr};
68 unsigned long* Conn_Tetr{
nullptr};
69 unsigned long* Conn_Hexa{
nullptr};
70 unsigned long* Conn_Pris{
nullptr};
71 unsigned long* Conn_Pyra{
nullptr};
72 unsigned long* ID_Line{
nullptr};
73 unsigned long* ID_BoundTria{
nullptr};
74 unsigned long* ID_BoundQuad{
nullptr};
75 unsigned long* ID_Line_Linear{
nullptr};
76 unsigned long* ID_BoundTria_Linear{
nullptr};
77 unsigned long* ID_BoundQuad_Linear{
nullptr};
78 unsigned long* ID_Tria{
nullptr};
79 unsigned long* ID_Quad{
nullptr};
80 unsigned long* ID_Tetr{
nullptr};
81 unsigned long* ID_Hexa{
nullptr};
82 unsigned long* ID_Pris{
nullptr};
83 unsigned long* ID_Pyra{
nullptr};
84 unsigned long* Elem_ID_Line{
nullptr};
85 unsigned long* Elem_ID_BoundTria{
nullptr};
86 unsigned long* Elem_ID_BoundQuad{
nullptr};
87 unsigned long* Elem_ID_Line_Linear{
nullptr};
88 unsigned long* Elem_ID_BoundTria_Linear{
nullptr};
89 unsigned long* Elem_ID_BoundQuad_Linear{
nullptr};
222 const int* nElemRecv,
SU2_MPI::Request* recvReq,
unsigned short countPerElem,
276 auto it = Global_to_Local_Point.find(val_ipoint);
277 if (it != Global_to_Local_Point.cend())
return it->second;
290 void Read_Mesh(
CConfig* config,
const string& val_mesh_filename,
unsigned short val_iZone,
unsigned short val_nZone);
348 bool FindFace(
unsigned long first_elem,
unsigned long second_elem,
unsigned short& face_first_elem,
349 unsigned short& face_second_elem)
override;
388 void ComputeNSpan(
CConfig* config,
unsigned short val_iZone,
unsigned short marker_flag,
bool allocate)
override;
394 void SetTurboVertex(
CConfig* config,
unsigned short val_iZone,
unsigned short marker_flag,
bool allocate)
override;
406 void SetAvgTurboValue(
CConfig* config,
unsigned short val_iZone,
unsigned short marker_flag,
bool allocate)
override;
511 void DetermineFEMColorsViaParMETIS(vector<vector<unsigned long> >& adjacency, vector<passivedouble>& vwgt,
512 vector<vector<passivedouble> >& adjwgt);
534 const vector<vector<unsigned long> >& adjacency,
535 const map<unsigned long, CUnsignedShort2T>& mapExternalElemIDToTimeLevel,
536 vector<passivedouble>& vwgt, vector<vector<passivedouble> >& adjwgt);
544 void DetermineGraphAdjacency(
const vector<CFaceOfElement>& localFaces, vector<vector<unsigned long> >& adjacency);
570 map<unsigned long, CUnsignedShort2T>& mapExternalElemIDToTimeLevel);
587 map<unsigned long, CUnsignedShort2T>& mapExternalElemIDToTimeLevel);
619 vector<su2double>& Xcoord_Airfoil, vector<su2double>& Ycoord_Airfoil,
620 vector<su2double>& Zcoord_Airfoil)
override;
627 vector<su2double>& Ycoord_Airfoil, vector<su2double>& Zcoord_Airfoil)
override;
633 su2double* Plane_Normal, vector<su2double>& Xcoord_Airfoil,
634 vector<su2double>& Ycoord_Airfoil, vector<su2double>& Zcoord_Airfoil)
override;
640 su2double* Plane_Normal, vector<su2double>& Xcoord_Airfoil,
641 vector<su2double>& Ycoord_Airfoil, vector<su2double>& Zcoord_Airfoil)
override;
648 vector<su2double>& Ycoord_Airfoil, vector<su2double>& Zcoord_Airfoil)
override;
655 vector<su2double>& Ycoord_Airfoil, vector<su2double>& Zcoord_Airfoil)
override;
662 vector<su2double>& Xcoord_Airfoil, vector<su2double>& Ycoord_Airfoil,
663 vector<su2double>& Zcoord_Airfoil)
override;
670 vector<su2double>& Ycoord_Airfoil, vector<su2double>& Zcoord_Airfoil)
override;
677 vector<su2double>& Ycoord_Airfoil, vector<su2double>& Zcoord_Airfoil)
override;
683 vector<su2double>& Xcoord_Airfoil, vector<su2double>& Ycoord_Airfoil,
684 vector<su2double>& Zcoord_Airfoil,
su2double& ZLoc)
override;
691 vector<su2double>& Xcoord_Airfoil, vector<su2double>& Ycoord_Airfoil,
692 vector<su2double>& Zcoord_Airfoil)
override;
699 vector<su2double>& Xcoord_Airfoil, vector<su2double>& Ycoord_Airfoil,
700 vector<su2double>& Zcoord_Airfoil)
override;
732 su2double& Fuselage_MaxCurvature)
override;
762 return Sensitivity(iPoint, iDim);
772 Sensitivity(iPoint, iDim) = val;
796 for (
unsigned long iPoint = 0; iPoint <
GetnPoint(); iPoint++) {
Headers of the main subroutines for creating the geometrical structure. The subroutines and functions...
Header file for the class CMeshReaderBase. The implementations are in the CMeshReaderBase....
A templated matrix/vector-like object.
Definition C2DContainer.hpp:374
Class for storing an ADT of (linear) elements in an arbitrary number of dimensions.
Definition CADTElemClass.hpp:41
int Request
Definition mpi_structure.hpp:505
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
virtual void SetBoundControlVolume(const CConfig *config, unsigned short action)
A virtual member.
Definition CGeometry.hpp:946
@ MAXNDIM
Definition CGeometry.hpp:91
unsigned long GetnPoint() const
Get number of points.
Definition CGeometry.hpp:587
CPoint * nodes
Node vector (dual grid information).
Definition CGeometry.hpp:253
virtual void SetPoint_Connectivity()
Set connectivity between points.
Definition CGeometry.hpp:819
virtual void SetVertex(const CConfig *config)
Sets the vertices.
Definition CGeometry.hpp:851
virtual void SetControlVolume(CConfig *config, unsigned short action)
Sets control volume.
Definition CGeometry.hpp:918
Base class for the mesh zone readers.
Definition CMeshReaderBase.hpp:44
Class for reading a defining the primal grid which is read from the grid file in ....
Definition CPhysicalGeometry.hpp:41
void SetControlVolume(CConfig *config, unsigned short action) override
Set the edge structure of the control volume.
Definition CPhysicalGeometry.cpp:6748
void SetTurboVertex(CConfig *config, unsigned short val_iZone, unsigned short marker_flag, bool allocate) override
Set turbo boundary vertex.
Definition CPhysicalGeometry.cpp:5067
std::unique_ptr< CADTElemClass > ComputeViscousWallADT(const CConfig *config) const override
Compute an ADT including the coordinates of all viscous markers.
Definition CPhysicalGeometry.cpp:10178
void SetColorFEMGrid_Parallel(CConfig *config) override
Set the domains for FEM grid partitioning using ParMETIS.
Definition CPhysicalGeometryFEM.cpp:169
su2double Compute_Curvature(su2double *LeadingEdge_im1, su2double *TrailingEdge_im1, su2double *LeadingEdge_i, su2double *TrailingEdge_i, su2double *LeadingEdge_ip1, su2double *TrailingEdge_ip1) override
Compute the curvature of a wing.
Definition CPhysicalGeometry.cpp:8733
su2double Compute_LERadius(su2double *Plane_P0, su2double *Plane_Normal, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the chord of an airfoil.
Definition CPhysicalGeometry.cpp:8963
void SetWallDistance(su2double val) override
Set wall distances a specific value.
Definition CPhysicalGeometry.hpp:795
void SetRCM_Ordering(CConfig *config) override
Set a renumbering using a Reverse Cuthill-McKee Algorithm.
Definition CPhysicalGeometry.cpp:4494
void DetermineFEMConstantJacobiansAndLenScale(CConfig *config)
Determine whether or not the Jacobians of the elements and faces are constant and a length scale of t...
Definition CPhysicalGeometryFEM.cpp:1198
void DetermineTimeLevelElements(CConfig *config, const vector< CFaceOfElement > &localFaces, map< unsigned long, CUnsignedShort2T > &mapExternalElemIDToTimeLevel)
Determine the time level of the elements when time accurate local time stepping is employed.
Definition CPhysicalGeometryFEM.cpp:2091
void SetBoundaries(CConfig *config) override
Set the send receive boundaries of the grid.
Definition CPhysicalGeometry.cpp:3136
su2double Compute_Twist(su2double *Plane_P0, su2double *Plane_Normal, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the twist of an airfoil.
Definition CPhysicalGeometry.cpp:8777
void LoadLinearlyPartitionedVolumeElementsFEM(CConfig *config, CMeshReaderBase *mesh)
Loads the interior volume elements from the mesh reader object into the primal element data structure...
Definition CPhysicalGeometryFEM.cpp:60
void SetColorGrid_Parallel(const CConfig *config) override
Set the domains for grid grid partitioning using ParMETIS.
Definition CPhysicalGeometry.cpp:7364
void ReadUnorderedSensitivity(CConfig *config) override
Read the sensitivity from unordered ASCII adjoint solution file and store it.
Definition CPhysicalGeometry.cpp:8447
su2double GetSensitivity(unsigned long iPoint, unsigned short iDim) const override
Get the Sensitivity at a specific point.
Definition CPhysicalGeometry.hpp:761
void DistributePoints(const CConfig *config, CGeometry *geometry)
Distribute the grid points, including ghost points, across all ranks based on a ParMETIS coloring.
Definition CPhysicalGeometry.cpp:1032
void Read_Mesh(CConfig *config, const string &val_mesh_filename, unsigned short val_iZone, unsigned short val_nZone)
Reads the geometry of the grid and adjust the boundary conditions with the configuration file in para...
Definition CPhysicalGeometry.cpp:3428
unsigned long GetLinearPartition(unsigned long val_global_index)
Get the processor that owns the global numbering index based on the linear partitioning.
Definition CPhysicalGeometry.cpp:2875
su2double Compute_Length(su2double *Plane_P0, su2double *Plane_Normal, CConfig *config, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the length of an airfoil.
Definition CPhysicalGeometry.cpp:9228
bool FindFace(unsigned long first_elem, unsigned long second_elem, unsigned short &face_first_elem, unsigned short &face_second_elem) override
Find repeated nodes between two elements to identify the common face.
Definition CPhysicalGeometry.cpp:7117
void Compute_Wing(CConfig *config, bool original_surface, su2double &Wing_Volume, su2double &Wing_MinMaxThickness, su2double &Wing_MaxMaxThickness, su2double &Wing_MinChord, su2double &Wing_MaxChord, su2double &Wing_MinLERadius, su2double &Wing_MaxLERadius, su2double &Wing_MinToC, su2double &Wing_MaxToC, su2double &Wing_ObjFun_MinToC, su2double &Wing_MaxTwist, su2double &Wing_MaxCurvature, su2double &Wing_MaxDihedral) override
Evaluate geometrical parameters of a wing.
Definition CPhysicalGeometry.cpp:9258
void SetWallDistance(CADTElemClass *WallADT, const CConfig *config, unsigned short iZone) override
Reduce the wall distance based on an previously constructed ADT.
Definition CPhysicalGeometry.cpp:10267
void SetAvgTurboGeoValues(const CConfig *donor_config, CGeometry *donor_geometry, unsigned short donorZone) override
Store all the turboperformance in the solver in ZONE_0.
Definition CPhysicalGeometry.cpp:6390
su2double Compute_Area(su2double *Plane_P0, su2double *Plane_Normal, CConfig *config, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the area of an airfoil.
Definition CPhysicalGeometry.cpp:9195
void DeterminePeriodicFacesFEMGrid(CConfig *config, vector< CFaceOfElement > &localFaces)
Determine the neighboring information for periodic faces of a FEM grid.
Definition CPhysicalGeometryFEM.cpp:832
void SetAvgTurboValue(CConfig *config, unsigned short val_iZone, unsigned short marker_flag, bool allocate) override
Set turbo boundary vertex.
Definition CPhysicalGeometry.cpp:5960
void Compute_Fuselage(CConfig *config, bool original_surface, su2double &Fuselage_Volume, su2double &Fuselage_WettedArea, su2double &Fuselage_MinWidth, su2double &Fuselage_MaxWidth, su2double &Fuselage_MinWaterLineWidth, su2double &Fuselage_MaxWaterLineWidth, su2double &Fuselage_MinHeight, su2double &Fuselage_MaxHeight, su2double &Fuselage_MaxCurvature) override
Evaluate geometrical parameters of a wing.
Definition CPhysicalGeometry.cpp:9579
CPhysicalGeometry(CGeometry *geometry, CConfig *config, bool val_flag)
Accepts a geometry container holding a linearly partitioned grid with coloring performed by ParMETIS,...
void DistributeMarkerTags(CConfig *config, CGeometry *geometry)
Broadcast the marker tags for all boundaries from the master rank to all other ranks.
Definition CPhysicalGeometry.cpp:1973
void DetermineMatchingFacesFEMGrid(const CConfig *config, vector< CFaceOfElement > &localFaces)
Function, which determines the matching faces of a FEM grid.
Definition CPhysicalGeometryFEM.cpp:408
void UpdateTurboVertex(CConfig *config, unsigned short val_iZone, unsigned short marker_flag) override
update turbo boundary vertex.
Definition CPhysicalGeometry.cpp:5849
void StoreFaceInfoInLocalElements(const vector< CFaceOfElement > &localFaces)
Function, which stores the information of the local matching faces in the data structures of the loca...
Definition CPhysicalGeometryFEM.cpp:2679
void SetBoundSensitivity(CConfig *config) override
Read the sensitivity from an input file.
Definition CPhysicalGeometry.cpp:7778
void DetermineOwnershipInternalFaces(vector< CFaceOfElement > &localFaces, map< unsigned long, CUnsignedShort2T > &mapExternalElemIDToTimeLevel)
Function, which determines the owner of the internal faces, i.e. which element is responsible for com...
Definition CPhysicalGeometryFEM.cpp:776
su2double Compute_Height(su2double *Plane_P0, su2double *Plane_Normal, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the chord of an airfoil.
Definition CPhysicalGeometry.cpp:8943
void LoadLinearlyPartitionedVolumeElements(CConfig *config, CMeshReaderBase *mesh)
Loads the interior volume elements from the mesh reader object into the primal element data structure...
Definition CPhysicalGeometry.cpp:3581
void SetElement_Connectivity(void) override
Set elements which surround an element.
Definition CPhysicalGeometry.cpp:4688
void SetBoundControlVolume(const CConfig *config, unsigned short action) override
Set boundary vertex structure of the control volume.
Definition CPhysicalGeometry.cpp:6901
void SetSendReceive(const CConfig *config) override
Set the send receive boundaries of the grid.
Definition CPhysicalGeometry.cpp:2961
void Compute_Nacelle(CConfig *config, bool original_surface, su2double &Nacelle_Volume, su2double &Nacelle_MinMaxThickness, su2double &Nacelle_MaxMaxThickness, su2double &Nacelle_MinChord, su2double &Nacelle_MaxChord, su2double &Nacelle_MinLERadius, su2double &Nacelle_MaxLERadius, su2double &Nacelle_MinToC, su2double &Nacelle_MaxToC, su2double &Nacelle_ObjFun_MinToC, su2double &Nacelle_MaxTwist) override
Evaluate geometrical parameters of a wing.
Definition CPhysicalGeometry.cpp:9864
void SetBoundTecPlot(char mesh_filename[MAX_STRING_SIZE], bool new_file, CConfig *config) override
Set the output file for boundaries in Tecplot.
Definition CPhysicalGeometry.cpp:7257
void VisualizeControlVolume(const CConfig *config) const override
Visualize the structure of the control volume(s).
Definition CPhysicalGeometry.cpp:6990
su2double Compute_MaxThickness(su2double *Plane_P0, su2double *Plane_Normal, CConfig *config, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the maximum thickness of an airfoil.
Definition CPhysicalGeometry.cpp:8583
void LoadVolumeElements(CConfig *config, CGeometry *geometry)
Load the local volume elements after partitioning (owned and ghost) into the geometry class objects.
Definition CPhysicalGeometry.cpp:2107
const su2double * GetStreamwise_Periodic_RefNode(void) const final
Get a pointer to the reference node coordinate vector.
Definition CPhysicalGeometry.hpp:811
void PrepareOffsets(unsigned long val_npoint_global)
Routine to compute the initial linear partitioning offset counts and store in persistent data structu...
Definition CPhysicalGeometry.cpp:2843
void ComputeMeshQualityStatistics(const CConfig *config) override
Compute 3 grid quality metrics: orthogonality angle, dual cell aspect ratio, and dual cell volume rat...
Definition CPhysicalGeometry.cpp:7447
su2double Compute_WaterLineWidth(su2double *Plane_P0, su2double *Plane_Normal, CConfig *config, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the chord of an airfoil.
Definition CPhysicalGeometry.cpp:8921
void LoadLinearlyPartitionedPointsFEM(CConfig *config, CMeshReaderBase *mesh)
Routine to load the grid points from a single zone into the proper SU2 data structures for the FEM so...
Definition CPhysicalGeometryFEM.cpp:44
void DetermineNonMatchingFacesFEMGrid(const CConfig *config, vector< CFaceOfElement > &localMatchingFaces)
Function, which determines the non-matching faces of a FEM grid.
Definition CPhysicalGeometryFEM.cpp:734
su2double Compute_Chord(su2double *Plane_P0, su2double *Plane_Normal, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the chord of an airfoil.
Definition CPhysicalGeometry.cpp:8878
void MatchActuator_Disk(const CConfig *config) override
Mach the near field boundary condition.
Definition CPhysicalGeometry.cpp:6447
void FindUniqueNode_PeriodicBound(const CConfig *config) final
For streamwise periodicity, find & store a unique reference node on the designated periodic inlet.
Definition CPhysicalGeometry.cpp:6660
void DistributeVolumeConnectivity(const CConfig *config, CGeometry *geometry, unsigned short Elem_Type)
Distribute the connectivity for a single volume element type across all ranks based on a ParMETIS col...
Definition CPhysicalGeometry.cpp:707
void Check_IntElem_Orientation(const CConfig *config) override
Check the volume element orientation.
Definition CPhysicalGeometry.cpp:3995
su2double Compute_Dihedral(su2double *LeadingEdge_im1, su2double *TrailingEdge_im1, su2double *LeadingEdge_i, su2double *TrailingEdge_i) override
Compute the dihedral of a wing.
Definition CPhysicalGeometry.cpp:8721
void DetermineGraphAdjacency(const vector< CFaceOfElement > &localFaces, vector< vector< unsigned long > > &adjacency)
Function, which determines the adjacency information of the graph representation of the grid.
Definition CPhysicalGeometryFEM.cpp:243
void SetPositive_ZArea(CConfig *config) override
Compute surface area (positive z-direction) for force coefficient non-dimensionalization.
Definition CPhysicalGeometry.cpp:4294
void SortAdjacency(const CConfig *config)
Routine to sort the adjacency for ParMETIS for graph partitioning in parallel.
Definition CPhysicalGeometry.cpp:2896
void Check_BoundElem_Orientation(const CConfig *config) override
Check the volume element orientation.
Definition CPhysicalGeometry.cpp:4158
void ComputeNSpan(CConfig *config, unsigned short val_iZone, unsigned short marker_flag, bool allocate) override
Set number of span wise level for turbomachinery computation.
Definition CPhysicalGeometry.cpp:4823
void SetSensitivity(unsigned long iPoint, unsigned short iDim, su2double val) override
Set the Sensitivity at a specific point.
Definition CPhysicalGeometry.hpp:771
void LoadLinearlyPartitionedPoints(CConfig *config, CMeshReaderBase *mesh)
Routine to load the CGNS grid points from a single zone into the proper SU2 data structures.
Definition CPhysicalGeometry.cpp:3558
void Compute_Wing_LeadingTrailing(su2double *LeadingEdge, su2double *TrailingEdge, su2double *Plane_P0, su2double *Plane_Normal, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the leading/trailing edge location of an airfoil.
Definition CPhysicalGeometry.cpp:8806
long GetGlobal_to_Local_Point(unsigned long val_ipoint) const override
Get the local index that correspond with the global numbering index.
Definition CPhysicalGeometry.hpp:275
void SetPoint_Connectivity() override
Set points which surround a point.
Definition CPhysicalGeometry.cpp:4428
void DistributeSurfaceConnectivity(CConfig *config, CGeometry *geometry, unsigned short Elem_Type)
Distribute the connectivity for a single surface element type in all markers across all ranks based o...
Definition CPhysicalGeometry.cpp:1639
void Compute_Fuselage_LeadingTrailing(su2double *LeadingEdge, su2double *TrailingEdge, su2double *Plane_P0, su2double *Plane_Normal, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the leading/trailing edge location of a fuselage.
Definition CPhysicalGeometry.cpp:8839
void DetermineFEMGraphWeights(CConfig *config, const vector< CFaceOfElement > &localFaces, const vector< vector< unsigned long > > &adjacency, const map< unsigned long, CUnsignedShort2T > &mapExternalElemIDToTimeLevel, vector< passivedouble > &vwgt, vector< vector< passivedouble > > &adjwgt)
Compute the weights of the FEM graph for ParMETIS.
Definition CPhysicalGeometryFEM.cpp:2727
void PartitionSurfaceConnectivity(CConfig *config, CGeometry *geometry, unsigned short Elem_Type)
Partition the marker connectivity held on the master rank according to a linear partitioning.
Definition CPhysicalGeometry.cpp:1283
void SetVertex(const CConfig *config) override
Set boundary vertex.
Definition CPhysicalGeometry.cpp:4759
void InitiateCommsAll(void *bufSend, const int *nElemSend, SU2_MPI::Request *sendReq, void *bufRecv, const int *nElemRecv, SU2_MPI::Request *recvReq, unsigned short countPerElem, COMM_TYPE commType)
Routine to launch non-blocking sends and recvs amongst all processors.
Definition CPhysicalGeometry.cpp:2688
void FindNormal_Neighbor(const CConfig *config) override
Find and store the closest, most normal, neighbor to a vertex.
Definition CPhysicalGeometry.cpp:7734
CPhysicalGeometry(void)
Constructor of the class.
Definition CPhysicalGeometry.cpp:66
void LoadUnpartitionedSurfaceElements(CConfig *config, CMeshReaderBase *mesh)
Loads the boundary elements (markers) from the mesh reader object into the primal element data struct...
Definition CPhysicalGeometry.cpp:3668
~CPhysicalGeometry(void) override
Destructor of the class.
Definition CPhysicalGeometry.cpp:296
void DetermineDonorElementsWallFunctions(CConfig *config)
Determine the donor elements for the boundary elements on viscous wall boundaries when wall functions...
Definition CPhysicalGeometryFEM.cpp:1506
void SetTecPlot(char config_filename[MAX_STRING_SIZE], bool new_file) override
Set the Tecplot file.
Definition CPhysicalGeometry.cpp:7186
void LoadLinearlyPartitionedSurfaceElementsFEM(CConfig *config, CMeshReaderBase *mesh)
Loads the boundary elements (markers) from the mesh reader object into the primal element data struct...
Definition CPhysicalGeometryFEM.cpp:102
void SetMaxLength(CConfig *config) override
Set the maximum cell-center to cell-center distance for CVs.
Definition CPhysicalGeometry.cpp:6405
void PrepareAdjacency(const CConfig *config)
Prepares the grid point adjacency based on a linearly partitioned mesh object needed by ParMETIS for ...
Definition CPhysicalGeometry.cpp:3799
su2double Compute_Width(su2double *Plane_P0, su2double *Plane_Normal, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil) override
Compute the chord of an airfoil.
Definition CPhysicalGeometry.cpp:8902
void DistributeColoring(const CConfig *config, CGeometry *geometry)
Distributes the coloring from ParMETIS so that each rank has complete information about the local gri...
Definition CPhysicalGeometry.cpp:442
void SetSensitivity(CConfig *config) override
Read the sensitivity from adjoint solution file and store it.
Definition CPhysicalGeometry.cpp:7915
void LoadSurfaceElements(CConfig *config, CGeometry *geometry)
Load the local surface elements after partitioning (owned and ghost) into the geometry class objects.
Definition CPhysicalGeometry.cpp:2417
void LoadPoints(CConfig *config, CGeometry *geometry)
Load the local grid points after partitioning (owned and ghost) into the geometry class objects.
Definition CPhysicalGeometry.cpp:2019
void CompleteCommsAll(int nSends, SU2_MPI::Request *sendReq, int nRecvs, SU2_MPI::Request *recvReq)
Routine to complete the set of non-blocking communications launched with InitiateComms() with MPI_Wai...
Definition CPhysicalGeometry.cpp:2828
void SetBoundVolume(void) override
Set the volume element associated to each boundary element.
Definition CPhysicalGeometry.cpp:4720
void GatherInOutAverageValues(CConfig *config, bool allocate) override
Set turbo boundary vertex.
Definition CPhysicalGeometry.cpp:6208
void SetGlobal_to_Local_Point() override
Set the local index that correspond with the global numbering index.
Definition CPhysicalGeometry.cpp:435
su2double Compute_Thickness(su2double *Plane_P0, su2double *Plane_Normal, su2double Location, CConfig *config, vector< su2double > &Xcoord_Airfoil, vector< su2double > &Ycoord_Airfoil, vector< su2double > &Zcoord_Airfoil, su2double &ZLoc) override
Compute the thickness of an airfoil.
Definition CPhysicalGeometry.cpp:9021
void SetWall_Distance(unsigned long iPoint, su2double distance, int rankID, unsigned short zoneID, unsigned short markerID, unsigned long elemID)
Set the value of the distance to the nearest wall.
Definition CPoint.hpp:477
passivedouble su2double
Definition code_config.hpp:181
COMM_TYPE
Definition option_structure.hpp:116
const unsigned int MAX_STRING_SIZE
Maximum size of a generic string.
Definition option_structure.hpp:78