gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
linearSystemBase Class Referenceabstract

#include <linearSystem.h>

Inheritance diagram for linearSystemBase:

Public Member Functions

virtual ~linearSystemBase ()
 
virtual bool isAllocated () const =0
 
virtual void allocate (int nbRows)=0
 
virtual void preAllocateEntries ()
 
virtual void clear ()=0
 
virtual void zeroMatrix ()=0
 
virtual void zeroRightHandSide ()=0
 
virtual void zeroSolution ()=0
 
virtual int systemSolve ()=0
 
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 normInfRightHandSide () const =0
 
virtual double normInfSolution () const
 

Protected Attributes

std::map< std::string, std::string > _parameters
 

Detailed Description

Definition at line 14 of file linearSystem.h.

Constructor & Destructor Documentation

◆ ~linearSystemBase()

virtual linearSystemBase::~linearSystemBase ( )
inlinevirtual

Definition at line 19 of file linearSystem.h.

Member Function Documentation

◆ allocate()

virtual void linearSystemBase::allocate ( int  nbRows)
pure virtual

◆ clear()

virtual void linearSystemBase::clear ( )
pure virtual

◆ getParameter()

std::string linearSystemBase::getParameter ( const std::string &  key) const

Definition at line 17 of file linearSystem.cpp.

◆ insertInSparsityPattern()

virtual void linearSystemBase::insertInSparsityPattern ( int  _row,
int  _col 
)
inlinevirtual

Reimplemented in linearSystemCSR< scalar >.

Definition at line 33 of file linearSystem.h.

Referenced by computeParametrization(), and dofManager< double >::insertInSparsityPattern().

Here is the caller graph for this function:

◆ isAllocated()

virtual bool linearSystemBase::isAllocated ( ) const
pure virtual

◆ matMult()

virtual int linearSystemBase::matMult ( )
inlinevirtual

Reimplemented in linearSystemPETSc< scalar >.

Definition at line 29 of file linearSystem.h.

◆ normInfRightHandSide()

virtual double linearSystemBase::normInfRightHandSide ( ) const
pure virtual

◆ normInfSolution()

virtual double linearSystemBase::normInfSolution ( ) const
inlinevirtual

Definition at line 35 of file linearSystem.h.

◆ preAllocateEntries()

virtual void linearSystemBase::preAllocateEntries ( )
inlinevirtual

◆ setParameter()

void linearSystemBase::setParameter ( const std::string &  key,
std::string  value 
)

Definition at line 10 of file linearSystem.cpp.

Referenced by computeParametrization().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ systemSolve()

virtual int linearSystemBase::systemSolve ( )
pure virtual

◆ zeroMatrix()

virtual void linearSystemBase::zeroMatrix ( )
pure virtual

◆ zeroRightHandSide()

virtual void linearSystemBase::zeroRightHandSide ( )
pure virtual

◆ zeroSolution()

virtual void linearSystemBase::zeroSolution ( )
pure virtual

Member Data Documentation

◆ _parameters

std::map<std::string, std::string> linearSystemBase::_parameters
protected

Definition at line 16 of file linearSystem.h.

Referenced by getParameter(), and setParameter().


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