|
28 | 28 | #pragma once |
29 | 29 |
|
30 | 30 | #include "CGeometry.hpp" |
31 | | -#include "meshreader/CMeshReaderFVM.hpp" |
| 31 | +#include "meshreader/CMeshReaderBase.hpp" |
32 | 32 | #include "../containers/C2DContainer.hpp" |
33 | 33 |
|
34 | 34 | /*! |
@@ -285,51 +285,49 @@ class CPhysicalGeometry final : public CGeometry { |
285 | 285 | * \param[in] val_iZone - Domain to be read from the grid file. |
286 | 286 | * \param[in] val_nZone - Total number of domains in the grid file. |
287 | 287 | */ |
288 | | - void Read_Mesh_FVM(CConfig* config, const string& val_mesh_filename, unsigned short val_iZone, |
289 | | - unsigned short val_nZone); |
| 288 | + void Read_Mesh(CConfig* config, const string& val_mesh_filename, unsigned short val_iZone, unsigned short val_nZone); |
290 | 289 |
|
291 | 290 | /*! |
292 | | - * \brief Reads for the FEM solver the geometry of the grid and adjust the boundary |
293 | | - * conditions with the configuration file in parallel (for parmetis). |
294 | | - * \param[in] config - Definition of the particular problem. |
295 | | - * \param[in] val_mesh_filename - Name of the file with the grid information. |
296 | | - * \param[in] val_iZone - Domain to be read from the grid file. |
297 | | - * \param[in] val_nZone - Total number of domains in the grid file. |
298 | | - */ |
299 | | - void Read_SU2_Format_Parallel_FEM(CConfig* config, const string& val_mesh_filename, unsigned short val_iZone, |
300 | | - unsigned short val_nZone); |
301 | | - |
302 | | - /*! |
303 | | - * \brief Reads for the FEM solver the geometry of the grid and adjust the boundary |
304 | | - * conditions with the configuration file in parallel (for parmetis). |
305 | | - * \param[in] config - Definition of the particular problem. |
306 | | - * \param[in] val_mesh_filename - Name of the file with the grid information. |
307 | | - * \param[in] val_iZone - Domain to be read from the grid file. |
308 | | - * \param[in] val_nZone - Total number of domains in the grid file. |
| 291 | + * \brief Routine to load the CGNS grid points from a single zone into the proper SU2 data structures. |
| 292 | + * \param[in] config - definition of the particular problem. |
| 293 | + * \param[in] mesh - mesh reader object containing the current zone data. |
309 | 294 | */ |
310 | | - void Read_CGNS_Format_Parallel_FEM(CConfig* config, const string& val_mesh_filename, unsigned short val_iZone, |
311 | | - unsigned short val_nZone); |
| 295 | + void LoadLinearlyPartitionedPoints(CConfig* config, CMeshReaderBase* mesh); |
312 | 296 |
|
313 | 297 | /*! |
314 | | - * \brief Routine to load the CGNS grid points from a single zone into the proper SU2 data structures. |
| 298 | + * \brief Routine to load the grid points from a single zone into the proper SU2 data structures for the FEM solver. |
315 | 299 | * \param[in] config - definition of the particular problem. |
316 | 300 | * \param[in] mesh - mesh reader object containing the current zone data. |
317 | 301 | */ |
318 | | - void LoadLinearlyPartitionedPoints(CConfig* config, CMeshReaderFVM* mesh); |
| 302 | + void LoadLinearlyPartitionedPointsFEM(CConfig* config, CMeshReaderBase* mesh); |
319 | 303 |
|
320 | 304 | /*! |
321 | 305 | * \brief Loads the interior volume elements from the mesh reader object into the primal element data structures. |
322 | 306 | * \param[in] config - definition of the particular problem. |
323 | 307 | * \param[in] mesh - mesh reader object containing the current zone data. |
324 | 308 | */ |
325 | | - void LoadLinearlyPartitionedVolumeElements(CConfig* config, CMeshReaderFVM* mesh); |
| 309 | + void LoadLinearlyPartitionedVolumeElements(CConfig* config, CMeshReaderBase* mesh); |
| 310 | + |
| 311 | + /*! |
| 312 | + * \brief Loads the interior volume elements from the mesh reader object into the primal element data structures for |
| 313 | + * the FEM solver. \param[in] config - definition of the particular problem. \param[in] mesh - mesh reader object |
| 314 | + * containing the current zone data. |
| 315 | + */ |
| 316 | + void LoadLinearlyPartitionedVolumeElementsFEM(CConfig* config, CMeshReaderBase* mesh); |
326 | 317 |
|
327 | 318 | /*! |
328 | 319 | * \brief Loads the boundary elements (markers) from the mesh reader object into the primal element data structures. |
329 | 320 | * \param[in] config - definition of the particular problem. |
330 | 321 | * \param[in] mesh - mesh reader object containing the current zone data. |
331 | 322 | */ |
332 | | - void LoadUnpartitionedSurfaceElements(CConfig* config, CMeshReaderFVM* mesh); |
| 323 | + void LoadUnpartitionedSurfaceElements(CConfig* config, CMeshReaderBase* mesh); |
| 324 | + |
| 325 | + /*! |
| 326 | + * \brief Loads the boundary elements (markers) from the mesh reader object into the primal element data structures |
| 327 | + * for the FEM solver. \param[in] config - definition of the particular problem. \param[in] mesh - mesh reader |
| 328 | + * object containing the current zone data. |
| 329 | + */ |
| 330 | + void LoadLinearlyPartitionedSurfaceElementsFEM(CConfig* config, CMeshReaderBase* mesh); |
333 | 331 |
|
334 | 332 | /*! |
335 | 333 | * \brief Prepares the grid point adjacency based on a linearly partitioned mesh object needed by ParMETIS for graph |
|
0 commit comments