GEOSX
coreComponents
mesh
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 TotalEnergies
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 GEOS_MESH_MESHMANAGER_HPP_
20
#define GEOS_MESH_MESHMANAGER_HPP_
21
22
#include "
dataRepository/Group.hpp
"
23
#include "
mesh/DomainPartition.hpp
"
24
25
namespace
geos
26
{
27
class
SolverBase;
28
33
class
MeshManager
:
public
dataRepository::Group
34
{
35
public
:
36
42
MeshManager
(
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
& domain );
64
69
void
generateMeshLevels
(
DomainPartition
& domain );
70
75
void
importFields
(
DomainPartition
& domain );
76
77
private
:
78
82
MeshManager
() =
delete
;
83
84
};
85
86
}
/* namespace geos */
87
88
#endif
/* GEOS_MESH_MESHMANAGER_HPP_ */
DomainPartition.hpp
Group.hpp
geos::DomainPartition
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
Definition:
DomainPartition.hpp:52
geos::MeshManager
This class manages the mesh objects in GEOSX (reservoir mesh, well mesh)
Definition:
MeshManager.hpp:34
geos::MeshManager::createChild
virtual Group * createChild(string const &childKey, string const &childName) override
Create a new sub-mesh.
geos::MeshManager::MeshManager
MeshManager(string const &name, Group *const parent)
Constructor for the MeshManager object.
geos::MeshManager::generateMeshLevels
void generateMeshLevels(DomainPartition &domain)
Generate the different mesh levels in a MeshBody of the domain.
geos::MeshManager::generateMeshes
void generateMeshes(DomainPartition &domain)
Generate the meshes of the physical DomainPartition.
geos::MeshManager::importFields
void importFields(DomainPartition &domain)
Import data from external sources (e.g. dataset that comes with a mesh).
geos::MeshManager::expandObjectCatalogs
virtual void expandObjectCatalogs() override
This function is used to expand any catalogs in the data structure.
geos::dataRepository::Group
Definition:
Group.hpp:65
geos
Definition:
DataLayouts.hpp:28
Generated by
1.9.1