34#include "../primal_grid/CPrimalGridFEM.hpp"
35#include "../../toolboxes/fem/CFaceOfElement.hpp"
36#include "../../parallelization/mpi_structure.hpp"
37#include "../../CConfig.hpp"
56 vector<vector<passivedouble> >
71 vector<vector<unsigned long> >
89 void GetCornerPointsAllFaces(
const unsigned long* elemInfo,
unsigned short& numFaces,
unsigned short nPointsPerFace[],
90 unsigned long faceConn[6][4]);
96 void CopyMarkers(
const std::vector<std::string>& srcDstMarkers);
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Base class for the mesh zone readers.
Definition CMeshReaderBase.hpp:44
unsigned long GetNumberOfLocalElements() const
Get the number of local elements within the linear partition on this rank.
Definition CMeshReaderBase.hpp:189
const vector< unsigned long > & GetNumberOfSurfaceElementsAllMarkers() const
Get the number surface elements for all markers.
Definition CMeshReaderBase.hpp:140
vector< vector< passivedouble > > localPointCoordinates
Vector holding the coordinates from the mesh file for the local grid points. First index is dimension...
Definition CMeshReaderBase.hpp:57
const int size
MPI Size.
Definition CMeshReaderBase.hpp:47
vector< vector< unsigned long > > surfaceElementConnectivity
Vector containing the surface element connectivity from the mesh file on a per-marker basis....
Definition CMeshReaderBase.hpp:72
const int rank
MPI Rank.
Definition CMeshReaderBase.hpp:46
const vector< unsigned long > & GetLocalVolumeElementConnectivity() const
Get the local volume element connectivity (linearly partitioned).
Definition CMeshReaderBase.hpp:157
vector< unsigned long > globalPointIDs
Vector holding the global IDs of the local grid points.
Definition CMeshReaderBase.hpp:59
unsigned long GetNumberOfGlobalPoints() const
Get the number of global grid points within the mesh file.
Definition CMeshReaderBase.hpp:183
const vector< string > & GetMarkerNames() const
Get the vector of string names for all markers in the mesh zone.
Definition CMeshReaderBase.hpp:171
const CConfig * config
Local pointer to the config parameter object.
Definition CMeshReaderBase.hpp:49
void CopyMarkers(const std::vector< std::string > &srcDstMarkers)
Creates copies of some markers.
Definition CMeshReaderBase.cpp:97
void GetCornerPointsAllFaces(const unsigned long *elemInfo, unsigned short &numFaces, unsigned short nPointsPerFace[], unsigned long faceConn[6][4])
Get all the corner points of all the faces of the given element. It must.
Definition CMeshReaderBase.cpp:74
unsigned long GetNumberOfLocalPoints() const
Get the number of local grid points within the linear partition on this rank.
Definition CMeshReaderBase.hpp:177
const vector< unsigned long > & GetSurfaceElementConnectivityForMarker(int val_iMarker) const
Get the surface element connectivity for the specified marker. Only the master node owns the surface ...
Definition CMeshReaderBase.hpp:132
vector< unsigned long > numberOfLocalSurfaceElements
Vector containing the number of local surface elements.
Definition CMeshReaderBase.hpp:70
const vector< vector< passivedouble > > & GetLocalPointCoordinates() const
Get the local point coordinates (linearly partitioned).
Definition CMeshReaderBase.hpp:125
virtual ~CMeshReaderBase()=default
void DetermineFacesVolumeElements(vector< CFaceOfElement > &localFaces)
Function, which determines the faces of the local volume elements.
Definition CMeshReaderBase.cpp:34
unsigned short GetDimension() const
Get the physical dimension of the problem (2 or 3).
Definition CMeshReaderBase.hpp:113
unsigned long numberOfMarkers
Total number of markers contained within the mesh file.
Definition CMeshReaderBase.hpp:67
unsigned long numberOfGlobalPoints
Number of global grid points within the mesh file.
Definition CMeshReaderBase.hpp:55
unsigned long numberOfLocalElements
Number of local elements within the linear partition on this rank.
Definition CMeshReaderBase.hpp:61
vector< unsigned long > localVolumeElementConnectivity
Vector containing the element connectivity from the mesh file for the local elements.
Definition CMeshReaderBase.hpp:64
unsigned long numberOfLocalPoints
Number of local grid points within the linear partition on this rank.
Definition CMeshReaderBase.hpp:53
unsigned long GetNumberOfMarkers() const
Get the total number of markers in the mesh zone.
Definition CMeshReaderBase.hpp:165
unsigned long GetNumberOfSurfaceElementsForMarker(int val_iMarker) const
Get the number surface elements for the specified marker.
Definition CMeshReaderBase.hpp:149
const vector< unsigned long > & GetGlobalPointIDs() const
Get the global IDs of the local points.
Definition CMeshReaderBase.hpp:119
unsigned long GetNumberOfGlobalElements() const
Get the number of global elements within the mesh file.
Definition CMeshReaderBase.hpp:195
unsigned short dimension
Dimension of the problem (2 or 3).
Definition CMeshReaderBase.hpp:51
unsigned long numberOfGlobalElements
Number of global elements within the mesh file.
Definition CMeshReaderBase.hpp:63
vector< string > markerNames
String names for all markers in the mesh file.
Definition CMeshReaderBase.hpp:68
const int SU2_CONN_SIZE
Size of the connectivity array that is allocated for each element that we read from a mesh file in th...
Definition option_structure.hpp:266