Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.5new_solver
      Class Index
      File List
   Version 1.0.5dev
   Version 1.0.5b
   Version 1.0.4dev
   Version 1.0.4
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads
Empty_Precond Class Reference

Empty preconditioner class. More...

#include <empty_precond.hpp>

Inheritance diagram for Empty_Precond:
Precond

Public Member Functions

 Empty_Precond ()
 Constructor. More...
 
 ~Empty_Precond ()
 Destructor. More...
 
Empty_Precondcopy (void) const
 Get a new copy of preconditioner. More...
 
void prepare (const CRowMatrix &A)
 Prepare preconditioner for matrices with non-zero pattern equal to A. More...
 
void construct (const CRowMatrix &A)
 Construct preconditioner for matrix A. More...
 
void clear (void)
 Clear preconditioner. More...
 
bool is_prepared (void) const
 Return false if prepare is needed. More...
 
std::string typestring (void) const
 Return string indicating type of preconditioner. More...
 
void solve (Vector &x, const Vector &b) const
 Return x = b. More...
 
- Public Member Functions inherited from Precond
virtual ~Precond ()
 Virtual destructor. More...
 

Detailed Description

Empty preconditioner class.

Constructor & Destructor Documentation

Empty_Precond::Empty_Precond ( )
inline

Constructor.

Empty_Precond::~Empty_Precond ( )
inline

Destructor.

Member Function Documentation

void Empty_Precond::clear ( void  )
inlinevirtual

Clear preconditioner.

Clears preconditioner. Both prepare() and construct() functions have to be called after this.

Implements Precond.

void Empty_Precond::construct ( const CRowMatrix A)
inlinevirtual

Construct preconditioner for matrix A.

Implements Precond.

Empty_Precond* Empty_Precond::copy ( void  ) const
inlinevirtual

Get a new copy of preconditioner.

Implements Precond.

bool Empty_Precond::is_prepared ( void  ) const
inlinevirtual

Return false if prepare is needed.

Returns true if prepare is not needed and false if it is.

Implements Precond.

void Empty_Precond::prepare ( const CRowMatrix A)
inlinevirtual

Prepare preconditioner for matrices with non-zero pattern equal to A.

Implements Precond.

void Empty_Precond::solve ( Vector x,
const Vector b 
) const
inlinevirtual

Return x = b.

Implements Precond.

std::string Empty_Precond::typestring ( void  ) const
inlinevirtual

Return string indicating type of preconditioner.

Implements Precond.


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


Reference manual for Ion Beam Simulator 1.0.5new_solver
Generated by Doxygen 1.8.5 on Tue May 19 2015 09:15:43.