95 void Expand(
int largefrontsize);
104 return this->
fData[(j*(j+1))/2+i];
107 const TVar &
Element(int64_t i, int64_t j)
const {
113 return this->
fData[(j*(j+1))/2+i];
135 return this->
fData[(j*(j+1))/2+i];
154 int Local(int64_t global);
157 virtual int64_t
NFree()
override;
159 void Reset(int64_t GlobalSize=0);
164 void Print(
const char *name, std::ostream& out=std::cout)
const;
165 void PrintGlobal(
const char *name, std::ostream& out = std::cout);
180 #endif //TPZFRONTSYM_H void Expand(int largefrontsize)
Expand the front matrix.
void Reset(int64_t GlobalSize=0)
Resets data structure.
int Local(int64_t global)
return a local index corresponding to a global equation number
TPZVec< TVar > fData
Frontal matrix data.
void SymbolicDecomposeEquations(int64_t mineq, int64_t maxeq)
Decompose these equations in a symbolic way and store freed indexes in fFree.
It is an equation array, generally in its decomposed form. Frontal.
Contains the TPZFront class which implements decomposition process of the frontal matrix...
Templated vector implementation.
void AddKel(TPZFMatrix< TVar > &elmat, TPZVec< int64_t > &destinationindex)
Add a contribution of a stiffness matrix.
struct para paralelizar a decomposicao da matriz
void SymbolicAddKel(TPZVec< int64_t > &destinationindex)
Add a contribution of a stiffness matrix using the indexes to compute the frontwidth.
~TPZFrontSym()
Simple destructor.
Abstract class implements storage and decomposition process of the frontal matrix involving simmetry ...
const TVar & Element(int64_t i, int64_t j) const
Returns ith, jth element of matrix. .
Abstract class implements storage and decomposition process of the frontal matrix. Frontal.
virtual void TensorProductIJ(int ithread, typename TPZFront< TVar >::STensorProductMTData *data) override
Does the tensor product betweem two vectors in the positions dependent of ithread.
void DecomposeEquations(int64_t mineq, int64_t maxeq, TPZEqnArray< TVar > &result)
Decompose these equations and put the result in eqnarray Default decompose method is Cholesky...
DecomposeType fDecomposeType
Used Decomposition method.
#define DebugStop()
Returns a message to user put a breakpoint in.
TVar & Element4JGreatEqualI(int64_t i, int64_t j)
TVar & Element(int64_t i, int64_t j)
Returns ith, jth element of matrix. .
virtual void SetDecomposeType(DecomposeType dectype) override
Set the decomposition type.
TPZFrontSym(const TPZFrontSym< TVar > &cp)
void DecomposeOneEquation(int64_t ieq, TPZEqnArray< TVar > &eqnarray)
Decomposes ieq equation and add the result to EqnArray.
DecomposeType GetDecomposeType() const
Returns decomposition type.
Full matrix class. Matrix.
Contains the TPZFileEqnStorage class which implements an equation array and stores the EqnArrays...
Contains TPZMatrix<TVar>class, root matrix class.
virtual void ExtractFrontMatrix(TPZFMatrix< TVar > &front) override
Reorders the elements of the frontmatrix into the full matrix.
virtual int64_t NFree() override
Returns the number of free equations.
int ClassId() const override
Define the class id associated with the class.
Contains the TPZStackEqnStorage class responsible for storing arrays of equations.
void Print(const char *name, std::ostream &out=std::cout) const
Prints TPZFront data.
void FreeGlobal(int64_t global)
Sets the global equation as freed, allowing the space.
void AllocData()
Allocates data for Front.
std::string GetMatrixType()
Returns its type.
void PrintGlobal(const char *name, std::ostream &out=std::cout)
TPZFrontSym()
Simple constructor.
DecomposeType
Defines decomposition type for any matrix classes.
void Compress()
Compress data structure.