93 void Read(
char * inputfile);
96 void Write(
char * outputfile);
99 void Print(
const char * name, std::ostream & out);
107 void Write(FILE * outputfile);
113 void Read(FILE * inputfile);
138 #endif //TPZEQNARRAY_H TPZStack< int, 100 > fEqNumber
void EqnForward(TPZFMatrix< TVar > &F, DecomposeType dec)
Forward substitution on equations stored in EqnArray.
TPZStack< int, 100 > fEqStart
Equation start point index.
int fLastTerm
Indicates the last used position in fEqValues.
It is an equation array, generally in its decomposed form. Frontal.
static void main()
Static main function for testing.
Templated vector implementation.
void Write(char *outputfile)
Writes on disk.
REAL val(STATE &number)
Returns value of the variable.
void BeginEquation(int eq)
It starts an equation storage.
MSymmetric
It defines two diferent types of storage Symmetric and NonSymmetric an also an undefined status...
void Print(const char *name, std::ostream &out)
It prints all terms stored in TPZEqnArray.
void Read(char *inputfile)
Reads from disk.
void Push(const T object)
Pushes a copy of the object on the stack.
int fNumEq
Number of equations.
Contains TPZMatrixclass which implements full matrix (using column major representation).
void EqnBackward(TPZFMatrix< TVar > &U, DecomposeType dec)
Backward substitution on equations stored in EqnArray.
Free store vector implementation.
void Reset()
Resets data structure.
void SetNonSymmetric()
Sets EqnArray to a non symmetric form.
void SetSymmetric()
Sets fSymmetric to the symmetric value.
void AddTerm(int col, TVar val)
Add a term to the current equation.
Full matrix class. Matrix.
Contains TPZMatrix<TVar>class, root matrix class.
MSymmetric fSymmetric
Indicates the symetry or not of the equationarray.
void EndEquation()
Ends the current equation.
TPZStack< TVar, 1000 > fEqValues
Equations coefficients values.
TPZEqnArray()
Simple constructor.
~TPZEqnArray()
Simple desctructor.
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
TPZStack< int, 1000 > fIndex
Line/Column number associated to each fEqValues values.
int IsSymmetric()
Gets the symetry situation of EqnArray.
DecomposeType
Defines decomposition type for any matrix classes.