#include <vectorial.hh>
Public Member Functions | |
TMatrix (uint vdim, uint arrayWidth=0) | |
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) |
virtual uint | index (unsigned int i) const |
Maps the local index i to the global index. | |
virtual void | usedIdx (concepts::TColumn< bool > &c) const |
virtual void | extract (const concepts::Vector< F > &solution, concepts::Array< F > &coeff) const |
virtual void | extract (const concepts::Vector< std::complex< F > > &solution, concepts::Array< std::complex< F > > &coeff) const |
virtual void | operator() (const ElementMatrix<::std::complex< F > > &A, ElementMatrix<::std::complex< F > > &B) const =0 |
virtual uint | index (const uint i) const =0 |
uint | m () const |
Returns the number of rows. | |
void | setM (uint m) |
uint | n () const |
Returns the number of columns. | |
virtual void | extract (const concepts::Vector<::std::complex< F > > &solution, concepts::Array<::std::complex< F > > &coeff) const =0 |
virtual void | insert (TMatrixOffset< F > &vdata, const int a=0, const int b=0) |
Add a component. | |
virtual const TMatrixOffset< F > * | get (const int a, const int b=0) const |
Get a component. | |
uint | vdim () const |
Returns number of components. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
virtual ::std::ostream & | info (::std::ostream &os) const |
Protected Attributes | |
uint | n_ |
Number of columns. | |
uint | m_ |
Number of rows. | |
uint | vdim_ |
Number of components. | |
uint | idx_ |
Index of the last added component. | |
concepts::Array< TMatrixOffset< F > * > | vdata_ |
Storage. | |
Vector valued T matrix
Definition at line 153 of file vectorial.hh.
|
inline |
Definition at line 156 of file vectorial.hh.
|
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
.
solution | Solution vector |
coeff | Extracted coefficients in local numbering |
Implements concepts::TMatrixBase< F >.
|
inlinevirtualinherited |
Get a component.
Definition at line 74 of file vectorial.hh.
|
pure virtualinherited |
Maps the local index i to the global index
Implemented in concepts::TIndex< F >, concepts::TIndex< concepts::Real >, concepts::TMatrix< F >, concepts::TMatrix< Real >, and concepts::TMatrix< typename BaseT::FieldT >.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
|
virtualinherited |
Add a component.
Definition at line 72 of file vectorial.hh.
|
inlineinherited |
Returns the number of rows.
Definition at line 388 of file tmatrix.hh.
|
inlineinherited |
Returns the number of columns.
Definition at line 393 of file tmatrix.hh.
|
virtual |
Application operator.
Computes the application of the T matrix on A and returns B: . Typical usage: assembling the element matrices. The element matrix A is transformed using
and then simply added entry by entry into the global matrix. This is the case for element matrices which have the same "left" and "right" T matrix. Otherwise, this looks like
A | Element matrix |
B | Result |
Implements concepts::TMatrixBase< 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
dim | Number of global degrees of freedom (size of the subspace) |
|
inlineinherited |
Definition at line 390 of file tmatrix.hh.
|
inlinevirtual |
Marks the used local indices in c
with true
, the local indices which are not set to false
.
c
has the correct size Implements concepts::TMatrixBase< F >.
Definition at line 180 of file vectorial.hh.
|
inlineinherited |
Returns number of components.
Definition at line 77 of file vectorial.hh.
|
protectedinherited |
Index of the last added component.
Definition at line 82 of file vectorial.hh.
|
protectedinherited |
Number of rows.
Definition at line 420 of file tmatrix.hh.
|
protectedinherited |
Number of columns.
Definition at line 418 of file tmatrix.hh.
|
mutableprotectedinherited |
Storage.
Definition at line 84 of file vectorial.hh.
|
protectedinherited |
Number of components.
Definition at line 80 of file vectorial.hh.