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

A local matrix with a small array as storage. More...

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

Inheritance diagram for Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >:
Inheritance graph

Public Types

typedef DomainSpaceImp DomainSpaceType
 
typedef RangeSpaceImp RangeSpaceType
 
typedef TemporaryLocalMatrixTraits< DomainSpaceType, RangeSpaceTypeTraits
 
typedef Traits::DomainFieldType DomainFieldType
 
typedef Traits::RangeFieldType RangeFieldType
 
typedef int size_type
 
typedef RangeFieldType value_type
 
typedef RowReferenceVector< value_typerow_reference
 
typedef RowReferenceVector< const value_typeconst_row_reference
 
typedef std::vector< RangeFieldTypeMatrixEntriesType
 
typedef TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > Ttype
 
typedef std::vector< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > RowType
 remember the value type
 
typedef BaseType::DomainBasisFunctionSetType DomainBasisFunctionSetType
 
typedef BaseType::RangeBasisFunctionSetType RangeBasisFunctionSetType
 
typedef BaseType::DomainEntityType DomainEntityType
 
typedef BaseType::RangeEntityType RangeEntityType
 
typedef ThisType LocalMatrixInterfaceType
 type of this interface
 
typedef Traits::LocalMatrixType LocalMatrixType
 type of local matrix implementation
 
typedef Traits::LittleBlockType LittleBlockType
 
typedef MatrixColumnObject< TraitsMatrixColumnType
 

Public Member Functions

 TemporaryLocalMatrix (const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace)
 
template<class DomainEntityType , class RangeEntityType >
 TemporaryLocalMatrix (const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace, const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity)
 
template<class DomainEntityType , class RangeEntityType >
void init (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity)
 initialize the local matrix to entities
 
template<class DomainEntityType , class RangeEntityType >
void bind (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity)
 initialize the local matrix to entities
 
void unbind ()
 clear local matrix from entities
 
void add (const int localRow, const int localCol, const RangeFieldType &value)
 add value to matrix entry (row,col) where row and col are local row and local column
 
void set (const int localRow, const int localCol, const RangeFieldType &value)
 set value of matrix entry (row,col) where row and col are local row and local column
 
const RangeFieldType get (const int localRow, const int localCol) const
 get value of matrix entry (row,col) where row and col are local row and local column
 
void scale (const RangeFieldType &value)
 scale matrix with scalar value
 
void clear ()
 set all entries of local matrix to zero
 
void clearRow (const int localRow)
 set row to zero values
 
size_type rows () const
 
size_type cols () const
 
size_type columns () const
 
size_type mat_rows () const
 
size_type mat_cols () const
 
row_reference mat_access (size_type i)
 
const_row_reference mat_access (size_type i) const
 
const RangeFieldTypedata () const
 
const DomainBasisFunctionSetTypedomainBasisFunctionSet () const
 access to the base function set within the domain space
 
const RangeBasisFunctionSetTyperangeBasisFunctionSet () const
 access to the base function set within the range space
 
void resize (int rows, int cols)
 
TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > & operator() (int row, int col)
 
const TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > & operator() (int row, int col) const
 
RowTypeoperator[] (int row)
 
const RowTypeoperator[] (int row) const
 
void mult (const TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > *vec, RowType &result) const
 
void mult (const RowType &vec, RowType &result) const
 
void multOEM (const TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > *vec, TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > *result) const
 
void multTransposed (const RowType &vec, RowType &result) const
 
void multiply (const DenseMatrix &A, const DenseMatrix &B)
 
void multiplyTransposed (const DenseMatrix &A, const DenseMatrix &B)
 
void multiply_AT_A (const DenseMatrix &A)
 this = A^T * A
 
void scale (const TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > &val)
 scale matrix with scalar
 
DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > & operator+= (const DenseMatrix &org)
 add matrix
 
DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > & operator-= (const DenseMatrix &org)
 substract matrix
 
void print (std::ostream &s=std::cout) const
 print matrix
 
void init (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity)
 initialize the local matrix to entities
 
void bind (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity)
 initialize the local matrix to entities
 
void resort ()
 resort ordering in global matrix (if possible)
 
void finalize ()
 finalize local matrix setup and possibly add values to real matrix
 
const DomainSpaceTypedomainSpace () const
 access to the domain space
 
