9 static LoggerPtr PoroAnalysisLogger(Logger::getLogger(
"analysis.poro"));
34 std::stringstream sout;
35 sout <<
"<<< TPZPoroElastoPlasticAnalysis::~TPZPoroElastoPlasticAnalysis() *** Killing Object\n";
36 LOGPZ_INFO(PoroAnalysisLogger,sout.str().c_str());
83 for(i = 0; i < n; i++)
95 for(i = 0; i < n; i++)
108 for(i = 0; i < n; i++)
123 std::stringstream sout;
124 sout <<
">>> TPZPoroElastoPlasticAnalysis::Run() ***";
125 LOGPZ_INFO(PoroAnalysisLogger,sout.str().c_str());
129 bool linesearch =
false;
130 bool checkconv =
false;
136 std::stringstream sout;
137 sout <<
"*** TPZPoroElastoPlasticAnalysis::Run() *** IterativeProcess() completed";
138 LOGPZ_INFO(PoroAnalysisLogger,sout.str().c_str());
148 std::stringstream sout;
149 sout <<
"*** TPZPoroElastoPlasticAnalysis::Run() *** PostProcessing ";
150 LOGPZ_INFO(PoroAnalysisLogger,sout.str().c_str());
159 std::stringstream sout;
160 sout <<
"<<< TPZPoroElastoPlasticAnalysis::ManageIterativeProcess() *** Exiting";
161 LOGPZ_INFO(PoroAnalysisLogger,sout.str().c_str());
173 for(i = 0; i < n; i++)
182 if(ResetOutputDisplacements)
191 std::stringstream sout;
192 sout <<
">>> TPZPoroElastoPlasticAnalysis::AcceptSolution *** " 194 LOGPZ_INFO(PoroAnalysisLogger,sout.str().c_str());
void SetUpdateMem(int update)
Forces the materials with memory to update the internal plastic memory during the subsequent assemble...
Contains definitions to LOGPZ_DEBUG, LOGPZ_INFO, LOGPZ_WARN, LOGPZ_ERROR and LOGPZ_FATAL, and the implementation of the inline InitializePZLOG(string) function using log4cxx library or not. It must to be called out of "#ifdef LOG4CXX" scope.
TPZFMatrix< STATE > fSolution
Solution vector.
virtual void SetDeltaT(const REAL deltaT)
int64_t NEquations()
This computes the number of equations associated with non-restrained nodes.
TPZFMatrix< REAL > fCumSol
TPZCompMesh * fCompMesh
Computational mesh.
virtual void Assemble()
Assemble the stiffness matrix and load vector.
virtual int NStateVariables() const =0
Returns the number of state variables associated with the material.
size_t NMaterials() const
Number of materials.
virtual void Resize(const int64_t newsize, const T &object)
Resizes the vector object.
TPZPoroElastoPlasticAnalysis()
void TransferSolution(TPZPostProcAnalysis &ppanalysis)
void SetContributionTime(TPZContributeTime time)
Informs the Analysis class the time at which the current solution in the computational mesh belongs...
This abstract class defines the behaviour which each derived class needs to implement.
int Zero() override
Makes Zero all the elements.
void LoadSolution(const TPZFMatrix< STATE > &sol)
Given the solution of the global system of equations, computes and stores the solution for the restri...
void Push(const T object)
Pushes a copy of the object on the stack.
#define LOGPZ_INFO(A, B)
Define log for informations.
virtual void LoadSolution()
Load the solution into the computable grid.
virtual void SetDeltaT(const REAL deltaT)
Informs the pertinent poroelastoplastic materials the current timestep.
TVar Norm(const TPZFMatrix< TVar > &A)
Returns the norm of the matrix A.
void SetAdvancedState()
Sets the solution vector to be the one representing the Advanced State or the advanced implicit solut...
virtual void IterativeProcess(std::ostream &out, REAL tol, int numiter, int niter_update_jac, bool linesearch)
Iterative process using the linear elastic material as tangent matrix.
TPZMaterial * FindMaterial(int id)
Find the material with identity id.
int64_t Rows() const
Returns number of rows.
virtual ~TPZPoroElastoPlasticAnalysis()
void SetLastState()
Sets the solution vector to be the one representing the Current State or the last explicit solution...
virtual void PostProcess(int resolution)
Draw solution over mesh for all dimensions.
int Redim(const int64_t newRows, const int64_t newCols) override
Redimension a matrix and ZERO your elements.
TPZStack< int > fPorousMaterialIds
Stores a list of Ids of all porous materials in the computational mehs.
std::map< int,TPZMaterial *> & MaterialVec()
Returns a reference to the material pointers vector.
virtual void SetContributionTime(TPZContributeTime time)
TPZFMatrix< REAL > fRhsLast
Stores the last state RHS assembled state, sparing computational time by avoiding evaluating the same...
Implements computational mesh. Computational Mesh.
Contains TPZSolver class which defines a abstract class of solvers which will be used by matrix class...
int FindPorousMaterials()
Searches in the computational mesh for all the porous material instantiations.
int64_t NElements() const
Returns the number of elements of the vector.
TPZFMatrix< STATE > & Rhs()
Returns the load vector.
TPZFMatrix< STATE > fRhs
Load vector.
TPZContributeTime
Indicates which term is put in the right hand side and tangent matrix.
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...