|
tpsanewtonmethod.hpp
Go to the documentation of this file.
157 // The preSolve_() method usually computes the errors, but it can do something else in addition.
173 // Solve A x = b, where b is the residual, A is its Jacobian and x is the update of the solution
A simple class which makes sure that a timer gets stopped if an exception is thrown. Definition: timerguard.hh:42 double realTimeElapsed() const Return the real time [s] elapsed during the periods the timer was active since the last reset. Newton method solving for generic TPSA model. Definition: tpsanewtonmethod.hpp:58 Scalar tolerance() const Return the current tolerance at which the Newton method considers itself to be converged. Definition: tpsanewtonmethod.hpp:344 void update_(SolutionVector &nextSolution, const SolutionVector ¤tSolution, const GlobalEqVector &solutionUpdate, const GlobalEqVector ¤tResidual) Update the current solution with a delta vector. Definition: tpsanewtonmethod.hpp:471 int numLinearizations() const Returns the number of linearizations that has done since the Newton method was invoked. Definition: tpsanewtonmethod.hpp:336 Problem & problem() Returns a reference to the object describing the current physical problem. Definition: tpsanewtonmethod.hpp:280 static void registerParameters() Register all run-time parameters for the Newton method. Definition: tpsanewtonmethod.hpp:95 void endIteration_() Indicates that one Newton iteration was finished. Definition: tpsanewtonmethod.hpp:515 const Timer & solveTimer() const Return linear solver timer. Definition: tpsanewtonmethod.hpp:376 const Model & model() const Returns a reference to the geomechanics model. Definition: tpsanewtonmethod.hpp:304 Timer prePostProcessTimer_ Definition: tpsanewtonmethod.hpp:563 TpsaNewtonMethod(Simulator &simulator) Constructor. Definition: tpsanewtonmethod.hpp:80 LinearSolverBackend linearSolver_ Definition: tpsanewtonmethod.hpp:561 const Timer & linearizeTimer() const Return linearization timer. Definition: tpsanewtonmethod.hpp:368 Scalar minIterations() const Returns minimum number of Newton iterations used. Definition: tpsanewtonmethod.hpp:352 void beginIteration_() Calculations at the beginning of a Newton iteration. Definition: tpsanewtonmethod.hpp:411 bool converged() const Returns true if the error of the solution is below the tolerance. Definition: tpsanewtonmethod.hpp:272 bool proceed_() const Returns true iff another Newton iteration should be done. Definition: tpsanewtonmethod.hpp:533 int numIterations() const Returns the number of iterations done since the Newton method was invoked. Definition: tpsanewtonmethod.hpp:328 void linearizeDomain_() Linearize the global non-linear system of equations associated with the spatial domain. Definition: tpsanewtonmethod.hpp:420 const LinearSolverBackend & linearSolver() const Returns the linear solver backend object for external use. Definition: tpsanewtonmethod.hpp:320 void updatePrimaryVariables_(unsigned, PrimaryVariables &nextValue, const PrimaryVariables ¤tValue, const EqVector &update, const EqVector &) Update a single primary variables object. Definition: tpsanewtonmethod.hpp:502 LinearSolverBackend & linearSolver() Returns the linear solver backend object for external use. Definition: tpsanewtonmethod.hpp:312 const Timer & prePostProcessTimer() const Return post-process timer. Definition: tpsanewtonmethod.hpp:360 const Problem & problem() const Returns a reference to the object describing the current physical problem. Definition: tpsanewtonmethod.hpp:288 Model & model() Returns a reference to the geomechanics model. Definition: tpsanewtonmethod.hpp:296 void begin_() Called before the Newton method is applied to an non-linear system of equations. Definition: tpsanewtonmethod.hpp:401 TpsaNewtonMethodParams< Scalar > params_ Definition: tpsanewtonmethod.hpp:570 void failed_() Called if the Newton method broke down. Definition: tpsanewtonmethod.hpp:557 void preSolve_(const SolutionVector &, const GlobalEqVector ¤tResidual) Compute error before a Newton iteration. Definition: tpsanewtonmethod.hpp:432 const Timer & updateTimer() const Return solution update timer. Definition: tpsanewtonmethod.hpp:384 int verbosity_() const Verbosity level of Newton print messages. Definition: tpsanewtonmethod.hpp:395 Definition: blackoilbioeffectsmodules.hh:45 typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(.... Definition: propertysystem.hh:233 std::string to_string(const ConvergenceReport::ReservoirFailure::Type t) Struct holding the parameters for TpsaNewtonMethod. Definition: tpsanewtonmethodparams.hpp:60 static void registerParameters() |