|
GEOS
|
Kernel to compute EDFM connectivity index. More...
#include <CIcomputationKernel.hpp>
Classes | |
| struct | StackVariables |
| stack variables More... | |
Public Member Functions | |
| CIcomputationKernel (FE_TYPE const &finiteElementSpace, NodeManager const &nodeManager, CellElementSubRegion const &elementSubRegion, EmbeddedSurfaceSubRegion &embeddedSurfSubRegion) | |
| Construct a new CIcomputationKernel object. More... | |
| GEOS_HOST_DEVICE void | setup (localIndex const k, StackVariables &stack) const |
| set up the kernel object by copying global values in the stack. More... | |
| GEOS_HOST_DEVICE real64 | computeDistance (localIndex const k, real64 const (&point)[3]) const |
computes the distance between a point inside the element and the cut surface k. More... | |
| GEOS_HOST_DEVICE void | samplingPointCoord (integer const np, StackVariables &stack) const |
| computes coordinates of the sampling point in the physical space. More... | |
| GEOS_HOST_DEVICE void | setConnectivityIndex (localIndex const k, real64 const averageDistance) const |
| Set the Connectivity Index. More... | |
Static Public Member Functions | |
| template<typename POLICY , typename KERNEL_TYPE > | |
| static void | launchCIComputationKernel (KERNEL_TYPE &kernelComponent) |
| launch of CI calculation More... | |
Static Public Attributes | |
| static constexpr int | numNodesPerElem = FE_TYPE::maxSupportPoints |
| number of nodes per element | |
| static constexpr int | numSamplingPoints = FE_TYPE::numSamplingPoints |
| number of sampling points per element | |
Kernel to compute EDFM connectivity index.
| FE_TYPE | finite element space (element type) on which CI are computed |
Definition at line 41 of file CIcomputationKernel.hpp.
|
inline |
Construct a new CIcomputationKernel object.
| finiteElementSpace | the finite element space |
| nodeManager | the nodeManager |
| elementSubRegion | the element subRegion |
| embeddedSurfSubRegion | the embeddedSurfaceSubRegion |
Definition at line 52 of file CIcomputationKernel.hpp.
|
inline |
computes the distance between a point inside the element and the cut surface k.
| k | the index of the embedded surface |
| point | the coordinates of a point inside the cell element |
Definition at line 158 of file CIcomputationKernel.hpp.
|
inlinestatic |
launch of CI calculation
| POLICY | the exectution policy |
| KERNEL_TYPE | the type of kernel |
| kernelComponent | the kernel object |
Definition at line 106 of file CIcomputationKernel.hpp.
|
inline |
computes coordinates of the sampling point in the physical space.
| np | sampling point linear index |
| stack | stack variables |
Definition at line 175 of file CIcomputationKernel.hpp.
|
inline |
Set the Connectivity Index.
| k | embedded surface element index |
| averageDistance | the average distance |
Definition at line 205 of file CIcomputationKernel.hpp.
|
inline |
set up the kernel object by copying global values in the stack.
| k | embedded surface index. |
| stack | stack variables |
Definition at line 136 of file CIcomputationKernel.hpp.