NeoPZ
pzsmanal.h
Go to the documentation of this file.
1 
6 #ifndef TPZSUBMESHANALYSIS_H
7 #define TPZSUBMESHANALYSIS_H
8 
9 
10 #include "pzanalysis.h"
11 #include "pzmatred.h"
12 class TPZSubCompMesh;
13 
14 #include "pzfmatrix.h"
15 
21 {
22 private:
25 
30 
31 public:
32  virtual void LoadSolution(const TPZFMatrix<STATE> &sol) override;
35 
37  virtual ~TPZSubMeshAnalysis();
38 
40  {
41  return fReducableStiff;
42  }
43 
45  virtual void SetCompMesh(TPZCompMesh * mesh, bool mustOptimizeBandwidth) override;
46 
47 
49  void Run(std::ostream &out) override;
50 
53 
55  virtual void Assemble() override;
56 
57  int ClassId() const override;
58 
61 
62 };
63 
64 #endif
virtual ~TPZSubMeshAnalysis()
Destructor.
Definition: pzsmanal.cpp:32
Contains TPZAnalysis class which implements the sequence of actions to perform a finite element analy...
void Run(std::ostream &out) override
Run: assemble the stiffness matrix.
Definition: pzsmanal.cpp:102
TPZAutoPointer< TPZMatrix< STATE > > Matrix()
Definition: pzsmanal.h:39
TPZAutoPointer< TPZMatrix< STATE > > fReducableStiff
Stiffness matrix to sub mesh.
Definition: pzsmanal.h:27
Analysis procedure to computational sub mesh. Analysis.
Definition: pzsmanal.h:20
TPZSubMeshAnalysis(TPZSubCompMesh *mesh=0)
Constructor: create an object analysis from one mesh.
Definition: pzsmanal.cpp:23
virtual void SetCompMesh(TPZCompMesh *mesh, bool mustOptimizeBandwidth) override
Set the computational mesh of the analysis.
Definition: pzsmanal.cpp:38
Contains TPZMatRed class which implements a simple substructuring of a linear system of equations...
void ReducedRightHandSide(TPZFMatrix< STATE > &rhs)
compute the reduced right hand side using the current stiffness. Abort if there is no stiffness compu...
Definition: pzsmanal.cpp:145
virtual void Assemble() override
Assemble the global stiffness matrix and put it into the reducable stiffness matrix.
Definition: pzsmanal.cpp:56
TPZSubCompMesh * fMesh
The computational sub mesh.
Definition: pzsmanal.h:29
void CondensedSolution(TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef)
CondensedSolution: returns the condensed stiffness matrix - ek - and the condensed solution vector - ...
Definition: pzsmanal.cpp:121
Implements the sequence of actions to perform a finite element analysis. Analysis.
Definition: pzanalysis.h:32
virtual void LoadSolution()
Load the solution into the computable grid.
Definition: pzanalysis.cpp:441
Contains TPZMatrixclass which implements full matrix (using column major representation).
Implements a group of computational elements as a mesh and an element. Computational Mesh...
Definition: pzsubcmesh.h:36
TPZFMatrix< STATE > fReferenceSolution
Solution vector.
Definition: pzsmanal.h:24
int ClassId() const override
Define the class id associated with the class.
Definition: pzsmanal.cpp:195
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47
This class implements a reference counter mechanism to administer a dynamically allocated object...