GEOS
ExternalDataSourceManager.hpp
Go to the documentation of this file.
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2016-2024 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2024 Total, S.A
7  * Copyright (c) 2018-2024 The Board of Trustees of the Leland Stanford Junior University
8  * Copyright (c) 2023-2024 Chevron
9  * Copyright (c) 2019- GEOS/GEOSX Contributors
10  * All rights reserved
11  *
12  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
13  * ------------------------------------------------------------------------------------------------------------
14  */
15 
20 #ifndef GEOS_MESH_EXTERNALDATASOURCEMANAGER_HPP_
21 #define GEOS_MESH_EXTERNALDATASOURCEMANAGER_HPP_
22 
23 #include "dataRepository/Group.hpp"
24 #include "mesh/DomainPartition.hpp"
25 
26 namespace geos
27 {
28 
34 {
35 public:
36 
42  ExternalDataSourceManager( string const & name,
43  Group * const parent );
44 
45  virtual ~ExternalDataSourceManager() override;
46 
47 
54  virtual Group * createChild( string const & childKey, string const & childName ) override;
55 
57  virtual void expandObjectCatalogs() override;
58 
63  void open( DomainPartition & domain );
64 
65 private:
66 
70  ExternalDataSourceManager() = delete;
71 
72 };
73 
74 } /* namespace geos */
75 
76 #endif /* GEOS_MESH_EXTERNALDATASOURCEMANAGER_HPP_ */
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
This class manages a data repository whereof objects can be imported to GEOS (reservoir mesh,...
virtual Group * createChild(string const &childKey, string const &childName) override
Create a new sub data repository.
virtual void expandObjectCatalogs() override
This function is used to expand any catalogs in the data structure.
ExternalDataSourceManager(string const &name, Group *const parent)
Constructor for the ExternalDataSourceManager object.
void open(DomainPartition &domain)
Generate the meshes of the physical DomainPartition.