dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::MatrixColumnObject< Traits > Class Template Reference

#include <dune/fem/operator/common/localmatrix.hh>

Public Types

typedef Traits::LocalMatrixType LocalMatrixType
 type of local matrix implementation
 
typedef Traits::RangeSpaceType RangeSpaceType
 type of domain discrete function space
 
typedef RangeSpaceType::RangeType RangeType
 type of range
 
typedef RangeSpaceType::JacobianRangeType JacobianRangeType
 type of jacobian range
 
typedef RangeSpaceType::RangeFieldType RangeFieldType
 type of range field
 

Public Member Functions

template<class RangeVectorType >
void axpy (const RangeVectorType &phi, const Explicit< RangeType > &factor, const RangeFieldType &weight=RangeFieldType(1))
 axpy operation for local matrices
 
template<class JacobianVectorType >
void axpy (const JacobianVectorType &dphi, const JacobianRangeType &jacobianFactor, const RangeFieldType &weight=RangeFieldType(1))
 axpy operation for local matrices
 
template<class RangeVectorType , class JacobianVectorType >
void axpy (const RangeVectorType &phi, const JacobianVectorType &dphi, const Explicit< RangeType > &factor, const JacobianRangeType &jacobianFactor, const RangeFieldType &weight=RangeFieldType(1))
 axpy operation for local matrices
 

Protected Member Functions

 MatrixColumnObject (LocalMatrixType &localMatrix, const unsigned int col)
 constructor taking local matrix and column number
 

Protected Attributes

LocalMatrixTypelocalMatrix_
 
const unsigned int column_
 

Member Typedef Documentation

◆ JacobianRangeType

template<class Traits >
typedef RangeSpaceType::JacobianRangeType Dune::Fem::MatrixColumnObject< Traits >::JacobianRangeType

type of jacobian range

◆ LocalMatrixType

template<class Traits >
typedef Traits::LocalMatrixType Dune::Fem::MatrixColumnObject< Traits >::LocalMatrixType

type of local matrix implementation

◆ RangeFieldType

template<class Traits >
typedef RangeSpaceType::RangeFieldType Dune::Fem::MatrixColumnObject< Traits >::RangeFieldType

type of range field

◆ RangeSpaceType

template<class Traits >
typedef Traits::RangeSpaceType Dune::Fem::MatrixColumnObject< Traits >::RangeSpaceType

type of domain discrete function space

◆ RangeType

template<class Traits >
typedef RangeSpaceType::RangeType Dune::Fem::MatrixColumnObject< Traits >::RangeType

type of range

Constructor & Destructor Documentation

◆ MatrixColumnObject()

template<class Traits >
Dune::Fem::MatrixColumnObject< Traits >::MatrixColumnObject ( LocalMatrixType localMatrix,
const unsigned int  col 
)
inlineprotected

constructor taking local matrix and column number

Member Function Documentation

◆ axpy() [1/3]

template<class Traits >
template<class JacobianVectorType >
void Dune::Fem::MatrixColumnObject< Traits >::axpy ( const JacobianVectorType &  dphi,
const JacobianRangeType jacobianFactor,
const RangeFieldType weight = RangeFieldType(1) 
)
inline

axpy operation for local matrices

Denoting an entry of the local matrix by $a_{i,j}$ and the gradients of the base functions by $\nabla \varphi_i$, this function performs the following operation:

\[
a_{i,j} = a_{i,j} + weight * (jacobianFactor \cdot \nabla\varphi_i( x ))
\]

Parameters
[in]dphievaluations of the jacobian of all base functions $\varphi_i( x )$
[in]jacobianFactoraxpy factor
[in]weightintegration weight for quadrature point (default = 1)

◆ axpy() [2/3]

template<class Traits >
template<class RangeVectorType >
void Dune::Fem::MatrixColumnObject< Traits >::axpy ( const RangeVectorType &  phi,
const Explicit< RangeType > &  factor,
const RangeFieldType weight = RangeFieldType(1) 
)
inline

axpy operation for local matrices

Denoting an entry of the local matrix by $a_{i,j}$ and the base functions by $\varphi_i$, this function performs the following operation:

\[
a_{i,j} = a_{i,j} + weight * (factor \cdot \varphi_i( x ))
\]

Parameters
[in]phievaluations of all base functions $\varphi_i( x )$
[in]factoraxpy factor
[in]weightintegration weight for quadrature point (default = 1)

◆ axpy() [3/3]

template<class Traits >
template<class RangeVectorType , class JacobianVectorType >
void Dune::Fem::MatrixColumnObject< Traits >::axpy ( const RangeVectorType &  phi,
const JacobianVectorType &  dphi,
const Explicit< RangeType > &  factor,
const JacobianRangeType jacobianFactor,
const RangeFieldType weight = RangeFieldType(1) 
)
inline

axpy operation for local matrices

Denoting an entry of the local matrix by $a_{i,j}$ and the base functions by $\nabla \varphi_i$, this function performs the following operation:

\[
a_{i,j} = a_{i,j} + weight (factor \cdot \varphi_i( x ) + jacobianFactor \cdot \nabla\varphi_i( x ))
\]

Parameters
[in]phievaluations of all base functions $\varphi_i( x )$
[in]dphievaluations of the jacobian of all base functions $\varphi_i( x )$
[in]factoraxpy factor for phi
[in]jacobianFactoraxpy factor for dphi
[in]weightintegration weight for quadrature point (default = 1)

Member Data Documentation

◆ column_

template<class Traits >
const unsigned int Dune::Fem::MatrixColumnObject< Traits >::column_
protected

◆ localMatrix_

template<class Traits >
LocalMatrixType& Dune::Fem::MatrixColumnObject< Traits >::localMatrix_
protected

The documentation for this class was generated from the following file: