Rheolef  7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
dia< T, M >

Detailed Description

template<class T, class M = rheo_default_memory_model>
class rheolef::dia< T, M >

Definition at line 74 of file dia.h.

Inheritance diagram for dia< T, M >:

Public Types

typedef vec< T, M >::size_type size_type
typedef vec< T, M >::iterator iterator
typedef vec< T, M >::const_iterator const_iterator
Public Types inherited from vec< T, rheo_default_memory_model >
typedef disarray< T, rheo_default_memory_modelbase
typedef T value_type
typedef base::size_type size_type
typedef std::ptrdiff_t difference_type
typedef range range_type
typedef base::reference reference
typedef base::const_reference const_reference
typedef base::iterator iterator
typedef base::const_iterator const_iterator
typedef float_traits< value_type >::type float_type
Public Types inherited from disarray< T, rheo_default_memory_model >
typedef rheo_default_memory_model memory_type
typedef disarray_rep< T, sequential, std::allocator< T > > rep
typedef rep::base::size_type size_type
typedef rep::base::iterator iterator
typedef rep::base::const_iterator const_iterator

Public Member Functions

 dia (const distributor &ownership=distributor(), const T &init_val=std::numeric_limits< T >::max())
 dia (const vec< T, M > &u)
 dia (const csr< T, M > &a)
dia< T, M > & operator= (const T &lambda)
vec< T, Msolve (const vec< T, M > &b) const
vec< T, Mtrans_solve (const vec< T, M > &b) const
Public Member Functions inherited from vec< T, rheo_default_memory_model >
 vec (const vec< T, rheo_default_memory_model > &)
vec< T, rheo_default_memory_model > & operator= (const vec< T, rheo_default_memory_model > &x)
void resize (const distributor &ownership, const T &init_val=std::numeric_limits< T >::max())
const_reference operator[] (size_type i) const
T min () const
T max () const
T max_abs () const
int constraint_process_rank () const

Member Typedef Documentation

◆ size_type

template<class T, class M = rheo_default_memory_model>
typedef vec<T,M>::size_type size_type

Definition at line 79 of file dia.h.

◆ iterator

template<class T, class M = rheo_default_memory_model>
typedef vec<T,M>::iterator iterator

Definition at line 80 of file dia.h.

◆ const_iterator

template<class T, class M = rheo_default_memory_model>
typedef vec<T,M>::const_iterator const_iterator

Definition at line 81 of file dia.h.

Constructor & Destructor Documentation

◆ dia() [1/3]

template<class T, class M>
dia ( const distributor & ownership = distributor(),
const T & init_val = std::numeric_limits<T>::max() )
explicit

Definition at line 108 of file dia.h.

◆ dia() [2/3]

template<class T, class M>
dia ( const vec< T, M > & u)
explicit

Definition at line 114 of file dia.h.

◆ dia() [3/3]

template<class T, class M>
dia ( const csr< T, M > & a)
explicit

Definition at line 120 of file dia.h.

Member Function Documentation

◆ operator=()

template<class T, class M>
dia< T, M > & operator= ( const T & lambda)

Definition at line 137 of file dia.h.

◆ solve()

template<class T, class M>
vec< T, M > solve ( const vec< T, M > & b) const

Definition at line 159 of file dia.h.

◆ trans_solve()

template<class T, class M>
vec< T, M > trans_solve ( const vec< T, M > & b) const

Definition at line 166 of file dia.h.


The documentation for this class was generated from the following file:
  • /build/rheolef-L67pNR/rheolef-7.2/linalg/lib/dia.h