GEOSX
MeshManager.hpp
Go to the documentation of this file.
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2018-2020 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2020 The Board of Trustees of the Leland Stanford Junior University
7  * Copyright (c) 2018-2020 Total, S.A
8  * Copyright (c) 2019- GEOSX Contributors
9  * All rights reserved
10  *
11  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
12  * ------------------------------------------------------------------------------------------------------------
13  */
14 
19 #ifndef GEOSX_MESHUTILITIES_MESHMANAGER_HPP_
20 #define GEOSX_MESHUTILITIES_MESHMANAGER_HPP_
21 
22 #include "dataRepository/Group.hpp"
24 
25 namespace geosx
26 {
27 class SolverBase;
28 
34 {
35 public:
36 
42  MeshManager( std::string const & name,
43  Group * const parent );
44 
45  virtual ~MeshManager() override;
46 
47 
54  virtual Group * CreateChild( string const & childKey, string const & childName ) override;
55 
57  virtual void ExpandObjectCatalogs() override;
58 
63  void GenerateMeshes( DomainPartition * const domain );
64 
69  void GenerateMeshLevels( DomainPartition * const domain );
70 
71 private:
72 
76  MeshManager() = delete;
77 
78 };
79 
80 } /* namespace geosx */
81 
82 #endif /* GEOSX_PHYSICSSOLVERS_MESHMANAGER_HPP_ */
virtual Group * CreateChild(string const &childKey, string const &childName) override
Create a new sub-mesh.
virtual void ExpandObjectCatalogs() override
This function is used to expand any catalogs in the data structure.
void GenerateMeshLevels(DomainPartition *const domain)
Generate the different mesh levels in a MeshBody of the domain.
void GenerateMeshes(DomainPartition *const domain)
Generate the meshes of the physical DomainPartition.
This class manages the mesh objects in GEOSX (reservoir mesh, well mesh)
Definition: MeshManager.hpp:33
std::string string
String type.
Definition: DataTypes.hpp:131
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...