22 int64_t i, loop_limit;
23 loop_limit=fEqnStack.NElements();
24 out <<
"Number of entries on EqnStack "<< fEqnStack.NElements() << endl;
25 for(i=0;i<loop_limit;i++) fEqnStack[i].Print(name, out);
35 int64_t i, stack_size;
36 stack_size=fEqnStack.NElements();
37 for(i=stack_size-1;i>=0;i--){
38 fEqnStack[i].EqnBackward(f, dec);
45 int64_t i, stack_size;
46 stack_size=fEqnStack.NElements();
47 for(i=0;i<stack_size;i++){
48 fEqnStack[i].EqnForward(f, dec);
56 fEqnStack.Push(*EqnArray);
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.
virtual void Resize(const int64_t newsize, const T &object)
Resizes the vector object.
void Reset()
Resets data structure.
int ClassId() const override
Define the class id associated with the class.
Contains TPZMatrixclass which implements full matrix (using column major representation).
void FinishWriting()
It closes the opened binary file.
Full matrix class. Matrix.
static void main()
Static main for testing.
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.
TPZStack< TPZEqnArray< TVar > > fEqnStack
Defines a stack of EqnArrays.
void Print(const char *name, std::ostream &out) const
Prints TPZEqnStorage data.
Contains the TPZStackEqnStorage class responsible for storing arrays of equations.
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
void ReOpen()
Method to make this class "template compatible" with the file equation storage.
DecomposeType
Defines decomposition type for any matrix classes.