|
tpsanewtonmethod.hpp
Go to the documentation of this file.
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:57 int numTotLinearIterations_ Definition: tpsanewtonmethod.hpp:621 Scalar tolerance() const Return the current tolerance at which the Newton method considers itself to be converged. Definition: tpsanewtonmethod.hpp:368 void update_(SolutionVector &nextSolution, const SolutionVector ¤tSolution, const GlobalEqVector &solutionUpdate, const GlobalEqVector ¤tResidual) Update the current solution with a delta vector. Definition: tpsanewtonmethod.hpp:513 int numTotLinearIterations() const Returns the number of linear solver iterations done since the Newton method was invoked. Definition: tpsanewtonmethod.hpp:360 bool singleIteration_() const Whether the Newton method is limited to a single iteration. Definition: tpsanewtonmethod.hpp:430 int numLinearizations() const Returns the number of linearizations that has done since the Newton method was invoked. Definition: tpsanewtonmethod.hpp:352 Problem & problem() Returns a reference to the object describing the current physical problem. Definition: tpsanewtonmethod.hpp:296 static void registerParameters() Register all run-time parameters for the Newton method. Definition: tpsanewtonmethod.hpp:96 void endIteration_() Indicates that one Newton iteration was finished. Definition: tpsanewtonmethod.hpp:557 const Timer & solveTimer() const Return linear solver timer. Definition: tpsanewtonmethod.hpp:400 const Model & model() const Returns a reference to the geomechanics model. Definition: tpsanewtonmethod.hpp:320 Timer prePostProcessTimer_ Definition: tpsanewtonmethod.hpp:609 TpsaNewtonMethod(Simulator &simulator) Constructor. Definition: tpsanewtonmethod.hpp:79 LinearSolverBackend linearSolver_ Definition: tpsanewtonmethod.hpp:607 const Timer & linearizeTimer() const Return linearization timer. Definition: tpsanewtonmethod.hpp:392 Scalar minIterations() const Returns minimum number of Newton iterations used. Definition: tpsanewtonmethod.hpp:376 void beginIteration_() Calculations at the beginning of a Newton iteration. Definition: tpsanewtonmethod.hpp:448 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:574 int numIterations() const Returns the number of iterations done since the Newton method was invoked. Definition: tpsanewtonmethod.hpp:344 Scalar initialError() const Returns the error of the first linearization of the last apply(). Definition: tpsanewtonmethod.hpp:280 void linearizeDomain_() Linearize the global non-linear system of equations associated with the spatial domain. Definition: tpsanewtonmethod.hpp:457 const LinearSolverBackend & linearSolver() const Returns the linear solver backend object for external use. Definition: tpsanewtonmethod.hpp:336 void updatePrimaryVariables_(unsigned, PrimaryVariables &nextValue, const PrimaryVariables ¤tValue, const EqVector &update, const EqVector &) Update a single primary variables object. Definition: tpsanewtonmethod.hpp:544 bool initiallyConverged() const Returns true if the state handed to the last apply() already solved the system. Definition: tpsanewtonmethod.hpp:288 LinearSolverBackend & linearSolver() Returns the linear solver backend object for external use. Definition: tpsanewtonmethod.hpp:328 const Timer & prePostProcessTimer() const Return post-process timer. Definition: tpsanewtonmethod.hpp:384 const Problem & problem() const Returns a reference to the object describing the current physical problem. Definition: tpsanewtonmethod.hpp:304 Model & model() Returns a reference to the geomechanics model. Definition: tpsanewtonmethod.hpp:312 void begin_() Called before the Newton method is applied to an non-linear system of equations. Definition: tpsanewtonmethod.hpp:436 TpsaNewtonMethodParams< Scalar > params_ Definition: tpsanewtonmethod.hpp:617 void failed_() Called if the Newton method broke down. Definition: tpsanewtonmethod.hpp:603 void preSolve_(const SolutionVector &, const GlobalEqVector ¤tResidual) Compute error before a Newton iteration. Definition: tpsanewtonmethod.hpp:469 const Timer & updateTimer() const Return solution update timer. Definition: tpsanewtonmethod.hpp:408 int verbosity_() const Verbosity level of Newton print messages. Definition: tpsanewtonmethod.hpp:419 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:57 static void registerParameters() |