const RangeSpaceTyperangeSpace () const
 access to the range space
 
const DomainEntityTypedomainEntity () const
 
const RangeEntityTyperangeEntity () const
 
void multiplyAdd (const DomainLocalFunctionType &lhs, RangeLocalFunctionType &rhs) const
 multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs
 
void clearCol (const int localCol)
 ser column entries to zero
 
void add (const int localRow, const int localCol, const RangeFieldType &value)
 add value to matrix entry (row,col) where row and col are local row and local column
 
void set (const int localRow, const int localCol, const RangeFieldType &value)
 set value of matrix entry (row,col) where row and col are local row and local column
 
void scale (const RangeFieldType &scalar)
 scale matrix with scalar value
 
MatrixColumnType column (const unsigned int col)
 return column object for local matrix which contains axpy methods for convenience
 

Protected Member Functions

const Implementation & asImp () const
 
Implementation & asImp ()
 

Static Protected Member Functions

static const Implementation & asImp (const ThisType &other)
 
static Implementation & asImp (ThisType &other)
 
static const LocalMatrixTraits::LocalMatrixType & asImp (const ThisType &other)
 
static LocalMatrixTraits::LocalMatrixType & asImp (ThisType &other)
 

Protected Attributes

MatrixEntriesType fields_
 
const DomainSpaceTypedomainSpace_
 
const RangeSpaceTyperangeSpace_
 
DomainBasisFunctionSetType domainBaseSet_
 
RangeBasisFunctionSetType rangeBaseSet_
 
std::optional< DomainEntityTypedomainEntity_
 
std::optional< RangeEntityTyperangeEntity_
 

Detailed Description

template<class DomainSpaceImp, class RangeSpaceImp>
class Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >

A local matrix with a small array as storage.

A TemporaryLocalMatrix is an implementation of the LocalMatrixInterface storing the matrix values in an array. It is useful when generating multiple local matrices that shall then be added together.

Note
Due to the backing array, accesses to the matrix should be very fast.
Parameters
DomainSpaceImpDiscreteFunctionSpace modelling the domain
RangeSpaceImpDiscreteFunctionSpace modelling the range

Member Typedef Documentation

◆ const_row_reference

template<class DomainSpaceImp , class RangeSpaceImp >
typedef RowReferenceVector< const value_type > Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::const_row_reference

◆ DomainBasisFunctionSetType

typedef BaseType::DomainBasisFunctionSetType Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::DomainBasisFunctionSetType
inherited

◆ DomainEntityType

typedef BaseType::DomainEntityType Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::DomainEntityType
inherited

◆ DomainFieldType

template<class DomainSpaceImp , class RangeSpaceImp >
typedef Traits::DomainFieldType Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::DomainFieldType

◆ DomainSpaceType

template<class DomainSpaceImp , class RangeSpaceImp >
typedef DomainSpaceImp Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::DomainSpaceType

◆ LittleBlockType

template<class LocalMatrixTraits >
typedef Traits::LittleBlockType Dune::Fem::LocalMatrixInterface< LocalMatrixTraits >::LittleBlockType
inherited

