Go to the source code of this file.
|
template<typename REGION_TYPE , template< typename SUBREGION_TYPE, typename CONSTITUTIVE_TYPE, typename FE_TYPE > class KERNEL_TEMPLATE> |
static real64 | geosx::finiteElement::fillSparsity (MeshLevel &mesh, arrayView1d< string const > const &targetRegions, string const &discretizationName, arrayView1d< globalIndex const > const &inputDofNumber, globalIndex const rankOffset, SparsityPattern< globalIndex > &inputSparsityPattern) |
| Fills matrix sparsity. More...
|
|
◆ fillSparsity()
template<typename REGION_TYPE , template< typename SUBREGION_TYPE, typename CONSTITUTIVE_TYPE, typename FE_TYPE > class KERNEL_TEMPLATE>
Fills matrix sparsity.
- Template Parameters
-
REGION_TYPE | The type of region to loop over. TODO make this a parameter pack? |
KERNEL_TEMPLATE | The type of template for the physics kernel, which conforms to the interface specified by KernelBase. |
- Parameters
-
mesh | The MeshLevel object. |
targetRegions | The names of the target regions(of type REGION_TYPE ) to apply the KERNEL_TEMPLATE . |
discretizationName | The name of the finite element discretization. |
inputDofNumber | The global degree of freedom numbers. |
rankOffset | Offset of dof indices on curren rank. |
inputSparsityPattern | The local sparsity pattern to fill. |
- Returns
- 0
Fills matrix sparsity using information from physics specific implementation of geosx::finiteElement::KernelBase interface using the geosx::finiteElement::ImplicitKernelBase alias to specialize geosx::finiteElement::SparsityKernelBase to conform with the template pattern specified in the physics kernels.
Definition at line 235 of file SparsityKernelBase.hpp.