Marine systems simulation
CoRiBoDynamics::ConjugateGradientSolver::VectorTask Class Reference
+ Inheritance diagram for CoRiBoDynamics::ConjugateGradientSolver::VectorTask:
+ Collaboration diagram for CoRiBoDynamics::ConjugateGradientSolver::VectorTask:

Public Member Functions

void SetIndex (int ix0, int ix1)
 
virtual void Execute ()
 
void CG_squared_norm (const Vector &a)
 
void CG_flip_and_add (const Vector &a, Vector &b)
 
void CG_scale_and_add (const Vector &a, double beta, Vector &b)
 
void MultiOP (Vector &p, Vector &tmp, double alpha, Vector &x, Vector &r)
 
double GetAccumulator ()
 
virtual void Execute ()=0
 

Protected Types

enum  OPERATION {
  NOP , SQUARE_NORM , FLIP_AND_ADD , SCALE_AND_ADD ,
  MULTI_OP
}
 

Protected Attributes

enum CoRiBoDynamics::ConjugateGradientSolver::VectorTask::OPERATION m_operation
 
int m_ix0
 
int m_N
 
const Vector * m_ca
 
const Vector * m_cb
 
Vector * m_a
 
Vector * m_b
 
double m_alpha
 
double m_beta
 
double m_accumulator
 

Member Function Documentation

◆ Execute()

virtual void CoRiBoDynamics::ConjugateGradientSolver::VectorTask::Execute ( )
virtual

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