#include <vectorial.hh>
Public Member Functions | |
TMatrixOffset (const concepts::TMatrixBase< F > &T, int offsetRow, int offsetColumn) | |
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 |
virtual uint | index (unsigned int i) const |
Maps the local index i to the global index. | |
uint | m () const |
uint | n () const |
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 |
void | setM (uint m) |
virtual void | extract (const concepts::Vector<::std::complex< F > > &solution, concepts::Array<::std::complex< F > > &coeff) const =0 |
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 | offsetRow_ |
uint | offsetColumn_ |
const concepts::TMatrixBase< F > & | T_ |
uint | n_ |
Number of columns. | |
uint | m_ |
Number of rows. | |
Friends | |
class | TMatrix< F > |
T matrix with an offset. Used as a part of TMatrix
.
Definition at line 108 of file vectorial.hh.
|
inline |
Definition at line 111 of file vectorial.hh.
|
virtual |
Extracts the part of solution
belonging to this T matrix into coeff
.
coeff
is resized and zeroed before filling it with the coefficients.
solution | Vector in the global space (input) |
coeff | Local coefficients of this T matrix (output) |
Implements concepts::TMatrixBase< F >.
|
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 >.
|
inlinevirtual |
Maps the local index i to the global index.
Definition at line 129 of file vectorial.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
|
inline |
Definition at line 131 of file vectorial.hh.
|
inline |
Definition at line 133 of file vectorial.hh.
|
inlinevirtual |
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 >.
Definition at line 120 of file vectorial.hh.
|
inlinevirtual |
Definition at line 123 of file vectorial.hh.
|
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 135 of file vectorial.hh.
|
friend |
Definition at line 87 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.
|
protected |
Definition at line 143 of file vectorial.hh.
|
protected |
Definition at line 143 of file vectorial.hh.
|
protected |
Definition at line 144 of file vectorial.hh.