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

Detailed Description

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

Definition at line 264 of file solver.h.

+ Inheritance diagram for solver_basic< T, M >:

Public Types

typedef solver_abstract_rep< T, Mrep
 
typedef smart_pointer_clone< repbase
 
typedef rep::size_type size_type
 
typedef rep::determinant_type determinant_type
 
- Public Types inherited from smart_pointer_clone< T >
typedef T handled_type
 
typedef base::internal internal
 

Public Member Functions

 solver_basic ()
 
 solver_basic (const csr< T, M > &a, const solver_option &opt=solver_option())
 
void update_values (const csr< T, M > &a)
 
vec< T, Mtrans_solve (const vec< T, M > &b) const
 
vec< T, Msolve (const vec< T, M > &b) const
 
determinant_type det () const
 
const solver_optionoption () const
 
void set_preconditioner (const solver_basic< T, M > &)
 
bool initialized () const
 
std::string name () const
 
- Public Member Functions inherited from smart_pointer_clone< T >
 smart_pointer_clone (T *p=0)
 
 smart_pointer_clone (void *count, internal i)
 
 smart_pointer_clone (const smart_pointer_clone< T > &x)
 
smart_pointer_clone< T > & operator= (const smart_pointer_clone< T > &x)
 
 ~smart_pointer_clone ()
 
- Public Member Functions inherited from smart_pointer_base< T, details::clone_copy< T > >
 smart_pointer_base (T *p=0)
 
 smart_pointer_base (const smart_pointer_base< T, details::clone_copy< T > > &)
 
 smart_pointer_base (void *count, internal)
 
smart_pointer_base< T, details::clone_copy< T > > & operator= (const smart_pointer_base< T, details::clone_copy< T > > &)
 
 ~smart_pointer_base ()
 
const Tpointer () const
 
Tpointer ()
 
const Tdata () const
 
Tdata ()
 
const Toperator-> () const
 
Toperator-> ()
 
const Toperator* () const
 
Toperator* ()
 
int reference_counter () const
 
counter * get_count () const
 

Member Typedef Documentation

◆ rep

template<class T , class M = rheo_default_memory_model>
typedef solver_abstract_rep<T,M> rep

Definition at line 268 of file solver.h.

◆ base

template<class T , class M = rheo_default_memory_model>
typedef smart_pointer_clone<rep> base

Definition at line 269 of file solver.h.

◆ size_type

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

Definition at line 270 of file solver.h.

◆ determinant_type

template<class T , class M = rheo_default_memory_model>
typedef rep::determinant_type determinant_type

Definition at line 271 of file solver.h.

Constructor & Destructor Documentation

◆ solver_basic() [1/2]

template<class T , class M >
solver_basic ( )

Definition at line 300 of file solver.h.

◆ solver_basic() [2/2]

template<class T , class M >
solver_basic ( const csr< T, M > &  a,
const solver_option opt = solver_option() 
)
explicit

Definition at line 306 of file solver.h.

Member Function Documentation

◆ update_values()

template<class T , class M >
void update_values ( const csr< T, M > &  a)

Definition at line 313 of file solver.h.

◆ trans_solve()

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

Definition at line 352 of file solver.h.

◆ solve()

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

Definition at line 345 of file solver.h.

◆ det()

template<class T , class M >
solver_basic< T, M >::determinant_type det ( ) const

Definition at line 338 of file solver.h.

◆ option()

template<class T , class M >
const solver_option & option ( ) const

Definition at line 324 of file solver.h.

◆ set_preconditioner()

template<class T , class M >
void set_preconditioner ( const solver_basic< T, M > &  sa)

Definition at line 331 of file solver.h.

◆ initialized()

template<class T , class M >
bool initialized ( ) const

Definition at line 359 of file solver.h.

◆ name()

template<class T , class M >
std::string name ( ) const

Definition at line 366 of file solver.h.


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