type of block (i.e. FieldMatrix for BlockMatrices

◆ LocalMatrixInterfaceType

template<class LocalMatrixTraits >
typedef ThisType Dune::Fem::LocalMatrixInterface< LocalMatrixTraits >::LocalMatrixInterfaceType
inherited

type of this interface

◆ LocalMatrixType

template<class LocalMatrixTraits >
typedef Traits::LocalMatrixType Dune::Fem::LocalMatrixInterface< LocalMatrixTraits >::LocalMatrixType
inherited

type of local matrix implementation

◆ MatrixColumnType

template<class LocalMatrixTraits >
typedef MatrixColumnObject< Traits > Dune::Fem::LocalMatrixInterface< LocalMatrixTraits >::MatrixColumnType
inherited

◆ MatrixEntriesType

template<class DomainSpaceImp , class RangeSpaceImp >
typedef std::vector< RangeFieldType > Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::MatrixEntriesType

◆ RangeBasisFunctionSetType

typedef BaseType::RangeBasisFunctionSetType Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::RangeBasisFunctionSetType
inherited

◆ RangeEntityType

typedef BaseType::RangeEntityType Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::RangeEntityType
inherited

◆ RangeFieldType

template<class DomainSpaceImp , class RangeSpaceImp >
typedef Traits::RangeFieldType Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::RangeFieldType

◆ RangeSpaceType

template<class DomainSpaceImp , class RangeSpaceImp >
typedef RangeSpaceImp Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::RangeSpaceType

◆ row_reference

template<class DomainSpaceImp , class RangeSpaceImp >
typedef RowReferenceVector< value_type > Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::row_reference

◆ RowType

typedef std::vector< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::RowType
inherited

remember the value type

◆ size_type

template<class DomainSpaceImp , class RangeSpaceImp >
typedef int Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::size_type

◆ Traits

template<class DomainSpaceImp , class RangeSpaceImp >
typedef TemporaryLocalMatrixTraits< DomainSpaceType, RangeSpaceType > Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::Traits

◆ Ttype

typedef TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::Ttype
inherited

◆ value_type

template<class DomainSpaceImp , class RangeSpaceImp >
typedef RangeFieldType Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::value_type

Constructor & Destructor Documentation

◆ TemporaryLocalMatrix() [1/2]

template<class DomainSpaceImp , class RangeSpaceImp >
Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::TemporaryLocalMatrix ( const DomainSpaceType domainSpace,
const RangeSpaceType rangeSpace 
)
inline

◆ TemporaryLocalMatrix() [2/2]

template<class DomainSpaceImp , class RangeSpaceImp >
template<class DomainEntityType , class RangeEntityType >
Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::TemporaryLocalMatrix ( const DomainSpaceType domainSpace,
const RangeSpaceType rangeSpace,
const DomainEntityType domainEntity,
const RangeEntityType rangeEntity 
)
inline

Member Function Documentation

◆ add() [1/2]

template<class LocalMatrixTraits >
void Dune::Fem::LocalMatrixInterface< LocalMatrixTraits >::add ( const int  localRow,
const int  localCol,
const RangeFieldType value 
)
inlineinherited

add value to matrix entry (row,col) where row and col are local row and local column

Parameters
[in]localRowlocal row
[in]localCollocal column
[in]valuevalue to add

◆ add() [2/2]

template<class DomainSpaceImp , class RangeSpaceImp >
void Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::add ( const int  localRow,
const int  localCol,
const RangeFieldType value 
)
inline

add value to matrix entry (row,col) where row and col are local row and local column

Parameters
[in]localRowlocal row
[in]localCollocal column
[in]valuevalue to add

◆ asImp() [1/6]

template<class LocalMatrixTraits >
Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( )
inlineprotectedinherited

◆ asImp() [2/6]

template<class LocalMatrixTraits >
const Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ) const
inlineprotectedinherited

◆ asImp() [3/6]

static const LocalMatrixTraits::LocalMatrixType & Dune::Fem::BartonNackmanInterface< LocalMatrixInterface< LocalMatrixTraits > , LocalMatrixTraits::LocalMatrixType >::asImp ( const ThisType other)
inlinestaticprotectedinherited

◆ asImp() [4/6]

template<class LocalMatrixTraits >
static const Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( const ThisType other)
inlinestaticprotectedinherited

◆ asImp() [5/6]

static LocalMatrixTraits::LocalMatrixType & Dune::Fem::BartonNackmanInterface< LocalMatrixInterface< LocalMatrixTraits > , LocalMatrixTraits::LocalMatrixType >::asImp ( ThisType other)
inlinestaticprotectedinherited

◆ asImp() [6/6]

template<class LocalMatrixTraits >
static Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ThisType other)
inlinestaticprotectedinherited

◆ bind() [1/2]

void Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::bind ( const DomainEntityType domainEntity,
const RangeEntityType rangeEntity 
)
inlineinherited

initialize the local matrix to entities

Parameters
[in]domainEntityentity within grid of domain space,
[in]rangeEntityentity within grid of range space

◆ bind() [2/2]

template<class DomainSpaceImp , class RangeSpaceImp >
template<class DomainEntityType , class RangeEntityType >
void Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::bind ( const DomainEntityType domainEntity,
const RangeEntityType rangeEntity 
)
inline

initialize the local matrix to entities

Parameters
[in]domainEntityentity within grid of domain space,
[in]rangeEntityentity within grid of range space

◆ clear()

template<class DomainSpaceImp , class RangeSpaceImp >
void Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::clear ( )
inline

