Public Member Functions |
Static Public Member Functions |
Protected Types |
Protected Member Functions |
Protected Attributes |
List of all members
Opm::Linear::ParallelAmgBackend< TypeTag > Class Template Reference Provides a linear solver backend using the parallel algebraic multi-grid (AMG) linear solver from DUNE-ISTL. More...
Inheritance diagram for Opm::Linear::ParallelAmgBackend< TypeTag >:
Detailed Descriptiontemplate<class TypeTag> class Opm::Linear::ParallelAmgBackend< TypeTag > Provides a linear solver backend using the parallel algebraic multi-grid (AMG) linear solver from DUNE-ISTL. Member Typedef Documentation◆ BorderListCreator
template<class TypeTag >
◆ Implementation
template<class TypeTag >
◆ OverlappingMatrix
template<class TypeTag >
◆ PreconditionerWrapper
template<class TypeTag >
◆ SequentialPreconditioner
template<class TypeTag >
Member Enumeration Documentation◆ anonymous enumConstructor & Destructor Documentation◆ ParallelAmgBackend()
template<class TypeTag >
Member Function Documentation◆ asImp_() [1/2]
template<class TypeTag >
◆ asImp_() [2/2]
template<class TypeTag >
◆ cleanup_()
template<class TypeTag >
References Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingb_, Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingMatrix_, and Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingx_. Referenced by Opm::Linear::ParallelBaseBackend< TypeTag >::eraseMatrix(), and Opm::Linear::ParallelBaseBackend< TypeTag >::~ParallelBaseBackend(). ◆ cleanupPreconditioner_()
template<class TypeTag >
◆ cleanupSolver_()
template<class TypeTag >
◆ eraseMatrix()
template<class TypeTag >
Causes the solve() method to discared the structure of the linear system of equations the next time it is called. References Opm::Linear::ParallelBaseBackend< TypeTag >::cleanup_(). ◆ getResidual()
template<class TypeTag >
Retrieve the synchronized internal residual vector. This only deals with entries which are local to the current process. References Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingb_. ◆ iterations()
template<class TypeTag >
Return number of iterations used during last solve. References Opm::Linear::ParallelBaseBackend< TypeTag >::lastIterations_. ◆ prepare()
template<class TypeTag >
Set up the internal data structures required for the linear solver. This only specified the topology of the linear system of equations; it does does not assign the values of the residual vector and its Jacobian matrix. References Opm::Linear::ParallelBaseBackend< TypeTag >::asImp_(), Opm::Linear::ParallelBaseBackend< TypeTag >::gridSequenceNumber_, Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingb_, Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingMatrix_, Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingx_, and Opm::Linear::ParallelBaseBackend< TypeTag >::simulator_. ◆ preparePreconditioner_()
template<class TypeTag >
References Opm::Linear::ParallelAmgBackend< TypeTag >::amg_, Opm::Linear::ParallelAmgBackend< TypeTag >::fineOperator_, Opm::Linear::ParallelAmgBackend< TypeTag >::istlComm_, Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingMatrix_, Opm::Linear::ParallelAmgBackend< TypeTag >::setupAmg_(), and Opm::Linear::ParallelAmgBackend< TypeTag >::setupAmgIndexSet_(). ◆ prepareSolver_()
template<class TypeTag >
◆ registerParameters()
template<class TypeTag >
◆ runSolver_()
template<class TypeTag >
◆ setMatrix()
template<class TypeTag >
Sets the values of the residual's Jacobian matrix. This method also synchronizes the data structure across the processes which are involved in the simulation run. References Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingMatrix_. ◆ setResidual()
template<class TypeTag >
Assign values to the internal data structure for the residual vector. This method also cares about synchronizing that vector with the peer processes. References Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingb_. ◆ setupAmg_()
template<class TypeTag >
References Opm::Linear::ParallelAmgBackend< TypeTag >::amg_, Opm::Linear::ParallelAmgBackend< TypeTag >::fineOperator_, Opm::Linear::ParallelAmgBackend< TypeTag >::istlComm_, Opm::Linear::ParallelAmgBackend< TypeTag >::setUseFixedOrder(), and Opm::Linear::ParallelBaseBackend< TypeTag >::simulator_. Referenced by Opm::Linear::ParallelAmgBackend< TypeTag >::preparePreconditioner_(). ◆ setupAmgIndexSet_()
template<class TypeTag >
template<class ParallelIndexSet >
◆ setUseFixedOrder() [1/2]
template<class TypeTag >
template<typename C >
Referenced by Opm::Linear::ParallelAmgBackend< TypeTag >::setupAmg_(). ◆ setUseFixedOrder() [2/2]
template<class TypeTag >
template<typename C >
◆ solve()
template<class TypeTag >
Actually solve the linear system of equations.
References Opm::Linear::ParallelBaseBackend< TypeTag >::asImp_(), Opm::Linear::ParallelBaseBackend< TypeTag >::lastIterations_, Opm::make_guard(), Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingMatrix_, and Opm::Linear::ParallelBaseBackend< TypeTag >::overlappingx_. ◆ writeOverlapToVTK_()
template<class TypeTag >
Member Data Documentation◆ amg_
template<class TypeTag >
◆ convCrit_
template<class TypeTag >
Referenced by Opm::Linear::ParallelAmgBackend< TypeTag >::prepareSolver_(). ◆ fineOperator_
template<class TypeTag >
◆ gridSequenceNumber_
template<class TypeTag >
Referenced by Opm::Linear::ParallelBaseBackend< TypeTag >::prepare(). ◆ istlComm_
template<class TypeTag >
◆ lastIterations_
template<class TypeTag >
◆ overlappingb_
template<class TypeTag >
Referenced by Opm::Linear::ParallelBaseBackend< TypeTag >::cleanup_(), Opm::Linear::ParallelBaseBackend< TypeTag >::getResidual(), Opm::Linear::ParallelBaseBackend< TypeTag >::ParallelBaseBackend(), Opm::Linear::ParallelBaseBackend< TypeTag >::prepare(), Opm::Linear::ParallelAmgBackend< TypeTag >::prepareSolver_(), Opm::Linear::ParallelBiCGStabSolverBackend< TypeTag >::prepareSolver_(), Opm::Linear::ParallelIstlSolverBackend< TypeTag >::runSolver_(), and Opm::Linear::ParallelBaseBackend< TypeTag >::setResidual(). ◆ overlappingMatrix_
template<class TypeTag >
Referenced by Opm::Linear::ParallelBaseBackend< TypeTag >::cleanup_(), Opm::Linear::ParallelBaseBackend< TypeTag >::ParallelBaseBackend(), Opm::Linear::ParallelBaseBackend< TypeTag >::prepare(), Opm::Linear::ParallelAmgBackend< TypeTag >::preparePreconditioner_(), Opm::Linear::ParallelBaseBackend< TypeTag >::preparePreconditioner_(), Opm::Linear::ParallelBaseBackend< TypeTag >::setMatrix(), Opm::Linear::ParallelBaseBackend< TypeTag >::solve(), and Opm::Linear::ParallelBaseBackend< TypeTag >::writeOverlapToVTK_(). ◆ overlappingx_
template<class TypeTag >
Referenced by Opm::Linear::ParallelBaseBackend< TypeTag >::cleanup_(), Opm::Linear::ParallelBaseBackend< TypeTag >::ParallelBaseBackend(), Opm::Linear::ParallelBaseBackend< TypeTag >::prepare(), Opm::Linear::ParallelAmgBackend< TypeTag >::runSolver_(), Opm::Linear::ParallelBiCGStabSolverBackend< TypeTag >::runSolver_(), Opm::Linear::ParallelIstlSolverBackend< TypeTag >::runSolver_(), and Opm::Linear::ParallelBaseBackend< TypeTag >::solve(). ◆ ParentType
template<class TypeTag >
◆ precWrapper_
template<class TypeTag >
◆ simulator_
template<class TypeTag >
Referenced by Opm::Linear::ParallelBaseBackend< TypeTag >::prepare(), Opm::Linear::ParallelBaseBackend< TypeTag >::preparePreconditioner_(), Opm::Linear::ParallelAmgBackend< TypeTag >::prepareSolver_(), Opm::Linear::ParallelBiCGStabSolverBackend< TypeTag >::prepareSolver_(), Opm::Linear::ParallelAmgBackend< TypeTag >::setupAmg_(), and Opm::Linear::ParallelBaseBackend< TypeTag >::writeOverlapToVTK_(). The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||