Public Member Functions |
Static Public Member Functions |
Protected Types |
Protected Member Functions |
Protected Attributes |
List of all members
Opm::Linear::ParallelBaseBackend< TypeTag > Class Template Reference Provides the common code which is required by most linear solvers. More...
Inheritance diagram for Opm::Linear::ParallelBaseBackend< TypeTag >:
Detailed Descriptiontemplate<class TypeTag> class Opm::Linear::ParallelBaseBackend< TypeTag > Provides the common code which is required by most linear solvers. This class provides access to all preconditioners offered by dune-istl using the PreconditionerWrapper property: template<class TypeTag>
struct PreconditionerWrapper<TypeTag, TTag::YourTypeTag>
{ using type = Opm::Linear::PreconditionerWrapper$PRECONDITIONER<TypeTag>; };
GetPropType< TypeTag, Properties::PreconditionerWrapper > PreconditionerWrapper Definition: parallelbasebackend.hh:125 Where the choices possible for '
Member Typedef Documentation◆ BorderListCreator
template<class TypeTag >
◆ GridView
template<class TypeTag >
◆ Implementation
template<class TypeTag >
◆ LinearSolverScalar
template<class TypeTag >
◆ Overlap
template<class TypeTag >
◆ OverlappingMatrix
template<class TypeTag >
◆ OverlappingVector
template<class TypeTag >
◆ ParallelOperator
template<class TypeTag >
◆ ParallelPreconditioner
template<class TypeTag >
◆ ParallelScalarProduct
template<class TypeTag >
◆ PreconditionerWrapper
template<class TypeTag >
◆ Scalar
template<class TypeTag >
◆ SequentialPreconditioner
template<class TypeTag >
◆ Simulator
template<class TypeTag >
◆ SparseMatrixAdapter
template<class TypeTag >
◆ Vector
template<class TypeTag >
Member Enumeration Documentation◆ anonymous enumConstructor & Destructor Documentation◆ ParallelBaseBackend()
template<class TypeTag >
◆ ~ParallelBaseBackend()
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 >
◆ 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 >
◆ registerParameters()
template<class TypeTag >
Register all run-time parameters for the linear solver. Referenced by Opm::Linear::ParallelAmgBackend< TypeTag >::registerParameters(), Opm::Linear::ParallelBiCGStabSolverBackend< TypeTag >::registerParameters(), and Opm::Linear::ParallelIstlSolverBackend< TypeTag >::registerParameters(). ◆ 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_. ◆ 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◆ gridSequenceNumber_
template<class TypeTag >
Referenced by Opm::Linear::ParallelBaseBackend< TypeTag >::prepare(). ◆ 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(). ◆ 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: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||