dune-fem 2.8.0
|
convert a FieldVector with length n * m to a FieldMatrix with n rows and m cols More...
#include <dune/fem/misc/fmatrixconverter.hh>
Public Types | |
enum | { rows = n , cols = m , dimension = n * m } |
typedef FieldVector< K, n *m > | InteralVectorType |
internal storage of matrix | |
typedef Base::row_type | row_type |
type of class return upon operator [] which behaves like a reference | |
typedef Base::row_reference | row_reference |
typedef Base::const_row_reference | const_row_reference |
typedef K | field_type |
export the type representing the field | |
typedef K | block_type |
export the type representing the components | |
typedef std::size_t | size_type |
The type used for the index access and size operations. | |
Public Member Functions | |
FieldMatrixConverter (InteralVectorType &v) | |
FieldMatrixConverter (const InteralVectorType &v) | |
FieldMatrixConverter (const FieldMatrixConverter &other) | |
FieldMatrixConverter & | operator= (const FieldMatrixConverter &other) |
FieldMatrixConverter & | operator= (const FieldMatrix< K, n, m > &matrix) |
FieldMatrixConverter & | operator+= (const FieldMatrix< K, n, m > &matrix) |
size_type | mat_rows () const |
size_type | mat_cols () const |
row_reference | mat_access (size_type i) |
const_row_reference | mat_access (size_type i) const |
Protected Attributes | |
InteralVectorType * | vec_ |
bool | mutableVec_ |
convert a FieldVector with length n * m to a FieldMatrix with n rows and m cols
typedef K Dune::Fem::FieldMatrixConverter< FieldVector< K, n *m >, FieldMatrix< K, n, m > >::block_type |
export the type representing the components
typedef Base::const_row_reference Dune::Fem::FieldMatrixConverter< FieldVector< K, n *m >, FieldMatrix< K, n, m > >::const_row_reference |
typedef K Dune::Fem::FieldMatrixConverter< FieldVector< K, n *m >, FieldMatrix< K, n, m > >::field_type |
export the type representing the field
typedef FieldVector< K, n *m > Dune::Fem::FieldMatrixConverter< FieldVector< K, n *m >, FieldMatrix< K, n, m > >::InteralVectorType |
internal storage of matrix
typedef Base::row_reference Dune::Fem::FieldMatrixConverter< FieldVector< K, n *m >, FieldMatrix< K, n, m > >::row_reference |
typedef Base::row_type Dune::Fem::FieldMatrixConverter< FieldVector< K, n *m >, FieldMatrix< K, n, m > >::row_type |
type of class return upon operator [] which behaves like a reference
typedef std::size_t Dune::Fem::FieldMatrixConverter< FieldVector< K, n *m >, FieldMatrix< K, n, m > >::size_type |
The type used for the index access and size operations.
anonymous enum |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |