9 #ifndef TPZFRONTNONSYM_H 10 #define TPZFRONTNONSYM_H 28 #include <Accelerate/Accelerate.h> 31 #include <Accelerate/Accelerate.h> 112 void Expand(
int largefrontsize);
126 const TVar &
Element(int64_t i, int64_t j)
const{
170 int Local(int64_t global);
174 virtual int64_t
NFree()
override;
179 void Reset(int64_t GlobalSize=0);
184 void Print(
const char *name, std::ostream& out)
const;
185 void PrintGlobal(
const char *name, std::ostream& out);
208 #endif //TPZFRONTNONSYM_H void AddKel(TPZFMatrix< TVar > &elmat, TPZVec< int64_t > &destinationindex)
Add a contribution of a stiffness matrix.
TPZVec< TVar > fData
Frontal matrix data.
void Expand(int largefrontsize)
Expand the front matrix.
It is an equation array, generally in its decomposed form. Frontal.
Contains the TPZFront class which implements decomposition process of the frontal matrix...
TPZFrontNonSym()
Simple constructor.
Templated vector implementation.
virtual void TensorProductIJ(int ithread, typename TPZFront< TVar >::STensorProductMTData *data) override
struct para paralelizar a decomposicao da matriz
void Compress()
Compress data structure.
void Reset(int64_t GlobalSize=0)
Resets data structure.
Abstract class implements storage and decomposition process of the frontal matrix. Frontal.
void AllocData()
Allocates data for Front.
DecomposeType fDecomposeType
Used Decomposition method.
void DecomposeEquations(int64_t mineq, int64_t maxeq, TPZEqnArray< TVar > &result)
Decompose these equations and put the result in eqnarray. Default decompose method is LU...
const TVar & Element(int64_t i, int64_t j) const
Returns the ith,jth element of the matrix. .
int ClassId() const override
Define the class id associated with the class.
void FreeGlobal(int64_t global)
Sets the global equation as freed, allowing the space used by this equation to be used by future ass...
#define DebugStop()
Returns a message to user put a breakpoint in.
virtual void ExtractFrontMatrix(TPZFMatrix< TVar > &front) override
Extract the front matrix.
~TPZFrontNonSym()
Simple destructor.
Full matrix class. Matrix.
Contains the TPZFileEqnStorage class which implements an equation array and stores the EqnArrays...
int32_t Hash(std::string str)
TVar & Element(int64_t i, int64_t j)
Returns the ith,jth element of the matrix. .
Contains TPZMatrix<TVar>class, root matrix class.
virtual void SetDecomposeType(DecomposeType dectype) override
Set the decomposition type.
void SymbolicAddKel(TPZVec< int64_t > &destinationindex)
Add a contribution of a stiffness matrix using the indexes to compute the frontwidth.
Contains the TPZStackEqnStorage class responsible for storing arrays of equations.
int fMaxFront
Maximum size of the front.
void SymbolicDecomposeEquations(int64_t mineq, int64_t maxeq)
Decompose these equations in a symbolic way and store freed indexes in fFree.
virtual int64_t NFree() override
Returns the number of free equations.
void DecomposeOneEquation(int64_t ieq, TPZEqnArray< TVar > &eqnarray)
Decomposes ieq equation and add the result to EqnArray.
void Print(const char *name, std::ostream &out) const
It prints TPZFront data.
int Local(int64_t global)
Returns a local index corresponding to a global equation number.
std::string GetMatrixType()
Type of matrix.
void PrintGlobal(const char *name, std::ostream &out)
Abstract class implements storage and decomposition process of the frontal matrix involving non-simet...
int ClassId() const override
Define the class id associated with the class.
DecomposeType
Defines decomposition type for any matrix classes.