Helper struct to define a specialization of #geos::finiteElement::SparsityKernelBase that may be used to generate the sparsity pattern.
More...
#include <SparsityKernelBase.hpp>
|
| SparsityKernelFactory (arrayView1d< globalIndex const > const &inputDofNumber, globalIndex const rankOffset, SparsityPattern< globalIndex > &inputSparsityPattern) |
| Constructor. More...
|
|
template<typename SUBREGION_TYPE , typename CONSTITUTIVE_TYPE , typename FE_TYPE > |
auto | createKernel (NodeManager const &nodeManager, EdgeManager const &edgeManager, FaceManager const &faceManager, localIndex const targetRegionIndex, SUBREGION_TYPE const &elementSubRegion, FE_TYPE const &finiteElementSpace, CONSTITUTIVE_TYPE &inputConstitutiveType) |
| Return a new instance of SparsityKernelBase specialized for KERNEL_TEMPLATE . More...
|
|
template<template< typename, typename, typename > class KERNEL_TEMPLATE>
class geos::finiteElement::SparsityKernelFactory< KERNEL_TEMPLATE >
Helper struct to define a specialization of #geos::finiteElement::SparsityKernelBase that may be used to generate the sparsity pattern.
- Template Parameters
-
KERNEL_TEMPLATE | Templated class that defines the physics kernel. Most likely derives from SparsityKernelBase. |
Definition at line 187 of file SparsityKernelBase.hpp.
◆ SparsityKernelFactory()
template<template< typename, typename, typename > class KERNEL_TEMPLATE>
Constructor.
- Parameters
-
inputDofNumber | An array containing the input degree of freedom numbers. |
rankOffset | The global rank offset. |
inputSparsityPattern | The local sparsity pattern. |
Definition at line 197 of file SparsityKernelBase.hpp.
◆ createKernel()
template<template< typename, typename, typename > class KERNEL_TEMPLATE>
template<typename SUBREGION_TYPE , typename CONSTITUTIVE_TYPE , typename FE_TYPE >
Return a new instance of SparsityKernelBase
specialized for KERNEL_TEMPLATE
.
- Template Parameters
-
SUBREGION_TYPE | The type of of elementSubRegion . |
CONSTITUTIVE_TYPE | The type of inputConstitutiveType . |
FE_TYPE | The type of finiteElementSpace . |
- Parameters
-
nodeManager | The node manager. |
edgeManager | The edge manager. |
faceManager | The face manager. |
targetRegionIndex | The target region index. |
elementSubRegion | The sub region on which to generate the sparsity. |
finiteElementSpace | The finite element space. |
inputConstitutiveType | The constitutive relation. |
- Returns
- A new instance of
SparsityKernelBase
specialized for KERNEL_TEMPLATE
.
Definition at line 220 of file SparsityKernelBase.hpp.
The documentation for this class was generated from the following file: