71 TPZElementMatrix(
TPZCompMesh *mesh,
MType type) : fType(type), fMesh(mesh), fConnect(), fMat(0,0), fBlock(), fConstrConnect(), fConstrMat(0,0), fConstrBlock()
78 fConstrMat(0,0), fConstrBlock(&fConstrMat)
96 void Print(std::ostream &out);
98 void SetMatrixSize(
short NumBli,
short NumBlj,
short BlSizei,
short BlSizej);
100 void SetMatrixMinSize(
short NumBli,
short NumBlj,
short BlMinSizei,
short BlMinSizej);
void SetMatrixMinSize(short NumBli, short NumBlj, short BlMinSizei, short BlMinSizej)
TPZBlock< STATE > fConstrBlock
Block structure associated with fConstrMat.
void BuildDependencyOrder(TPZVec< int64_t > &connectlist, TPZVec< int > &DependenceOrder, TPZCompMesh &mesh)
Compute the dependency order of the connects, considering the one shape restraints.
TPZStack< int64_t > fConnect
Vector of pointers to TPZConnect objects.
void ApplyOneShapeConstraints(int constraintindex)
Apply the constraint of the one shape restraints.
TPZFNMatrix< 1000, STATE > fMat
Pointer to a blocked matrix object.
std::list< TPZOneShapeRestraint > fOneRestraints
list of one degree of freedom restraints
TPZBlock< STATE > fBlock
Block structure associated with fMat.
virtual void Resize(const int64_t newsize, const T &object)
Resizes the vector object.
TPZManVector< int64_t > fDestinationIndex
void ComputeDestinationIndices()
TPZElementMatrix(TPZCompMesh *mesh, MType type)
int64_t ConnectIndex(int i) const
Returns the pointer to the ith node of the element.
void Print(std::ostream &out)
int NConnects()
Returns the number of nodes of TElementMatrix.
void SetMatrixSize(short NumBli, short NumBlj, short BlSizei, short BlSizej)
Contains TPZMatrixclass which implements full matrix (using column major representation).
Contains declaration of TPZConnect class which represents a set of shape functions associated with a ...
TPZStack< int64_t > fConstrConnect
Vector of all nodes connected to the element.
Free store vector implementation.
TPZManVector< int64_t > fSourceIndex
int SetNBlocks(const int num_of_blocks)
Sets number of blocks on diagonal matrix.
Contains TPZMatrix<TVar>class, root matrix class.
This class associates an element matrix with the coeficients of its contribution in the global stiffn...
TPZFNMatrix< 1000, STATE > fConstrMat
Pointer to the constrained matrix object.
void ApplyConstraints()
Apply the constraints applied to the nodes by transforming the tangent matrix and right hand side...
void PermuteGather(TPZVec< int64_t > &permute)
permute the order of the connects
void Reset(TPZCompMesh *mesh=NULL, MType type=Unknown)
Reset the data structure.
Implements computational mesh. Computational Mesh.
void SetMatrix(TPZMatrix< TVar > *const other)
Changes pointer to other.
int Resize(const int64_t newRows, const int64_t wCols) override
Redimension a matrix, but maintain your elements.
int64_t NElements() const
Returns the number of elements of the vector.
bool HasDependency()
Returns true if the element has at least one dependent node. Returns false otherwise.