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

S matrix for elements in dimensions 2 and 3 with tensorized shape functions, with arbitrary number of shape functions in each direction. More...

#include <smatrix.hh>

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

Public Member Functions

virtual void operator() (const TColumn< F > &src, TColumn< F > &dest) const
 Application operator. More...
 
virtual uint size () const
 Returns the size of the S matrix. More...
 
 SMatrixGeneralTensor (const SMatrixBase< F > &matrix, const uint *n, const uint position)
 Constructor. More...
 
 SMatrixGeneralTensor (const SMatrixBase< F > &matrix, const uint position)
 Constructor, where number of shapefunctions is in all directions equal and taken from matrix. More...
 

Protected Member Functions

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

Private Attributes

const SMatrixBase< Real > & matrix_
 
uint n_ [dim]
 
const uint position_
 

Detailed Description

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

S matrix for elements in dimensions 2 and 3 with tensorized shape functions, with arbitrary number of shape functions in each direction.

The S matrix has a tenzorised structur, too. This is for subdivisions of the type shown in the following figure in 2D.
Subdivisions in 2D

Author
Kersten Schmidt, 2004.

Definition at line 229 of file smatrix.hh.

Constructor & Destructor Documentation

◆ SMatrixGeneralTensor() [1/2]

template<class F , int dim>
concepts::SMatrixGeneralTensor< F, dim >::SMatrixGeneralTensor ( const SMatrixBase< F > &  matrix,
const uint *  n,
const uint  position 
)

Constructor.

Parameters
matrixThe 1D S matrix
nAn array of size (dim) with the number of shapefunction in each direction
positionPosition of matrix in the tensor product (1 ... dim)

◆ SMatrixGeneralTensor() [2/2]

template<class F , int dim>
concepts::SMatrixGeneralTensor< F, dim >::SMatrixGeneralTensor ( const SMatrixBase< F > &  matrix,
const uint  position 
)

Constructor, where number of shapefunctions is in all directions equal and taken from matrix.

Parameters
matrixThe 1D S matrix
positionPosition of matrix in the tensor product (1 ... dim)

Member Function Documentation

◆ info()

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

Reimplemented from concepts::SMatrixBase< F >.

◆ operator()()

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

Application operator.

Implements concepts::SMatrixBase< F >.

◆ size()

template<class F , int dim>
virtual uint concepts::SMatrixGeneralTensor< F, dim >::size ( ) const
virtual

Returns the size of the S matrix.

Implements concepts::SMatrixBase< F >.

Member Data Documentation

◆ matrix_

template<class F , int dim>
const SMatrixBase<Real>& concepts::SMatrixGeneralTensor< F, dim >::matrix_
private

Definition at line 252 of file smatrix.hh.

◆ n_

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

Definition at line 253 of file smatrix.hh.

◆ position_

template<class F , int dim>
const uint concepts::SMatrixGeneralTensor< F, dim >::position_
private

Definition at line 254 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