NeoPZ
tpzdohrassembly.h
Go to the documentation of this file.
1 
6 #ifndef TPZDOHRASSEMBLYH
7 #define TPZDOHRASSEMBLYH
8 
9 #include "pzvec.h"
10 #include "TPZSavable.h"
11 #include "pzfmatrix.h"
12 
19 template<class TVar>
21 // @TODO Implement the methods to make the class actually saveable
22 {
23 public:
27 
30 
32  void Assemble(int isub, const TPZFMatrix<TVar> &local, TPZFMatrix<TVar> &global) const;
33 
35  void Extract(int isub, const TPZFMatrix<TVar> &global, TPZFMatrix<TVar> &local) const;
36 
38  void AssembleCoarse(int isub, const TPZFMatrix<TVar> &local, TPZFMatrix<TVar> &global) const;
39 
41  void ExtractCoarse(int isub, const TPZFMatrix<TVar> &global, TPZFMatrix<TVar> &local) const;
42 
43  int ClassId() const override;
44  void Write(TPZStream &buf, int withclassid) const override;
45  void Read(TPZStream &buf, void *context) override;
46 };
47 
48 #endif
void Extract(int isub, const TPZFMatrix< TVar > &global, TPZFMatrix< TVar > &local) const
Extract the values from the global matrix into the local matrix.
void Assemble(int isub, const TPZFMatrix< TVar > &local, TPZFMatrix< TVar > &global) const
Sum the values in the local matrix into the global matrix.
Assembling using Dohrmann algorithm. Sub structure.
Contains declaration of the TPZSavable class which defines the interface to save and restore objects ...
int ClassId() const override
Define the class id associated with the class.
void Read(TPZStream &buf, void *context) override
method for reading the object for a stream
Templated vector implementation.
void AssembleCoarse(int isub, const TPZFMatrix< TVar > &local, TPZFMatrix< TVar > &global) const
Sum the values in the local matrix into the global matrix.
TPZVec< TPZVec< int > > fCoarseEqs
For each substructure the equation numbering of the coarse equations.
This class implements a simple vector storage scheme for a templated class T. Utility.
Definition: pzgeopoint.h:19
void ExtractCoarse(int isub, const TPZFMatrix< TVar > &global, TPZFMatrix< TVar > &local) const
Extract the values from the global matrix into the local matrix.
Contains TPZMatrixclass which implements full matrix (using column major representation).
TPZVec< TPZVec< int > > fFineEqs
For each substructure the equation numbering of the substructures.
void Write(TPZStream &buf, int withclassid) const override
method for streaming the object to a stream
Full matrix class. Matrix.
Definition: pzfmatrix.h:32
Defines the interface for saving and reading data. Persistency.
Definition: TPZStream.h:50
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
Definition: TPZSavable.h:67