KASKADE 7 development version
Classes | Enumerations | Functions

Classes and functions for constructing matrix representations of differential operators. More...

Classes

class  Kaskade::CachingBoundaryDetector< GridView >
 
class  Kaskade::ForwardingBoundaryDetector
 
class  Kaskade::TrivialBoundaryDetector
 
class  Kaskade::VariationalFunctionalAssembler< F, SparseIndex, BoundaryDetector, QuadRule >
 A class for assembling Galerkin representation matrices and right hand sides for variational functionals depending on multiple variables. More...
 

Enumerations

enum  { Kaskade::Assembler::VALUE =0x1 , Kaskade::Assembler::RHS =0x2 , Kaskade::Assembler::MATRIX =0x4 , Kaskade::Assembler::EVERYTHING =0x7 }
 What to assemble. More...
 

Functions

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...
 

Detailed Description

Classes and functions for constructing matrix representations of differential operators.

Enumeration Type Documentation

◆ anonymous enum

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.

Function Documentation

◆ massMatrix()

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.

Template Parameters
Spacea FEFunctionSpace instance
mthe number of components of the variable, usually m=1 for scalar problems
Scalarthe scalar arithmetic type to use
Densityeither a scalar value or a function view type
Parameters
spacethe finite element space to use
rhothe 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>
NumaBCRSMatrix< Dune::FieldMatrix< Scalar, m, m > > Kaskade::stiffnessMatrix ( Space const &  space,
Conductivity const &  kappa 
)

Creates a stiffness matrix for the given FE space.

Template Parameters
Spacea FEFunctionSpace instance
mthe number of components of the variable, usually m=1 for scalar problems
Scalarthe scalar arithmetic type to use
Conductivityeither a symmetric dim x dim matrix or a function view type
Parameters
spacethe finite element space to use
rhothe 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.