Classes and functions for constructing matrix representations of differential operators.
More...
|
template<class Space , class Density , int m = 1, class Scalar = double> |
NumaBCRSMatrix< Dune::FieldMatrix< Scalar, m, m > > | Kaskade::massMatrix (Space const &space, Density const &rho) |
| Creates a mass matrix for the given FE space. More...
|
|
template<class Space , class Conductivity , int m = 1, class Scalar = double> |
NumaBCRSMatrix< Dune::FieldMatrix< Scalar, m, m > > | Kaskade::stiffnessMatrix (Space const &space, Conductivity const &kappa) |
| Creates a stiffness matrix for the given FE space. More...
|
|
Classes and functions for constructing matrix representations of differential operators.
◆ anonymous enum
What to assemble.
Binary flags to be or'ed for supplying assembly requests. An integer bitfield is supplied when calling the assemble() method of any VariationalFunctionalAssembler, to tell the assembler which parts (right hand side, matrix, functional value) are to be computed. This information is passed on to the DomainCache and BoundaryCache objects of the VariationalFunctional, such that they can restrict the computation to actually required values.
Enumerator |
---|
VALUE | |
RHS | |
MATRIX | |
EVERYTHING | |
Definition at line 1402 of file assemblerCore.hh.
◆ massMatrix()
template<class Space , class Density , int m = 1, class Scalar = double>
Creates a mass matrix for the given FE space.
- Template Parameters
-
Space | a FEFunctionSpace instance |
m | the number of components of the variable, usually m=1 for scalar problems |
Scalar | the scalar arithmetic type to use |
Density | either a scalar value or a function view type |
- Parameters
-
space | the finite element space to use |
rho | the density (a scalar or a function view object) |
- Warning
- explicit instantiations for common template parameters are provided in the Kaskade 7 library. For unusual template parameters, include fem/matrices.hpp, where the function is actually implemented. This incurs higher compile times, though.
◆ stiffnessMatrix()
template<class Space , class Conductivity , int m = 1, class Scalar = double>
Creates a stiffness matrix for the given FE space.
- Template Parameters
-
Space | a FEFunctionSpace instance |
m | the number of components of the variable, usually m=1 for scalar problems |
Scalar | the scalar arithmetic type to use |
Conductivity | either a symmetric dim x dim matrix or a function view type |
- Parameters
-
space | the finite element space to use |
rho | the density (a scalar or a function view object) |
- Warning
- explicit instantiations for common template parameters are provided in the Kaskade 7 library. For unusual template parameters, include fem/matrices.hpp, where the function is actually implemented. This incurs higher compile times, though.