vectorial::TMatrix< F > Class Template Reference

Vector valued T matrix. More...

#include <vectorial.hh>

Public Member Functions

virtual void extract (const concepts::Vector< F > &solution, concepts::Array< F > &coeff) const
 Extracts a part of solution according to this T matrix into coeff. More...
 
virtual void extract (const concepts::Vector< std::complex< F > > &solution, concepts::Array< std::complex< F > > &coeff) const
 
virtual uint index (unsigned int i) const
 Maps the local index i to the global index. More...
 
virtual void operator() (const concepts::ElementMatrix< F > &A, concepts::ElementMatrix< F > &B) const
 
virtual void operator() (const concepts::ElementMatrix< std::complex< F > > &A, concepts::ElementMatrix< std::complex< F > > &B) const
 
void put (const concepts::TMatrixBase< F > &T, const int dim)
 Insert a T-Matrix T (of type TMatrixOffset) of one vectorial dimension to the v-dimensionial T-Matrix. More...
 
 TMatrix (uint vdim, uint arrayWidth=0)
 
virtual void usedIdx (concepts::TColumn< bool > &c) const
 
virtual ~TMatrix ()
 

Protected Member Functions

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

Private Attributes

uint offsetColumn_
 
uint offsetRow_
 

Detailed Description

template<class F>
class vectorial::TMatrix< F >

Vector valued T matrix.

Author
Kersten Schmidt, 2002

Definition at line 102 of file vectorial.hh.

Constructor & Destructor Documentation

◆ TMatrix()

template<class F >
vectorial::TMatrix< F >::TMatrix ( uint  vdim,
uint  arrayWidth = 0 
)
inline

Definition at line 156 of file vectorial.hh.

◆ ~TMatrix()

template<class F >
virtual vectorial::TMatrix< F >::~TMatrix ( )
virtual

Member Function Documentation

◆ extract() [1/2]

template<class F >
virtual void vectorial::TMatrix< F >::extract ( const concepts::Vector< F > &  solution,
concepts::Array< F > &  coeff 
) const
virtual

Extracts a part of solution according to this T matrix into coeff.

The data in coeff are scalar: depending on the chosen component in Graphics, this routine extracts the right part from solution.

Parameters
solutionSolution vector
coeffExtracted coefficients in local numbering

◆ extract() [2/2]

template<class F >
virtual void vectorial::TMatrix< F >::extract ( const concepts::Vector< std::complex< F > > &  solution,
concepts::Array< std::complex< F > > &  coeff 
) const
virtual

◆ index()

template<class F >
virtual uint vectorial::TMatrix< F >::index ( unsigned int  i) const
virtual

Maps the local index i to the global index.

◆ info()

template<class F >
virtual std::ostream& vectorial::TMatrix< F >::info ( std::ostream &  os) const
protectedvirtual

◆ operator()() [1/2]

template<class F >
virtual void vectorial::TMatrix< F >::operator() ( const concepts::ElementMatrix< F > &  A,
concepts::ElementMatrix< F > &  B 
) const
virtual

◆ operator()() [2/2]

template<class F >
virtual void vectorial::TMatrix< F >::operator() ( const concepts::ElementMatrix< std::complex< F > > &  A,
concepts::ElementMatrix< std::complex< F > > &  B 
) const
virtual

◆ put()

template<class F >
void vectorial::TMatrix< F >::put ( const concepts::TMatrixBase< F > &  T,
const int  dim 
)

Insert a T-Matrix T (of type TMatrixOffset) of one vectorial dimension to the v-dimensionial T-Matrix.

Parameters
dimNumber of global degrees of freedom (size of the subspace)

◆ usedIdx()

template<class F >
virtual void vectorial::TMatrix< F >::usedIdx ( concepts::TColumn< bool > &  c) const
inlinevirtual

Definition at line 180 of file vectorial.hh.

Member Data Documentation

◆ offsetColumn_

template<class F >
uint vectorial::TMatrix< F >::offsetColumn_
private

Definition at line 195 of file vectorial.hh.

◆ offsetRow_

template<class F >
uint vectorial::TMatrix< F >::offsetRow_
private

Definition at line 195 of file vectorial.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