set all entries of local matrix to zero

◆ clearCol()

void Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::clearCol ( const int  localCol)
inlineinherited

ser column entries to zero

Parameters
[in]localCollocal column that is set to zero

◆ clearRow()

template<class DomainSpaceImp , class RangeSpaceImp >
void Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::clearRow ( const int  localRow)
inline

set row to zero values

Parameters
[in]localRowlocal row that is set to zero

◆ cols()

template<class DomainSpaceImp , class RangeSpaceImp >
size_type Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::cols ( ) const
inline

◆ column()

template<class LocalMatrixTraits >
MatrixColumnType Dune::Fem::LocalMatrixInterface< LocalMatrixTraits >::column ( const unsigned int  col)
inlineinherited

return column object for local matrix which contains axpy methods for convenience

Parameters
collocal column number
Returns
object of type MatrixColumnObject

◆ columns()

template<class DomainSpaceImp , class RangeSpaceImp >
size_type Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::columns ( ) const
inline

◆ data()

template<class DomainSpaceImp , class RangeSpaceImp >
const RangeFieldType * Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::data ( ) const
inline

◆ domainBasisFunctionSet()

template<class DomainSpaceImp , class RangeSpaceImp >
const DomainBasisFunctionSetType & Dune::Fem::LocalMatrixDefault< LocalMatrixTraits >::domainBasisFunctionSet ( ) const
inline

access to the base function set within the domain space

◆ domainEntity()

const DomainEntityType & Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::domainEntity ( ) const
inlineinherited

◆ domainSpace()

const DomainSpaceType & Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::domainSpace ( ) const
inlineinherited

access to the domain space

◆ finalize()

void Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::finalize ( )
inlineinherited

finalize local matrix setup and possibly add values to real matrix

◆ get()

template<class DomainSpaceImp , class RangeSpaceImp >
const RangeFieldType Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::get ( const int  localRow,
const int  localCol 
) const
inline

get value of matrix entry (row,col) where row and col are local row and local column

Parameters
[in]localRowlocal row
[in]localCollocal column
Returns
value of matrix entry

◆ init() [1/2]

void Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::init ( const DomainEntityType domainEntity,
const RangeEntityType rangeEntity 
)
inlineinherited

initialize the local matrix to entities

Parameters
[in]domainEntityentity within grid of domain space,
[in]rangeEntityentity within grid of range space

◆ init() [2/2]

template<class DomainSpaceImp , class RangeSpaceImp >
template<class DomainEntityType , class RangeEntityType >
void Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::init ( const DomainEntityType domainEntity,
const RangeEntityType rangeEntity 
)
inline

initialize the local matrix to entities

Parameters
[in]domainEntityentity within grid of domain space,
[in]rangeEntityentity within grid of range space

◆ mat_access() [1/2]

template<class DomainSpaceImp , class RangeSpaceImp >
row_reference Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::mat_access ( size_type  i)
inline

◆ mat_access() [2/2]

template<class DomainSpaceImp , class RangeSpaceImp >
const_row_reference Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::mat_access ( size_type  i) const
inline

◆ mat_cols()

template<class DomainSpaceImp , class RangeSpaceImp >
size_type Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::mat_cols ( ) const
inline

◆ mat_rows()

template<class DomainSpaceImp , class RangeSpaceImp >
size_type Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::mat_rows ( ) const
inline

◆ mult() [1/2]

void Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::mult ( const RowType vec,
RowType result 
) const
inlineinherited

◆ mult() [2/2]

void Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::mult ( const TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > *  vec,
RowType result 
) const
inlineinherited

◆ multiply()

void Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::multiply ( const DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > &  A,
const DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > &  B 
)
inlineinherited

◆ multiply_AT_A()

void Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::multiply_AT_A ( const DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > &  A)
inlineinherited

this = A^T * A

◆ multiplyAdd()

void Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::multiplyAdd ( const DomainLocalFunctionType &  lhs,
RangeLocalFunctionType &  rhs 
) const
inlineinherited

multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs

Parameters
[in]lhsleft hand side
[out]rhsright hand side

◆ multiplyTransposed()

void Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::multiplyTransposed ( const DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > &  A,
const DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > &  B 
)
inlineinherited

◆ multOEM()

void Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::multOEM ( const TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > *  vec,
TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > *  result 
) const
inlineinherited

