26 fNextRigidBodyMode = 0;
27 fProductMTData = NULL;
37 fLocal.Resize(GlobalSize);
39 for(i=0;i<GlobalSize;i++) fLocal[i]=-1;
41 fNextRigidBodyMode = GlobalSize;
42 fProductMTData = NULL;
48 fGlobal(cp.fGlobal), fLocal(cp.fLocal),fFront(cp.fFront),fFree(cp.fFree),
50 fDecomposeType(cp.fDecomposeType)
87 out <<
"Not implemented in the abstract Class !" << endl;
88 out <<
"Try one of the subclasses" << endl;
95 if(name) out << name << endl;
132 out <<
"Not implemented in the abstract Class !" << endl;
133 out <<
"Try one of the subclasses" << endl;
140 cout <<
"TPZFront FreeGlobal was called with wrong parameters !" << endl;
169 cout <<
"Not implemented in the abstract Class !" << endl;
170 cout <<
"Try one of the subclasses" << endl;
178 int64_t i, loop_limit, aux;
180 for(i=0;i<loop_limit;i++){
181 aux=destinationindex[i];
329 PZError <<
"This Method Should only be called in the lower classes" << std::endl;
virtual ~TPZFront()
Simple destructor.
TPZFront()
Simple constructor.
TPZVec< TVar > fData
Frontal matrix data.
Contains the TPZFront class which implements decomposition process of the frontal matrix...
TPZVec< int64_t > fLocal
Front equation to each global equation.
struct para paralelizar a decomposicao da matriz
int NThreads()
num threads
STensorProductMTData * fProductMTData
virtual void Resize(const int64_t newsize, const T &object)
Resizes the vector object.
Contains the TPZEqnArray class which implements an equation array.
Abstract class implements storage and decomposition process of the frontal matrix. Frontal.
void FreeGlobal(int64_t global)
Sets the global equation as freed, allowing the space used by this equation to be used...
virtual void Resize(const int64_t newsize, const T &object)
Resizes the vector object reallocating the necessary storage, copying the existing objects to the new...
void SymbolicAddKel(TPZVec< int64_t > &destinationindex)
Add a contribution of a stiffness matrix using the indexes to compute the frontwidth.
void Push(const T object)
Pushes a copy of the object on the stack.
#define DebugStop()
Returns a message to user put a breakpoint in.
virtual int64_t NFree()
Returns the number of free equations.
int fExpandRatio
Expansion Ratio of frontal matrix.
int Local(int64_t global)
return a local index corresponding to a global equation number
int64_t fNextRigidBodyMode
Equation where rigid body modes can be stored.
void PrintGlobal(const char *name, std::ostream &out=std::cout)
int64_t fFront
Actual front size.
void Print(const char *name, std::ostream &out) const
It prints TPZFront data.
int fMaxFront
Maximum size of the front.
void Fill(const T ©, const int64_t from=0, const int64_t numelem=-1)
Will fill the elements of the vector with a copy object.
void Reset(int64_t GlobalSize=0)
virtual void TensorProductIJ(int ithread, typename TPZFront< TVar >::STensorProductMTData *data)
void
int64_t NElements() const
Returns the number of elements of the vector.
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
void SymbolicDecomposeEquations(int64_t mineq, int64_t maxeq)
Decompose these equations in a symbolic way and store freed indexes in fFree.
int64_t NElements()
Static main used for testing.
TPZStack< int > fFree
Colection of already decomposed equations still on the front.
TPZManVector< int64_t > fGlobal
Global equation associated to each front equation.
#define PZError
Defines the output device to error messages and the DebugStop() function.
Contains TPZSFMatrix class which implements a symmetric full matrix.