Used to forward arguments to a class that implements the KernelBase interface.
More...
#include <KernelBase.hpp>
|
| KernelFactory (ARGS ... args) |
| Initialize the factory. More...
|
|
template<typename SUBREGION_TYPE , typename CONSTITUTIVE_TYPE , typename FE_TYPE > |
KERNEL_TYPE< SUBREGION_TYPE, CONSTITUTIVE_TYPE, FE_TYPE > | createKernel (NodeManager &nodeManager, EdgeManager const &edgeManager, FaceManager const &faceManager, localIndex const targetRegionIndex, SUBREGION_TYPE const &elementSubRegion, FE_TYPE const &finiteElementSpace, CONSTITUTIVE_TYPE &inputConstitutiveType) |
| Create a new kernel with the given standard arguments. More...
|
|
template<template< typename SUBREGION_TYPE, typename CONSTITUTIVE_TYPE, typename FE_TYPE > class KERNEL_TYPE, typename ... ARGS>
class geos::finiteElement::KernelFactory< KERNEL_TYPE, ARGS >
Used to forward arguments to a class that implements the KernelBase interface.
- Template Parameters
-
KERNEL_TYPE | The template class to construct, should implement the KernelBase interface. |
ARGS | The arguments used to construct a KERNEL_TYPE in addition to the standard arguments. |
Definition at line 281 of file KernelBase.hpp.
◆ KernelFactory()
template<template< typename SUBREGION_TYPE, typename CONSTITUTIVE_TYPE, typename FE_TYPE > class KERNEL_TYPE, typename ... ARGS>
Initialize the factory.
- Parameters
-
args | The arguments used to construct a KERNEL_TYPE in addition to the standard arguments. |
Definition at line 289 of file KernelBase.hpp.
◆ createKernel()
template<template< typename SUBREGION_TYPE, typename CONSTITUTIVE_TYPE, typename FE_TYPE > class KERNEL_TYPE, typename ... ARGS>
template<typename SUBREGION_TYPE , typename CONSTITUTIVE_TYPE , typename FE_TYPE >
Create a new kernel with the given standard arguments.
- Template Parameters
-
SUBREGION_TYPE | The type 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 subregion to execute on. |
finiteElementSpace | The finite element space. |
inputConstitutiveType | The constitutive relation. |
- Returns
- A new kernel constructed with the given arguments and
ARGS
.
Definition at line 308 of file KernelBase.hpp.
The documentation for this class was generated from the following file: