GEOSX
TwoPointFluxApproximation.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 Total, S.A
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 GEOSX_FINITEVOLUME_TWOPOINTFLUXAPPROXIMATION_HPP_
20 #define GEOSX_FINITEVOLUME_TWOPOINTFLUXAPPROXIMATION_HPP_
21 
23 
24 namespace geosx
25 {
26 
33 {
34 public:
35 
40  static std::string CatalogName() { return "TwoPointFluxApproximation"; }
41 
42  TwoPointFluxApproximation() = delete;
43 
49  TwoPointFluxApproximation( std::string const & name, dataRepository::Group * const parent );
50 
51 protected:
52 
53  virtual void registerCellStencil( Group & stencilGroup ) const override;
54 
55  virtual void computeCellStencil( MeshLevel & mesh ) const override;
56 
57  virtual void registerFractureStencil( Group & stencilGroup ) const override;
58 
59  virtual void addToFractureStencil( MeshLevel & mesh,
60  string const & faceElementRegionName,
61  bool const initFlag ) const override;
62 
63  virtual void registerBoundaryStencil( Group & stencilGroup,
64  string const & setName ) const override;
65 
66  virtual void computeBoundaryStencil( MeshLevel & mesh,
67  string const & setName,
68  SortedArrayView< localIndex const > const & faceSet ) const override;
69 
70  virtual void addEDFracToFractureStencil( MeshLevel & mesh,
71  string const & embeddedSurfaceRegionName ) const override;
72 
73 
74 };
75 
76 }
77 
78 
79 #endif //GEOSX_FINITEVOLUME_TWOPOINTFLUXAPPROXIMATION_HPP_
virtual void registerBoundaryStencil(Group &stencilGroup, string const &setName) const override
Register the wrapper for boundary face stencil on a mesh.
Class facilitating the representation of a multi-level discretization of a MeshBody.
Definition: MeshLevel.hpp:38
virtual void registerFractureStencil(Group &stencilGroup) const override
Register the wrapper for fracture stencil on a mesh.
virtual void addToFractureStencil(MeshLevel &mesh, string const &faceElementRegionName, bool const initFlag) const override
Add a new fracture stencil.
virtual void computeCellStencil(MeshLevel &mesh) const override
Actual computation of the cell-to-cell stencil, to be overridden by implementations.
virtual void computeBoundaryStencil(MeshLevel &mesh, string const &setName, SortedArrayView< localIndex const > const &faceSet) const override
Allocate and populate a stencil to be used in boundary condition application.
virtual void registerCellStencil(Group &stencilGroup) const override
Register the wrapper for cell stencil on a mesh.
std::string string
String type.
Definition: DataTypes.hpp:131
virtual void addEDFracToFractureStencil(MeshLevel &mesh, string const &embeddedSurfaceRegionName) const override
Add a new embedded fracture stencil.
static std::string CatalogName()
Static Factory Catalog Functions.