chrono::fsi::sph::ChFsiLinearSolverBiCGStab Class Reference

Description

BiCG-Stab iterative linear solver.

#include <ChFsiLinearSolverBiCGStab.h>

Inheritance diagram for chrono::fsi::sph::ChFsiLinearSolverBiCGStab:
Collaboration diagram for chrono::fsi::sph::ChFsiLinearSolverBiCGStab:

Public Member Functions

 ChFsiLinearSolverBiCGStab (Real mrel_res=1e-8, Real mabs_res=1e-4, int mmax_iter=1000, bool mverbose=false)
 Constructor of the ChFsiLinearSolverBiCGStab class.
 
 ~ChFsiLinearSolverBiCGStab ()
 Destructor of the ChFsiLinearSolverBiCGStab class.
 
virtual void Solve (int SIZE, int NNZ, Real *A, unsigned int *ArowIdx, unsigned int *AcolIdx, Real *x, Real *b) override
 Solves the linear system on the device.
 
- Public Member Functions inherited from chrono::fsi::sph::ChFsiLinearSolver
 ChFsiLinearSolver (SolverType msolver, Real mrel_res=1e-8, Real mabs_res=1e-4, int mmax_iter=1000, bool mverbose=false)
 Constructor of the ChFsiLinearSolver class.
 
virtual ~ChFsiLinearSolver ()
 Destructor of the ChFsiLinearSolver class.
 
SolverType GetType ()
 Return the solver type.
 
void SetVerbose (bool mv)
 Set verbose output from solver.
 
bool GetVerbose () const
 Return whether or not verbose output is enabled.
 
Real GetResidual ()
 Return the current residual.
 
unsigned int GetNumIterations ()
 Return the number of current Iterations.
 
void SetIterationLimit (int numIter)
 Set the maximum number of iterations.
 
int GetIterationLimit ()
 Set the maximum number of iterations.
 
void SetAbsRes (Real mabs_res)
 Set the absolute residual.
 
Real GetAbsRes ()
 Get the absolute residual.
 
void SetRelRes (Real mrel_res)
 Get the relative residual.
 
Real GetRelRes ()
 Get the relative residual.
 
int GetSolverStatus ()
 Return the solver status. More...
 

Additional Inherited Members

- Protected Attributes inherited from chrono::fsi::sph::ChFsiLinearSolver
Real rel_res = Real(1e-3)
 
Real abs_res = Real(1e-6)
 
Real residual = Real(1e5)
 
int max_iter = 500
 
bool verbose = false
 
int Iterations = 0
 
int solver_status = 0
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_fsi/sph/math/ChFsiLinearSolverBiCGStab.h
  • /builds/uwsbel/chrono/src/chrono_fsi/sph/math/ChFsiLinearSolverBiCGStab.cpp