Playa::SolverState< Scalar > Class Template Reference

List of all members.

Public Member Functions

 SolverState (SolverStatusCode finalState, const std::string &msg, int finalIters, const Scalar &finalResid)
 SolverState ()
const Scalar & finalResid () const
int finalIters () const
const SolverStatusCodefinalState () const
const std::string & finalMsg () const
std::string stateDescription () const

Private Attributes

SolverStatusCode finalState_
Scalar finalResid_
int finalIters_
std::string msg_


Detailed Description

template<class Scalar>
class Playa::SolverState< Scalar >

SolverState provides information about the result of a linear or nonlinear solve

Definition at line 27 of file PlayaSolverState.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Playa::SolverState< Scalar >::SolverState ( SolverStatusCode  finalState,
const std::string &  msg,
int  finalIters,
const Scalar &  finalResid 
) [inline]

Definition at line 31 of file PlayaSolverState.hpp.

template<class Scalar>
Playa::SolverState< Scalar >::SolverState (  )  [inline]

Definition at line 40 of file PlayaSolverState.hpp.


Member Function Documentation

template<class Scalar>
int Playa::SolverState< Scalar >::finalIters (  )  const [inline]

Definition at line 46 of file PlayaSolverState.hpp.

References Playa::SolverState< Scalar >::finalIters_.

Referenced by Playa::operator<<().

template<class Scalar>
const std::string& Playa::SolverState< Scalar >::finalMsg (  )  const [inline]

template<class Scalar>
const Scalar& Playa::SolverState< Scalar >::finalResid (  )  const [inline]

Definition at line 43 of file PlayaSolverState.hpp.

References Playa::SolverState< Scalar >::finalResid_.

Referenced by Playa::operator<<().

template<class Scalar>
const SolverStatusCode& Playa::SolverState< Scalar >::finalState (  )  const [inline]

template<class Scalar>
std::string Playa::SolverState< Scalar >::stateDescription (  )  const [inline]


Member Data Documentation

template<class Scalar>
int Playa::SolverState< Scalar >::finalIters_ [private]

Definition at line 75 of file PlayaSolverState.hpp.

Referenced by Playa::SolverState< Scalar >::finalIters().

template<class Scalar>
Scalar Playa::SolverState< Scalar >::finalResid_ [private]

Definition at line 73 of file PlayaSolverState.hpp.

Referenced by Playa::SolverState< Scalar >::finalResid().

template<class Scalar>
SolverStatusCode Playa::SolverState< Scalar >::finalState_ [private]

template<class Scalar>
std::string Playa::SolverState< Scalar >::msg_ [private]

Definition at line 77 of file PlayaSolverState.hpp.

Referenced by Playa::SolverState< Scalar >::finalMsg().

Site Contact