6 #ifndef TPZFILEEQNSTORAGE_H 7 #define TPZFILEEQNSTORAGE_H 72 void Print(
const char *name, std::ostream& out)
const;
96 void Store(
int ieq,
int jeq,
const char *name);
132 return Hash(
"TPZFileEqnStorage") ^ ClassIdOrHash<TVar>() << 1;
135 #endif //TPZFILEEQNSTORAGE_H Has the same porpouse of EqnStack but stores the EqnArrays in a different form (binary files)...
void ReadBlockPositions()
Method used for binary input/output.
void Forward(TPZFMatrix< TVar > &f, DecomposeType dec) const
Executes a Forward substitution.
It is an equation array, generally in its decomposed form. Frontal.
void Backward(TPZFMatrix< TVar > &f, DecomposeType dec) const
Executes a Backward substitution.
int fNumBlocks
Used with binary input/output aritimethics.
void OpenGeneric(char option, const char *name)
Sets file name and if it is for input or output, the second term can be either 'r' for input and 'w' ...
Contains the TPZEqnArray class which implements an equation array.
std::string fFileName
file name containing binary data
std::string GetStorage()
Type of Storage.
~TPZFileEqnStorage()
Simple destructor.
TPZFileEqnStorage()
Simple constructor.
TPZStack< int64_t > fBlockPos
Stack containing block positions.
Contains TPZMatrixclass which implements full matrix (using column major representation).
void Print(const char *name, std::ostream &out) const
It prints TPZEqnStorage data.
Full matrix class. Matrix.
int32_t Hash(std::string str)
int fNumHeaders
Indicates the number of headers for the object.
void AddEqnArray(TPZEqnArray< TVar > *EqnArray)
Adds an EqnArray.
FILE * fIOStream
binary file itself
void Store(int ieq, int jeq, const char *name)
Stores from ieq to jeq equations on a binary file.
int fCurrentBlock
Used with binary input/output aritimethics.
int ClassId() const override
Define the class id associated with the class.
void WriteHeaders()
Writes the header of the binary file.
void ReOpen()
Reopens an binary file with its current fFileName.
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
void Zero()
Reinitialize the object.
int fCurBlockPosition
Used with binary input/output aritimethics.
void FinishWriting()
Method used for binary input/output.
DecomposeType
Defines decomposition type for any matrix classes.