#include <MimeticInnerProductBase.hpp>
|
template<localIndex NF> |
static GEOS_HOST_DEVICE void | computeParametricInnerProduct (arrayView2d< real64 const, nodes::REFERENCE_POSITION_USD > const &nodePosition, arrayView1d< real64 const > const &transMultiplier, ArrayOfArraysView< localIndex const > const &faceToNodes, arraySlice1d< localIndex const > const &elemToFaces, arraySlice1d< real64 const > const &elemCenter, real64 const &elemVolume, real64 const (&elemPerm)[3], real64 const &tParam, real64 const &lengthTolerance, arraySlice2d< real64 > const &transMatrix) |
| In a given element, recompute the transmissibility matrix using a consistent inner product. More...
|
|
Provides management of the mimetic inner products for the hybrid FVM solvers
Definition at line 36 of file MimeticInnerProductBase.hpp.
◆ MimeticInnerProductBase()
geos::mimeticInnerProduct::MimeticInnerProductBase::MimeticInnerProductBase |
( |
MimeticInnerProductBase const & |
source | ) |
|
|
default |
Copy Constructor.
- Parameters
-
source | The object to copy. |
◆ computeParametricInnerProduct()
template<localIndex NF>
GEOS_HOST_DEVICE void geos::mimeticInnerProduct::MimeticInnerProductBase::computeParametricInnerProduct |
( |
arrayView2d< real64 const, nodes::REFERENCE_POSITION_USD > const & |
nodePosition, |
|
|
arrayView1d< real64 const > const & |
transMultiplier, |
|
|
ArrayOfArraysView< localIndex const > const & |
faceToNodes, |
|
|
arraySlice1d< localIndex const > const & |
elemToFaces, |
|
|
arraySlice1d< real64 const > const & |
elemCenter, |
|
|
real64 const & |
elemVolume, |
|
|
real64 const (&) |
elemPerm[3], |
|
|
real64 const & |
tParam, |
|
|
real64 const & |
lengthTolerance, |
|
|
arraySlice2d< real64 > const & |
transMatrix |
|
) |
| |
|
static |
In a given element, recompute the transmissibility matrix using a consistent inner product.
- Parameters
-
[in] | nodePosition | the position of the nodes |
[in] | transMultiplier | the transmissibility multipliers at the mesh faces |
[in] | faceToNodes | the map from the face to their nodes |
[in] | elemToFaces | the maps from the one-sided face to the corresponding face |
[in] | elemCenter | the center of the element |
[in] | elemVolume | the volume of the element |
[in] | elemPerm | the permeability in the element |
[in] | tParam | parameter used in the transmissibility matrix computations |
[in] | lengthTolerance | the tolerance used in the trans calculations |
[in,out] | transMatrix | the output |
When tParam = 2, we obtain a scheme that reduces to TPFA on orthogonal meshes, but remains consistent on non-orthogonal meshes When tParam = 6, we obtain the quasi-Raviart-Thomas inner product
Definition at line 104 of file MimeticInnerProductBase.hpp.
◆ operator=() [1/2]
Deleted move assignment operator.
- Returns
- deleted
◆ operator=() [2/2]
Deleted copy assignment operator.
- Returns
- deleted
The documentation for this class was generated from the following file: