monolish  0.14.0
MONOlithic LIner equation Solvers for Highly-parallel architecture
Public Member Functions | Public Attributes | List of all members
monolish::solver::precondition< MATRIX, Float > Class Template Reference

precondition base class More...

#include <monolish_solver.hpp>

Collaboration diagram for monolish::solver::precondition< MATRIX, Float >:
Collaboration graph

Public Member Functions

std::function< void(void)> get_precond ()
 
vector< Float > get_precond_data ()
 
 precondition ()
 
void set_precond_data (vector< Float > &m)
 

Public Attributes

std::function< void(const vector< Float > &r, vector< Float > &z)> apply_precond
 
std::function< void(MATRIX &)> create_precond
 
vector< Float > M
 
MATRIX tmpA
 

Detailed Description

template<typename MATRIX, typename Float>
class monolish::solver::precondition< MATRIX, Float >

precondition base class

Definition at line 28 of file monolish_solver.hpp.

Constructor & Destructor Documentation

◆ precondition()

template<typename MATRIX , typename Float >
monolish::solver::precondition< MATRIX, Float >::precondition ( )
inline

Definition at line 199 of file monolish_solver.hpp.

Member Function Documentation

◆ get_precond()

template<typename MATRIX , typename Float >
std::function<void(void)> monolish::solver::precondition< MATRIX, Float >::get_precond ( )

◆ get_precond_data()

template<typename MATRIX , typename Float >
vector<Float> monolish::solver::precondition< MATRIX, Float >::get_precond_data ( )
inline

Definition at line 197 of file monolish_solver.hpp.

◆ set_precond_data()

template<typename MATRIX , typename Float >
void monolish::solver::precondition< MATRIX, Float >::set_precond_data ( vector< Float > &  m)
inline

Definition at line 196 of file monolish_solver.hpp.

Member Data Documentation

◆ apply_precond

template<typename MATRIX , typename Float >
std::function<void(const vector<Float> &r, vector<Float> &z)> monolish::solver::precondition< MATRIX, Float >::apply_precond

Definition at line 192 of file monolish_solver.hpp.

◆ create_precond

template<typename MATRIX , typename Float >
std::function<void(MATRIX &)> monolish::solver::precondition< MATRIX, Float >::create_precond

Definition at line 191 of file monolish_solver.hpp.

◆ M

template<typename MATRIX , typename Float >
vector<Float> monolish::solver::precondition< MATRIX, Float >::M

Definition at line 188 of file monolish_solver.hpp.

◆ tmpA

template<typename MATRIX , typename Float >
MATRIX monolish::solver::precondition< MATRIX, Float >::tmpA

Definition at line 189 of file monolish_solver.hpp.


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