concepts::SMatrixBlock< F, dim > Class Template Reference

S matrix in block form for tensorised shape functions. More...

#include <smatrix.hh>

Inheritance diagram for concepts::SMatrixBlock< F, dim >:
concepts::SMatrixBase< F >

Public Member Functions

virtual void operator() (const TColumn< F > &src, TColumn< F > &dest) const
 Application operator. More...
 
uint size () const
 Returns the size of the S matrix (number of rows or columns) More...
 
 SMatrixBlock (const SMatrixBase< F > &A, const SMatrixBase< F > &B, const SMatrixBase< F > *C=0)
 Constructor. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

const SMatrixBase< F > & A_
 First block. More...
 
const SMatrixBase< F > & B_
 Second block. More...
 
const SMatrixBase< F > * C_
 Third, optional block. More...
 
uint * n_
 Size of the matrices. More...
 
uint size_
 Aggregate size of S matrix. More...
 

Detailed Description

template<class F, int dim>
class concepts::SMatrixBlock< F, dim >

S matrix in block form for tensorised shape functions.

This is used for vector valued functions in hp2Dedge and hp3Dedge. It is assumed that this S matrix is applied to T columns which also have block structure, an appropiate T column is TColumnblock.

The number of blocks is equal to the dimension of elements /c dim. Each block represents one vector component.

See also
SMatrixTensor
Author
Kersten Schmidt, 2004.

Definition at line 274 of file smatrix.hh.

Constructor & Destructor Documentation

◆ SMatrixBlock()

template<class F , int dim>
concepts::SMatrixBlock< F, dim >::SMatrixBlock ( const SMatrixBase< F > &  A,
const SMatrixBase< F > &  B,
const SMatrixBase< F > *  C = 0 
)

Constructor.

Blocks the two S matrices.

Parameters
AFirst block
BSecond block
CThird block, optional

Member Function Documentation

◆ info()

template<class F , int dim>
virtual std::ostream& concepts::SMatrixBlock< F, dim >::info ( std::ostream &  os) const
protectedvirtual

Reimplemented from concepts::SMatrixBase< F >.

◆ operator()()

template<class F , int dim>
virtual void concepts::SMatrixBlock< F, dim >::operator() ( const TColumn< F > &  src,
TColumn< F > &  dest 
) const
virtual

Application operator.

Implements concepts::SMatrixBase< F >.

◆ size()

template<class F , int dim>
uint concepts::SMatrixBlock< F, dim >::size ( ) const
inlinevirtual

Returns the size of the S matrix (number of rows or columns)

Implements concepts::SMatrixBase< F >.

Definition at line 285 of file smatrix.hh.

Member Data Documentation

◆ A_

template<class F , int dim>
const SMatrixBase<F>& concepts::SMatrixBlock< F, dim >::A_
private

First block.

Definition at line 290 of file smatrix.hh.

◆ B_

template<class F , int dim>
const SMatrixBase<F>& concepts::SMatrixBlock< F, dim >::B_
private

Second block.

Definition at line 292 of file smatrix.hh.

◆ C_

template<class F , int dim>
const SMatrixBase<F>* concepts::SMatrixBlock< F, dim >::C_
private

Third, optional block.

Definition at line 294 of file smatrix.hh.

◆ n_

template<class F , int dim>
uint* concepts::SMatrixBlock< F, dim >::n_
private

Size of the matrices.

Definition at line 296 of file smatrix.hh.

◆ size_

template<class F , int dim>
uint concepts::SMatrixBlock< F, dim >::size_
private

Aggregate size of S matrix.

Definition at line 298 of file smatrix.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich