GEOS
SinglePhaseBaseFields.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 GEOS_PHYSICSSOLVERS_FLUIDFLOW_SINGLEPHASEBASEFIELDS_HPP_
21 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_SINGLEPHASEBASEFIELDS_HPP_
22 
23 #include "mesh/MeshFields.hpp"
24 #include "constitutive/fluid/singlefluid/SingleFluidLayouts.hpp"
25 #include "constitutive/fluid/singlefluid/SingleFluidUtils.hpp"
26 
27 namespace geos
28 {
32 namespace fields
33 {
34 
35 namespace flow
36 {
37 
38 using array2dLayoutFluid = array2d< real64, constitutive::singlefluid::LAYOUT_FLUID >;
39 
40 DECLARE_FIELD( mobility,
41  "mobility",
42  array1d< real64 >,
43  0,
44  NOPLOT,
45  WRITE_AND_READ,
46  "Mobility" );
47 
48 DECLARE_FIELD( dMobility,
49  "dMobility",
50  array2dLayoutFluid,
51  0,
52  NOPLOT,
53  NO_WRITE,
54  "dMobility" );
55 
56 }
57 
58 }
59 
60 }
61 
62 #endif // GEOS_PHYSICSSOLVERS_FLUIDFLOW_SINGLEPHASEBASEFIELDS_HPP_
#define DECLARE_FIELD(NAME, KEY, TYPE, DEFAULT, PLOTLEVEL, RESTARTFLAG, DESCRIPTION)
Generates a traits struct.
Definition: MeshFields.hpp:39