dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::Fem::FlatFieldMatrix< K, n, m > Class Template Reference

#include <dune/fem/misc/fmatrixconverter.hh>

Inheritance diagram for Dune::Fem::FlatFieldMatrix< K, n, m >:
Inheritance graph

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

 FlatFieldMatrix ()
 
 FlatFieldMatrix (const K &val)
 
 FlatFieldMatrix (const FlatFieldMatrix &other)
 
 FlatFieldMatrix (const FieldMatrix< K, n, m > &other)
 
FlatFieldMatrixoperator= (const FlatFieldMatrix &other)
 
FlatFieldMatrixoperator= (const K &val)
 
FlatFieldMatrixoperator= (const FieldMatrix< K, n, m > &other)
 
FlatFieldMatrixoperator+= (const FieldMatrix< K, n, m > &other)
 
void assign (const FieldMatrix< K, n, m > &other)
 
K * data ()
 
const K * data () const
 
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 data_
 

Member Typedef Documentation

◆ block_type

template<typename K , int n, int m>
typedef K Dune::Fem::FlatFieldMatrix< K, n, m >::block_type

export the type representing the components

◆ const_row_reference

template<typename K , int n, int m>
typedef Base::const_row_reference Dune::Fem::FlatFieldMatrix< K, n, m >::const_row_reference

◆ field_type

template<typename K , int n, int m>
typedef K Dune::Fem::FlatFieldMatrix< K, n, m >::field_type

export the type representing the field

◆ InteralVectorType

template<typename K , int n, int m>
typedef FieldVector< K, n * m > Dune::Fem::FlatFieldMatrix< K, n, m >::InteralVectorType

internal storage of matrix

◆ row_reference

template<typename K , int n, int m>
typedef Base::row_reference Dune::Fem::FlatFieldMatrix< K, n, m >::row_reference

◆ row_type

template<typename K , int n, int m>
typedef Base::row_type Dune::Fem::FlatFieldMatrix< K, n, m >::row_type

type of class return upon operator [] which behaves like a reference

◆ size_type

template<typename K , int n, int m>
typedef std::size_t Dune::Fem::FlatFieldMatrix< K, n, m >::size_type

The type used for the index access and size operations.

Member Enumeration Documentation

◆ anonymous enum

template<typename K , int n, int m>
anonymous enum
Enumerator
rows 

The number of rows.

cols 

The number of columns.

dimension 

The total dimension.

Constructor & Destructor Documentation

◆ FlatFieldMatrix() [1/4]

template<typename K , int n, int m>
Dune::Fem::FlatFieldMatrix< K, n, m >::FlatFieldMatrix ( )
inline

◆ FlatFieldMatrix() [2/4]

template<typename K , int n, int m>
Dune::Fem::FlatFieldMatrix< K, n, m >::FlatFieldMatrix ( const K &  val)
inline

◆ FlatFieldMatrix() [3/4]

template<typename K , int n, int m>
Dune::Fem::FlatFieldMatrix< K, n, m >::FlatFieldMatrix ( const FlatFieldMatrix< K, n, m > &  other)
inline

◆ FlatFieldMatrix() [4/4]

template<typename K , int n, int m>
Dune::Fem::FlatFieldMatrix< K, n, m >::FlatFieldMatrix ( const FieldMatrix< K, n, m > &  other)
inline

Member Function Documentation

◆ assign()

template<typename K , int n, int m>
void Dune::Fem::FlatFieldMatrix< K, n, m >::assign ( const FieldMatrix< K, n, m > &  other)
inline

◆ data() [1/2]

template<typename K , int n, int m>
K * Dune::Fem::FlatFieldMatrix< K, n, m >::data ( )
inline

◆ data() [2/2]

template<typename K , int n, int m>
const K * Dune::Fem::FlatFieldMatrix< K, n, m >::data ( ) const
inline

◆ mat_access() [1/2]

template<typename K , int n, int m>
row_reference Dune::Fem::FlatFieldMatrix< K, n, m >::mat_access ( size_type  i)
inline

◆ mat_access() [2/2]

template<typename K , int n, int m>
const_row_reference Dune::Fem::FlatFieldMatrix< K, n, m >::mat_access ( size_type  i) const
inline

◆ mat_cols()

template<typename K , int n, int m>
size_type Dune::Fem::FlatFieldMatrix< K, n, m >::mat_cols ( ) const
inline

◆ mat_rows()

template<typename K , int n, int m>
size_type Dune::Fem::FlatFieldMatrix< K, n, m >::mat_rows ( ) const
inline

◆ operator+=()

template<typename K , int n, int m>
FlatFieldMatrix & Dune::Fem::FlatFieldMatrix< K, n, m >::operator+= ( const FieldMatrix< K, n, m > &  other)
inline

◆ operator=() [1/3]

template<typename K , int n, int m>
FlatFieldMatrix & Dune::Fem::FlatFieldMatrix< K, n, m >::operator= ( const FieldMatrix< K, n, m > &  other)
inline

◆ operator=() [2/3]

template<typename K , int n, int m>
FlatFieldMatrix & Dune::Fem::FlatFieldMatrix< K, n, m >::operator= ( const FlatFieldMatrix< K, n, m > &  other)
inline

◆ operator=() [3/3]

template<typename K , int n, int m>
FlatFieldMatrix & Dune::Fem::FlatFieldMatrix< K, n, m >::operator= ( const K &  val)
inline

Member Data Documentation

◆ data_

template<typename K , int n, int m>
InteralVectorType Dune::Fem::FlatFieldMatrix< K, n, m >::data_
protected

The documentation for this class was generated from the following file: