1 #ifndef TPZSTRUCTMATRIXBASE_H 2 #define TPZSTRUCTMATRIXBASE_H 151 #endif // TPZSTRUCTMATRIXBASE_H int fNumThreads
Number of threads in Assemble process.
virtual TPZMatrix< STATE > * CreateAssemble(TPZFMatrix< STATE > &rhs, TPZAutoPointer< TPZGuiInterface > guiInterface)
virtual void SetMesh(TPZCompMesh *)
virtual void SetEquationRange(int64_t mineq, int64_t maxeq)
virtual TPZCompMesh * Mesh() const
Access method for the mesh pointer.
virtual TPZEquationFilter & EquationFilter()
access method for the equation filter
virtual TPZStructMatrixBase * Clone()=0
TPZEquationFilter fEquationFilter
Object which will determine which equations will be assembled.
virtual ~TPZStructMatrixBase()
Contains the TPZStructMatrixOR class which responsible for a interface among Matrix and Finite Elemen...
int ClassId() const override
Define the class id associated with the class.
Refines geometrical mesh (all the elements) num times.
virtual void Assemble(TPZMatrix< STATE > &stiffness, TPZFMatrix< STATE > &rhs, TPZAutoPointer< TPZGuiInterface > guiInterface)=0
TPZCompMesh * fMesh
Pointer to the computational mesh from which the matrix will be generated.
virtual const std::set< int > & MaterialIds()
Returns the material ids.
int64_t NActiveEquations() const
Retorna o numero de equacoes ativas do sistema.
virtual void SetNumThreads(int n)
void Write(TPZStream &buf, int withclassid) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
Contains declaration of the TPZAutoPointer class which has Increment and Decrement actions are mutexe...
virtual bool ShouldCompute(int matid) const
Establish whether the element should be computed.
std::set< int > fMaterialIds
Set of material ids to be considered. It is a private attribute.
Full matrix class. Matrix.
virtual TPZMatrix< STATE > * Create()=0
virtual void SetMaterialIds(const std::set< int > &materialids)
Set the set of material ids which will be considered when assembling the system.
This class implements a very simple interface from PZ kernel to GUI. Module: Common.
void SetMinMaxEq(int64_t mineq, int64_t maxeq)
Define as equacoes ativas de [mineq, maxeq)
Implements computational mesh. Computational Mesh.
virtual int GetNumThreads() const
virtual void FilterEquations(TPZVec< int64_t > &origindex, TPZVec< int64_t > &destindex) const
Filter out the equations which are out of the range.
Defines the interface for saving and reading data. Persistency.
virtual int64_t NReducedEquations() const
number of equations after applying the filter
TPZStructMatrixOR TPZStructMatrix
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
virtual bool HasRange() const
Verify if a range has been specified.
void Read(TPZStream &buf, void *context) override
read objects from the stream
TPZAutoPointer< TPZCompMesh > fCompMesh
Autopointer control of the computational mesh.
void Reset()
Reset method.
Root matrix class (abstract). Matrix.