AGX Dynamics  2.35.0.1
agx::NlMixedCp::McpAlgorithm::SolveReport Class Reference

#include <MixedLCP.h>

Public Member Functions

 SolveReport (agx::UInt numIterations, agx::Real residual, agx::Bool successful)
 Construct given solve result. More...
 
agx::UInt getNumIterations () const
 
agx::Real getResidual () const
 
agx::Bool isSuccessful () const
 

Detailed Description

Definition at line 117 of file MixedLCP.h.

Constructor & Destructor Documentation

◆ SolveReport()

agx::NlMixedCp::McpAlgorithm::SolveReport::SolveReport ( agx::UInt  numIterations,
agx::Real  residual,
agx::Bool  successful 
)

Construct given solve result.

Parameters
numIterations- number of iterations
residual- residual of used solution
successful- true if solution is within tolerance

Member Function Documentation

◆ getNumIterations()

agx::UInt agx::NlMixedCp::McpAlgorithm::SolveReport::getNumIterations ( ) const
Returns
the number of iterations used

◆ getResidual()

agx::Real agx::NlMixedCp::McpAlgorithm::SolveReport::getResidual ( ) const
Returns
the residual of the solution used

◆ isSuccessful()

agx::Bool agx::NlMixedCp::McpAlgorithm::SolveReport::isSuccessful ( ) const
Returns
true if solve was successful - otherwise false

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