Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
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 >:
Inheritance graph
[legend]
Collaboration diagram for concepts::SMatrixBlock< F, dim >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Attributes

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

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 271 of file smatrix.hh.


Constructor & Destructor Documentation

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

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

Returns information in an output stream.

Reimplemented from concepts::SMatrixBase< F >.

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

template<class F , int dim>
uint concepts::SMatrixBlock< F, dim >::size ( ) const [inline, virtual]

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

Implements concepts::SMatrixBase< F >.

Definition at line 282 of file smatrix.hh.


Member Data Documentation

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

First block.

Definition at line 287 of file smatrix.hh.

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

Second block.

Definition at line 289 of file smatrix.hh.

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

Third, optional block.

Definition at line 291 of file smatrix.hh.

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

Size of the matrices.

Definition at line 293 of file smatrix.hh.

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

Aggregate size of S matrix.

Definition at line 295 of file smatrix.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)