◆ multTransposed()

void Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::multTransposed ( const RowType vec,
RowType result 
) const
inlineinherited

◆ operator()() [1/2]

TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > & Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::operator() ( int  row,
int  col 
)
inlineinherited

◆ operator()() [2/2]

const TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > & Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::operator() ( int  row,
int  col 
) const
inlineinherited

◆ operator+=()

DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > & Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::operator+= ( const DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > &  org)
inlineinherited

add matrix

◆ operator-=()

DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > & Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::operator-= ( const DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > > &  org)
inlineinherited

substract matrix

◆ operator[]() [1/2]

RowType & Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::operator[] ( int  row)
inlineinherited

◆ operator[]() [2/2]

const RowType & Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::operator[] ( int  row) const
inlineinherited

◆ print()

void Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::print ( std::ostream &  s = std::cout) const
inlineinherited

print matrix

◆ rangeBasisFunctionSet()

template<class DomainSpaceImp , class RangeSpaceImp >
const RangeBasisFunctionSetType & Dune::Fem::LocalMatrixDefault< LocalMatrixTraits >::rangeBasisFunctionSet ( ) const
inline

access to the base function set within the range space

◆ rangeEntity()

const RangeEntityType & Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::rangeEntity ( ) const
inlineinherited

◆ rangeSpace()

const RangeSpaceType & Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::rangeSpace ( ) const
inlineinherited

access to the range space

◆ resize()

void Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::resize ( int  rows,
int  cols 
)
inlineinherited

◆ resort()

void Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::resort ( )
inlineinherited

resort ordering in global matrix (if possible)

◆ rows()

template<class DomainSpaceImp , class RangeSpaceImp >
size_type Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::rows ( ) const
inline

◆ scale() [1/3]

template<class LocalMatrixTraits >
void Dune::Fem::LocalMatrixInterface< LocalMatrixTraits >::scale ( const RangeFieldType scalar)
inlineinherited

scale matrix with scalar value

Parameters
[in]scalarscalar value that scales the matrix

◆ scale() [2/3]

template<class DomainSpaceImp , class RangeSpaceImp >
void Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::scale ( const RangeFieldType value)
inline

scale matrix with scalar value

Parameters
[in]scalarscalar value that scales the matrix

◆ scale() [3/3]

void Dune::Fem::DenseMatrix< TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > >::scale ( const TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp > &  val)
inlineinherited

scale matrix with scalar

◆ set() [1/2]

template<class LocalMatrixTraits >
void Dune::Fem::LocalMatrixInterface< LocalMatrixTraits >::set ( const int  localRow,
const int  localCol,
const RangeFieldType value 
)
inlineinherited

set value of matrix entry (row,col) where row and col are local row and local column

Parameters
[in]localRowlocal row
[in]localCollocal column
[in]valuevalue to set

◆ set() [2/2]

template<class DomainSpaceImp , class RangeSpaceImp >
void Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::set ( const int  localRow,
const int  localCol,
const RangeFieldType value 
)
inline

set value of matrix entry (row,col) where row and col are local row and local column

Parameters
[in]localRowlocal row
[in]localCollocal column
[in]valuevalue to set

◆ unbind()

template<class DomainSpaceImp , class RangeSpaceImp >
void Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::unbind ( )
inline

clear local matrix from entities

Member Data Documentation

◆ domainBaseSet_

DomainBasisFunctionSetType Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::domainBaseSet_
protectedinherited

◆ domainEntity_

std::optional< DomainEntityType > Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::domainEntity_
protectedinherited

◆ domainSpace_

const DomainSpaceType& Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::domainSpace_
protectedinherited

◆ fields_

template<class DomainSpaceImp , class RangeSpaceImp >
MatrixEntriesType Dune::Fem::TemporaryLocalMatrix< DomainSpaceImp, RangeSpaceImp >::fields_
protected

◆ rangeBaseSet_

RangeBasisFunctionSetType Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::rangeBaseSet_
protectedinherited

◆ rangeEntity_

std::optional< RangeEntityType > Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::rangeEntity_
protectedinherited

◆ rangeSpace_

const RangeSpaceType& Dune::Fem::LocalMatrixDefault< TemporaryLocalMatrixTraits< DomainSpaceImp, RangeSpaceImp > >::rangeSpace_
protectedinherited

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