NeoPZ
pzporoanalysis.h
Go to the documentation of this file.
1 
5 #ifndef POROANALYSIS_H
6 #define POROANALYSIS_H
7 
8 #include "pzconslaw.h"
10 #include "pzstack.h"
11 #include "pzfmatrix.h"
12 #include <iostream>
13 
15 
16 public:
17 
18  TPZPoroElastoPlasticAnalysis(TPZCompMesh *mesh,std::ostream &out);
19 
21 
23 
24  virtual void Run(std::ostream &out,REAL tol, int numiter,
25  TPZPostProcAnalysis * ppAnalysis, int res);
27  virtual void Run(std::ostream &out = std::cout) {
28  TPZAnalysis::Run(out);
29  }
30 
35  virtual void SetDeltaT(const REAL deltaT);
36 
42  void SetInitialPorePressure(REAL initPress);
43 
44 protected:
45 
50  virtual REAL AcceptSolution(const int ResetOutputDisplacements = 0);
51 
53  int FindPorousMaterials();
54 
60  void SetAdvancedState();
61 
67  void SetLastState();
68 
77 
78 protected:
79 
82 
88 
89 };
90 
91 #endif
92 
void SetInitialPorePressure(REAL initPress)
Assembles and solves a L2 matrix to generate a constant pore pressure initial solution state Should b...
void SetContributionTime(TPZContributeTime time)
Informs the Analysis class the time at which the current solution in the computational mesh belongs...
static const double tol
Definition: pzgeoprism.cpp:23
virtual void SetDeltaT(const REAL deltaT)
Informs the pertinent poroelastoplastic materials the current timestep.
Contains TPZMatrixclass which implements full matrix (using column major representation).
void SetAdvancedState()
Sets the solution vector to be the one representing the Advanced State or the advanced implicit solut...
string res
Definition: test.py:151
void SetLastState()
Sets the solution vector to be the one representing the Current State or the last explicit solution...
virtual void Run(std::ostream &out=std::cout)
Calls the appropriate sequence of methods to build a solution or a time stepping sequence.
TPZStack< int > fPorousMaterialIds
Stores a list of Ids of all porous materials in the computational mehs.
virtual void Run(std::ostream &out=std::cout)
Calls the appropriate sequence of methods to build a solution or a time stepping sequence.
Definition: pzanalysis.cpp:920
A simple stack.
Contains the declaration of TPZElastoPlasticAnalysis class.
TPZFMatrix< REAL > fRhsLast
Stores the last state RHS assembled state, sparing computational time by avoiding evaluating the same...
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47
int FindPorousMaterials()
Searches in the computational mesh for all the porous material instantiations.
Contains the TPZConservationLaw class which implements the interface for conservation laws...
TPZContributeTime
Indicates which term is put in the right hand side and tangent matrix.
Definition: pzconslaw.h:47
virtual void Run(std::ostream &out, REAL tol, int numiter, TPZPostProcAnalysis *ppAnalysis, int res)
virtual REAL AcceptSolution(const int ResetOutputDisplacements=0)
Reimplemented in order to manage the different kinds of varibles. Displacements are incremental and p...