6 #ifndef TPZSTACKEQNSTORAGE_H 7 #define TPZSTACKEQNSTORAGE_H 56 void Print(
const char *name, std::ostream& out)
const;
99 return Hash(
"TPZStackEqnStorage") ^ ClassIdOrHash<TVar>() << 1;
102 #endif //TPZSTACKEQNSTORAGE_H std::string GetStorage()
Name of Storage.
void Zero()
Reinitialize the object.
~TPZStackEqnStorage()
Simple Destructor.
void Backward(TPZFMatrix< TVar > &f, DecomposeType dec) const
Executes a Backward substitution Stack object.
void SetBlockSize()
Sets the block size to be used.
It is an equation array, generally in its decomposed form. Frontal.
Responsible for storing arrays of equations (mostly in a decomposed form). Frontal.
TPZStackEqnStorage()
Simple Constructor.
void ReadBlockPositions()
Only to make both possible templates similar in terms of methods and constructors.
void Forward(TPZFMatrix< TVar > &f, DecomposeType dec) const
Executes a Forward substitution Stack object.
Contains the TPZEqnArray class which implements an equation array.
void Reset()
Resets data structure.
int ClassId() const override
Define the class id associated with the class.
TPZStackEqnStorage(const TPZStackEqnStorage &cp)
void FinishWriting()
It closes the opened binary file.
Full matrix class. Matrix.
static void main()
Static main for testing.
int32_t Hash(std::string str)
void AddEqnArray(TPZEqnArray< TVar > *EqnArray)
Adds an EqnArray to EqnStack object.
void OpenGeneric(char option, const char *name)
Only to make both possible templates similar in terms of methods and constructors.
This class implements a stack object. Utility.
TPZStack< TPZEqnArray< TVar > > fEqnStack
Defines a stack of EqnArrays.
void Print(const char *name, std::ostream &out) const
Prints TPZEqnStorage data.
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
void ReOpen()
Method to make this class "template compatible" with the file equation storage.
DecomposeType
Defines decomposition type for any matrix classes.