Diana
0.8.3
|
#include <CapeESO.hpp>
Public Member Functions | |
virtual | ~ICapeNumericLAESO () |
virtual void | SetLHS (const Diana::DianaSparseArray &values)=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeOutOfBounds) |
virtual void | SetRHS (const Common::Types::CapeArrayDouble &values)=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeOutOfBounds) |
virtual const Diana::DianaSparseArray & | GetLHS ()=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeBadInvOrder) |
virtual Common::Types::CapeArrayDouble | GetRHS ()=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeBadInvOrder) |
Friends | |
std::ostream & | operator<< (std::ostream &out_file, const ICapeNumericLAESO &eso) |
Linear algebraic ESO interface. It defines linear algebraic problem of type
where is a left hand side matrix,
is a right hand side vector and
is a solution vector.
virtual ~ICapeNumericLAESO | ( | ) | [inline, virtual] |
Virtual default destructor.
virtual const Diana::DianaSparseArray& GetLHS | ( | ) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeBadInvOrder) [pure virtual] |
Gets the values most recently set for the right hand side vector of this linear system.
virtual Common::Types::CapeArrayDouble GetRHS | ( | ) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeBadInvOrder) [pure virtual] |
Gets the left hand side values of this linear system.
Note: the result should be the same as what is returned by calling the GetValues method of the Matrix object returned by GetAllJacobianValues.
virtual void SetLHS | ( | const Diana::DianaSparseArray & | values | ) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeOutOfBounds) [pure virtual] |
Sets the left hand side values of the linear system, i.e. the matrix values. The input argument is interpreted with the same semantics as the array returned when the GetValues method is called.
values | the values of the LHS to be set |
virtual void SetRHS | ( | const Common::Types::CapeArrayDouble & | values | ) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeOutOfBounds) [pure virtual] |
Sets the values of the right hand side vector.
values | the values of the RHS to be set |
std::ostream& operator<< | ( | std::ostream & | out_file, |
const ICapeNumericLAESO & | eso | ||
) | [friend] |
ostream output operator for the ICapeNumericLAESO class.