gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
linearSystemGmm< scalar > Class Template Reference

#include <linearSystemGmm.h>

Inheritance diagram for linearSystemGmm< scalar >:
Collaboration diagram for linearSystemGmm< scalar >:

Public Member Functions

 linearSystemGmm (const std::string &method="gmres", double tol=1e-8, int noisy=0)
 
virtual bool isAllocated () const
 
virtual void allocate (int nbRows)
 
virtual void addToMatrix (int row, int col, const scalar &val)
 
virtual void getFromMatrix (int row, int col, scalar &val) const
 
virtual void addToRightHandSide (int row, const scalar &val, int ith=0)
 
virtual void getFromRightHandSide (int row, scalar &val) const
 
virtual void addToSolution (int row, const scalar &val)
 
virtual void getFromSolution (int row, scalar &val) const
 
virtual void zeroMatrix ()
 
virtual void zeroRightHandSide ()
 
virtual void zeroSolution ()
 
virtual int systemSolve ()
 
virtual double normInfRightHandSide () const
 
void setPrec (double p)
 
virtual void clear ()
 
void setNoisy (int n)
 
void setGmres (int n)
 
- Public Member Functions inherited from linearSystem< scalar >
 linearSystem ()
 
virtual ~linearSystem ()
 
- Public Member Functions inherited from linearSystemBase
virtual ~linearSystemBase ()
 
virtual void preAllocateEntries ()
 
virtual int matMult ()
 
void setParameter (const std::string &key, std::string value)
 
std::string getParameter (const std::string &key) const
 
virtual void insertInSparsityPattern (int _row, int _col)
 
virtual double normInfSolution () const
 

Additional Inherited Members

- Protected Attributes inherited from linearSystemBase
std::map< std::string, std::string > _parameters
 

Detailed Description

template<class scalar>
class linearSystemGmm< scalar >

Definition at line 124 of file linearSystemGmm.h.

Constructor & Destructor Documentation

◆ linearSystemGmm()

template<class scalar >
linearSystemGmm< scalar >::linearSystemGmm ( const std::string &  method = "gmres",
double  tol = 1e-8,
int  noisy = 0 
)
inline

Definition at line 126 of file linearSystemGmm.h.

Here is the call graph for this function:

Member Function Documentation

◆ addToMatrix()

template<class scalar >
virtual void linearSystemGmm< scalar >::addToMatrix ( int  row,
int  col,
const scalar &  val 
)
inlinevirtual

Implements linearSystem< scalar >.

Definition at line 133 of file linearSystemGmm.h.

◆ addToRightHandSide()

template<class scalar >
virtual void linearSystemGmm< scalar >::addToRightHandSide ( int  row,
const scalar &  val,
int  ith = 0 
)
inlinevirtual

Implements linearSystem< scalar >.

Definition at line 135 of file linearSystemGmm.h.

◆ addToSolution()

template<class scalar >
virtual void linearSystemGmm< scalar >::addToSolution ( int  row,
const scalar &  val 
)
inlinevirtual

Implements linearSystem< scalar >.

Definition at line 137 of file linearSystemGmm.h.

◆ allocate()

template<class scalar >
virtual void linearSystemGmm< scalar >::allocate ( int  nbRows)
inlinevirtual

Implements linearSystemBase.

Definition at line 132 of file linearSystemGmm.h.

◆ clear()

template<class scalar >
virtual void linearSystemGmm< scalar >::clear ( )
inlinevirtual

Implements linearSystemBase.

Definition at line 145 of file linearSystemGmm.h.

◆ getFromMatrix()

template<class scalar >
virtual void linearSystemGmm< scalar >::getFromMatrix ( int  row,
int  col,
scalar &  val 
) const
inlinevirtual

Implements linearSystem< scalar >.

Definition at line 134 of file linearSystemGmm.h.

◆ getFromRightHandSide()

template<class scalar >
virtual void linearSystemGmm< scalar >::getFromRightHandSide ( int  row,
scalar &  val 
) const
inlinevirtual

Implements linearSystem< scalar >.

Definition at line 136 of file linearSystemGmm.h.

◆ getFromSolution()

template<class scalar >
virtual void linearSystemGmm< scalar >::getFromSolution ( int  row,
scalar &  val 
) const
inlinevirtual

Implements linearSystem< scalar >.

Definition at line 138 of file linearSystemGmm.h.

◆ isAllocated()

template<class scalar >
virtual bool linearSystemGmm< scalar >::isAllocated ( ) const
inlinevirtual

Implements linearSystemBase.

Definition at line 131 of file linearSystemGmm.h.

◆ normInfRightHandSide()

template<class scalar >
virtual double linearSystemGmm< scalar >::normInfRightHandSide ( ) const
inlinevirtual

Implements linearSystemBase.

Definition at line 143 of file linearSystemGmm.h.

◆ setGmres()

template<class scalar >
void linearSystemGmm< scalar >::setGmres ( int  n)
inline

Definition at line 147 of file linearSystemGmm.h.

◆ setNoisy()

template<class scalar >
void linearSystemGmm< scalar >::setNoisy ( int  n)
inline

Definition at line 146 of file linearSystemGmm.h.

◆ setPrec()

template<class scalar >
void linearSystemGmm< scalar >::setPrec ( double  p)
inline

Definition at line 144 of file linearSystemGmm.h.

◆ systemSolve()

template<class scalar >
virtual int linearSystemGmm< scalar >::systemSolve ( )
inlinevirtual

Implements linearSystemBase.

Definition at line 142 of file linearSystemGmm.h.

◆ zeroMatrix()

template<class scalar >
virtual void linearSystemGmm< scalar >::zeroMatrix ( )
inlinevirtual

Implements linearSystemBase.

Definition at line 139 of file linearSystemGmm.h.

◆ zeroRightHandSide()

template<class scalar >
virtual void linearSystemGmm< scalar >::zeroRightHandSide ( )
inlinevirtual

Implements linearSystemBase.

Definition at line 140 of file linearSystemGmm.h.

◆ zeroSolution()

template<class scalar >
virtual void linearSystemGmm< scalar >::zeroSolution ( )
inlinevirtual

Implements linearSystemBase.

Definition at line 141 of file linearSystemGmm.h.


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