GEOS
Region.hpp
Go to the documentation of this file.
1 
2 /*
3  * ------------------------------------------------------------------------------------------------------------
4  * SPDX-License-Identifier: LGPL-2.1-only
5  *
6  * Copyright (c) 2016-2024 Lawrence Livermore National Security LLC
7  * Copyright (c) 2018-2024 Total, S.A
8  * Copyright (c) 2018-2024 The Board of Trustees of the Leland Stanford Junior University
9  * Copyright (c) 2023-2024 Chevron
10  * Copyright (c) 2019- GEOS/GEOSX Contributors
11  * All rights reserved
12  *
13  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
14  * ------------------------------------------------------------------------------------------------------------
15  */
16 
21 #ifndef GEOS_MESH_GENERATORS_REGION_HPP
22 #define GEOS_MESH_GENERATORS_REGION_HPP
23 
24 #include "MeshComponentBase.hpp"
25 
26 namespace geos
27 {
28 
35 class Region : public MeshComponentBase
36 {
37 public:
43  Region( const string & name, Group * const parent );
44 
48  ~Region() override;
49 
54  static string catalogName() { return "Region"; }
55 
58  struct viewKeyStruct
59  {
60  static constexpr char const * idString() { return "id"; }
61  static constexpr char const * pathInRepositoryString() { return "pathInRepository"; }
62  };
64 
65 private:
66 
68  integer m_id = 0;
69 
71  string m_pathInRepository = "";
72 };
73 
74 } // namespace GEOS
75 
76 #endif
Region parameters with Group capabilities.
Definition: Region.hpp:36
~Region() override
Default destructor.
Region(const string &name, Group *const parent)
Constructor.
static string catalogName()
Get the catalog name.
Definition: Region.hpp:54
std::int32_t integer
Signed integer type.
Definition: DataTypes.hpp:82