LifeV
|
#include <MatrixElemental.hpp>
Public Types | |
typedef KNM< Real > | matrix_type |
typedef KNM_< Real > | matrix_view |
Public Member Functions | |
~MatrixElemental () | |
MatrixElemental (UInt nNode1, UInt nbr1, UInt nbc1) | |
MatrixElemental (UInt nNode1, UInt nbr1, UInt nbc1, UInt nNode2, UInt nbr2, UInt nbc2) | |
This is the constructor for the local matrix involving 2 finite elements. More... | |
MatrixElemental (UInt nNode1, UInt nbr1, UInt nbc1, UInt nNode2, UInt nbr2, UInt nbc2, UInt nNode3, UInt nbr3, UInt nbc3) | |
matrix_type & | mat () |
UInt | nBlockRow () const |
UInt | nBlockCol () const |
matrix_view | block (UInt i, UInt j) |
void | zero () |
void | showMe (std::ostream &c=std::cout) |
void | operator*= (Real coef) |
Private Attributes | |
matrix_type | _mat |
UInt | _nBlockRow |
UInt | _nBlockCol |
std::vector< UInt > | _nRow |
std::vector< UInt > | _firstRow |
std::vector< UInt > | _nCol |
std::vector< UInt > | _firstCol |
Definition at line 44 of file MatrixElemental.hpp.
typedef KNM<Real> matrix_type |
Definition at line 48 of file MatrixElemental.hpp.
typedef KNM_<Real> matrix_view |
Definition at line 49 of file MatrixElemental.hpp.
~MatrixElemental | ( | ) |
Definition at line 40 of file MatrixElemental.cpp.
MatrixElemental | ( | UInt | nNode1, |
UInt | nbr1, | ||
UInt | nbc1 | ||
) |
This is the constructor for the local matrix involving 2 finite elements.
There are 6 arguments for this constructor. The arguements nbNode1 and nbNode2 are simply the number of basis function for each finite element.
The 4 others are used to describe the number of blocks on want in the matrix.
Warning: all the blocks do not have the same size!
Indeed, nbr1 describes the number of blocks that have a "height" of nbNode1, nbr2 the number of blocks that have a "height" of nbNode2, and the same with the columns for nbc1 and nbc2 (Think about it as a "local Stokes matrix": nbr1 and nbc1 are 3 (components for the velocity), nbr2 and nbc2 are 1 (pressure is scalar)).
Definition at line 73 of file MatrixElemental.cpp.
|
inline |
Definition at line 75 of file MatrixElemental.hpp.
|
inline |
Definition at line 79 of file MatrixElemental.hpp.
|
inline |
Definition at line 83 of file MatrixElemental.hpp.
|
inline |
Definition at line 89 of file MatrixElemental.hpp.
|
inline |
void showMe | ( | std::ostream & | c = std::cout | ) |
Definition at line 172 of file MatrixElemental.cpp.
|
inline |
Definition at line 103 of file MatrixElemental.hpp.
|
private |
Definition at line 109 of file MatrixElemental.hpp.
|
private |
Definition at line 111 of file MatrixElemental.hpp.
|
private |
Definition at line 112 of file MatrixElemental.hpp.
|
private |
Definition at line 113 of file MatrixElemental.hpp.
|
private |
Definition at line 114 of file MatrixElemental.hpp.
|
private |
Definition at line 115 of file MatrixElemental.hpp.
|
private |
Definition at line 116 of file MatrixElemental.hpp.