GEOS
DynamicFieldSpecification.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 TotalEnergies
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 SRC_CORECOMPONENTS_PHYSICSSOLVERS_DYNAMIC_FIELDSPECIFCATION_HPP_
21 #define SRC_CORECOMPONENTS_PHYSICSSOLVERS_DYNAMIC_FIELDSPECIFCATION_HPP_
22 
24 
25 namespace geos
26 {
27 
28 
30 {
31 public:
32 
38  DynamicFieldSpecification( const string & name,
39  Group * const parent );
40 
43 
45  static string catalogName()
46  {
47  return "DynamicFieldSpecification";
48  }
49 
57  virtual bool execute( real64 const time_n,
58  real64 const dt,
59  integer const cycleNumber,
60  integer const eventCounter,
61  real64 const eventProgress,
62  DomainPartition & domain ) override;
63 
66 private:
67 
71  struct viewKeyStruct
72  {
73  constexpr static char const * fieldSpecificationNamesString() { return "fieldSpecificationNames"; }
74  };
75 
76  void postInputInitialization() override;
77 
83  string getTargetFieldName( string const & fieldName ) const;
84 
85  stdVector< string > m_fieldSpecificationNames;
86 };
87 
88 
89 } /* namespace geos */
90 
91 #endif /* SRC_CORECOMPONENTS_PHYSICSSOLVERS_DYNAMIC_FIELDSPECIFCATION_HPP_ */
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
~DynamicFieldSpecification() override
Destructor for the class.
DynamicFieldSpecification(const string &name, Group *const parent)
Constructor for the initialization class.
static string catalogName()
Accessor for the catalog name.
virtual bool execute(real64 const time_n, real64 const dt, integer const cycleNumber, integer const eventCounter, real64 const eventProgress, DomainPartition &domain) override
Main extension point of executable targets.
double real64
64-bit floating point type.
Definition: DataTypes.hpp:98
int integer
Signed integer type.
Definition: DataTypes.hpp:81