vectorial::TMatrixOffset< F > Class Template Referenceabstract
T matrix with an offset. More...
#include <vectorial.hh>
Public Member Functions | |
virtual void | extract (const concepts::Vector< F > &solution, concepts::Array< F > &coeff) const |
Extracts the part of solution belonging 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 void | extract (const concepts::Vector<::std::complex< F > > &solution, concepts::Array<::std::complex< F > > &coeff) const =0 |
virtual uint | index (const uint i) const =0 |
Maps the local index i to the global index. More... | |
virtual uint | index (unsigned int i) const |
Maps the local index i to the global index. More... | |
uint | m () const |
uint | n () const |
virtual void | operator() (const concepts::ElementMatrix< F > &A, concepts::ElementMatrix< F > &B) const |
Application operator. More... | |
virtual void | operator() (const concepts::ElementMatrix< std::complex< F > > &A, concepts::ElementMatrix< std::complex< F > > &B) const |
virtual void | operator() (const ElementMatrix<::std::complex< F > > &A, ElementMatrix<::std::complex< F > > &B) const =0 |
void | setM (uint m) |
TMatrixOffset (const concepts::TMatrixBase< F > &T, int offsetRow, int offsetColumn) | |
virtual void | usedIdx (concepts::TColumn< bool > &c) const |
Marks the used local indices in c with true , the local indices which are not set to false . More... | |
virtual | ~TMatrixOffset () |
Protected Member Functions | |
virtual ::std::ostream & | info (::std::ostream &os) const |
virtual std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
uint | m_ |
Number of rows. More... | |
uint | n_ |
Number of columns. More... | |
uint | offsetColumn_ |
uint | offsetRow_ |
const concepts::TMatrixBase< F > & | T_ |
Friends | |
class | TMatrix< F > |
Detailed Description
template<class F>
class vectorial::TMatrixOffset< F >
T matrix with an offset.
Used as a part of TMatrix
.
Definition at line 108 of file vectorial.hh.
Constructor & Destructor Documentation
◆ TMatrixOffset()
|
inline |
Definition at line 111 of file vectorial.hh.
◆ ~TMatrixOffset()
|
virtual |
Member Function Documentation
◆ extract() [1/3]
|
virtual |
Extracts the part of solution
belonging to this T matrix into coeff
.
coeff
is resized and zeroed before filling it with the coefficients.
- Parameters
-
solution Vector in the global space (input) coeff Local coefficients of this T matrix (output)
Implements concepts::TMatrixBase< F >.
◆ extract() [2/3]
|
virtual |
◆ extract() [3/3]
|
pure virtualinherited |
Implemented in concepts::TIndex< F >, and concepts::TIndex< concepts::Real >.
◆ index() [1/2]
|
pure virtualinherited |
Maps the local index i to the global index.
Implemented in concepts::TIndex< F >, and concepts::TIndex< concepts::Real >.
◆ index() [2/2]
|
inlinevirtual |
Maps the local index i to the global index.
Definition at line 129 of file vectorial.hh.
◆ info() [1/2]
|
protectedinherited |
◆ info() [2/2]
|
protectedvirtual |
◆ m()
|
inline |
Definition at line 131 of file vectorial.hh.
◆ n()
|
inline |
Definition at line 133 of file vectorial.hh.
◆ operator()() [1/3]
|
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
- Parameters
-
A Element matrix B Result
Implements concepts::TMatrixBase< F >.
Definition at line 120 of file vectorial.hh.
◆ operator()() [2/3]
|
inlinevirtual |
Definition at line 123 of file vectorial.hh.
◆ operator()() [3/3]
|
pure virtualinherited |
Implemented in concepts::TIndex< F >, and concepts::TIndex< concepts::Real >.
◆ setM()
|
inlineinherited |
Definition at line 390 of file tmatrix.hh.
◆ usedIdx()
|
inlinevirtual |
Marks the used local indices in c
with true
, the local indices which are not set to false
.
- Precondition
c
has the correct size
Implements concepts::TMatrixBase< F >.
Definition at line 135 of file vectorial.hh.
Friends And Related Function Documentation
◆ TMatrix< F >
|
friend |
Definition at line 87 of file vectorial.hh.
Member Data Documentation
◆ m_
|
protectedinherited |
Number of rows.
Definition at line 420 of file tmatrix.hh.
◆ n_
|
protectedinherited |
Number of columns.
Definition at line 418 of file tmatrix.hh.
◆ offsetColumn_
|
protected |
Definition at line 143 of file vectorial.hh.
◆ offsetRow_
|
protected |
Definition at line 143 of file vectorial.hh.
◆ T_
|
protected |
Definition at line 144 of file vectorial.hh.
The documentation for this class was generated from the following file:
- vectorial/vectorial.hh