GEOSX
coreComponents
meshUtilities
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
"
23
#include "
managers/DomainPartition.hpp
"
24
25
namespace
geosx
26
{
27
class
SolverBase;
28
33
class
MeshManager
:
public
dataRepository::Group
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_ */
geosx::MeshManager::CreateChild
virtual Group * CreateChild(string const &childKey, string const &childName) override
Create a new sub-mesh.
geosx
Definition:
DataLayouts.hpp:25
geosx::MeshManager::ExpandObjectCatalogs
virtual void ExpandObjectCatalogs() override
This function is used to expand any catalogs in the data structure.
Group.hpp
DomainPartition.hpp
geosx::dataRepository::Group
Definition:
Group.hpp:70
geosx::MeshManager::GenerateMeshLevels
void GenerateMeshLevels(DomainPartition *const domain)
Generate the different mesh levels in a MeshBody of the domain.
geosx::MeshManager::GenerateMeshes
void GenerateMeshes(DomainPartition *const domain)
Generate the meshes of the physical DomainPartition.
geosx::MeshManager
This class manages the mesh objects in GEOSX (reservoir mesh, well mesh)
Definition:
MeshManager.hpp:33
geosx::string
std::string string
String type.
Definition:
DataTypes.hpp:131
geosx::DomainPartition
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
Definition:
DomainPartition.hpp:51
Generated by
1.8.13