7 #ifndef __ASSCHURDATA_HPP__
8 #define __ASSCHURDATA_HPP__
33 : initialized_(false),
45 virtual void SetData_Flag(
52 virtual void SetData_Flag(
58 virtual Index SetData_Index(
64 virtual void SetData_List(
65 const std::vector<Index>& list,
69 virtual void AddData_List(
70 std::vector<Index> cols,
71 std::vector<Index>& delta_u_sort,
100 virtual void GetMultiplyingVectors(
102 std::vector<Index>& indices,
103 std::vector<Number>& factors
107 virtual void Multiply(
113 virtual void TransMultiply(
118 virtual void PrintImpl(
122 const std::string& name,
124 const std::string& prefix
131 const std::string& name,
133 const std::string& prefix =
""
138 PrintImpl(jnlst, level, category, name, indent, prefix);
146 const std::string& name,
148 const std::string& prefix
151 if(
IsValid(jnlst) && jnlst->ProduceOutput(level, category) )
153 PrintImpl(*jnlst, level, category, name, indent, prefix);
bool IsValid(const SmartPtr< U > &smart_ptr)
Specialized CompoundVector class specifically for the algorithm iterates.
void Print(SmartPtr< const Journalist > jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const
double Number
Type of all numbers.
#define SIPOPTLIB_EXPORT
Include file for the configuration of Ipopt.
EJournalLevel
Print Level Enum.
void Print(const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent=0, const std::string &prefix="") const
virtual void Set_NRows(Index nrows)
Template class for Smart Pointers.
Storing the reference count of all the smart pointers that currently reference it.
Index nrows_
Number of columns/rows of corresponding Schur Matrix.
virtual bool Is_Initialized() const
virtual Index GetNRowsAdded() const
Returns number of rows/columns in schur matrix.
virtual void Set_Initialized()
bool initialized_
Makes sure that data is not set twice accidentially.
int Index
Type of all indices of vectors, matrices etc.
Class responsible for all message output.
virtual bool ProduceOutput(EJournalLevel level, EJournalCategory category) const
Method that returns true if there is a Journal that would write output for the given JournalLevel and...
This interface serves as a reference point for multiple classes that need to use SchurData (PCalculat...
EJournalCategory
Category Selection Enum.