Go to the documentation of this file.
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);
virtual void Set_NRows(Index nrows)
This file contains a base class for all exceptions and a set of macros to help with exceptions.
double Number
Type of all numbers.
virtual bool Is_Initialized() const
This interface serves as a reference point for multiple classes that need to use SchurData (PCalculat...
EJournalLevel
Print Level Enum.
void Print(SmartPtr< const Journalist > jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const
virtual void Set_Initialized()
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...
int Index
Type of all indices of vectors, matrices etc.
bool initialized_
Makes sure that data is not set twice accidentially.
Template class for Smart Pointers.
EJournalCategory
Category Selection Enum.
virtual Index GetNRowsAdded() const
Returns number of rows/columns in schur matrix.
Class responsible for all message output.
void Print(const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent=0, const std::string &prefix="") const
bool IsValid(const SmartPtr< U > &smart_ptr)
Index nrows_
Number of columns/rows of corresponding Schur Matrix.
Storing the reference count of all the smart pointers that currently reference it.
Specialized CompoundVector class specifically for the algorithm iterates.