Go to the source code of this file.
|
#define | SELECTED_FE_TYPES_2D BASE_FE_TYPES_2D |
| This macro allows solvers to select a subset of FE_TYPES_2D on which the dispatch is done. If none are selected, by default all the BASE_FE_TYPES_2D apply.
|
|
|
template<typename POLICY , typename CONSTITUTIVE_BASE , typename KERNEL_FACTORY > |
static real64 | geos::finiteElement::interfaceBasedKernelApplication (MeshLevel &mesh, string const &targetRegionName, arrayView1d< localIndex const > const &faceElementList, FiniteElementBase const &subRegionFE, string const &constitutiveStringName, KERNEL_FACTORY &interfaceKernelFactory) |
| Performs a loop over FaceElementSubRegion and calls a kernel launch with compile time knowledge of sub-loop bounds such as number of nodes and quadrature points per element. More...
|
|
◆ interfaceBasedKernelApplication()
template<typename POLICY , typename CONSTITUTIVE_BASE , typename KERNEL_FACTORY >
static real64 geos::finiteElement::interfaceBasedKernelApplication |
( |
MeshLevel & |
mesh, |
|
|
string const & |
targetRegionName, |
|
|
arrayView1d< localIndex const > const & |
faceElementList, |
|
|
FiniteElementBase const & |
subRegionFE, |
|
|
string const & |
constitutiveStringName, |
|
|
KERNEL_FACTORY & |
interfaceKernelFactory |
|
) |
| |
|
static |
Performs a loop over FaceElementSubRegion and calls a kernel launch with compile time knowledge of sub-loop bounds such as number of nodes and quadrature points per element.
- Template Parameters
-
POLICY | The RAJA launch policy to pass to the kernel launch. |
CONSTITUTIVE_BASE | The common base class for constitutive pass-thru/dispatch which gives the kernel launch compile time knowledge of the constitutive model. |
KERNEL_FACTORY | The type of interfaceKernelFactory , typically an instantiation of InterfaceKernelFactory , and must adhere to that interface. |
- Parameters
-
mesh | The MeshLevel object. |
targetRegionName | The names of the target regions to apply the KERNEL_TEMPLATE . |
faceElementList | List of element of the same type belongs to FaceElementSubRegion. |
subRegionFE | Finite element object. |
constitutiveStringName | Key string used to retrieve the constitutive model. |
interfaceKernelFactory | The object used to construct the kernel. |
- Returns
- The maximum contribution to the residual, which may be used to scale the residual.
Loops over all regions Applies/Launches a kernel specified by the KERNEL_TEMPLATE
through #geos::finiteElement::KernelBase::kernelLaunch().
Definition at line 211 of file InterfaceKernelBase.hpp.