opm-simulators
Opm::LocalContextGuard< Problem > Class Template Reference

RAII guard for NLDD domain-local iteration context. More...

#include <NewtonIterationContext.hpp>

Public Member Functions

 LocalContextGuard (Problem &problem)
 
 LocalContextGuard (const LocalContextGuard &)=delete
 
LocalContextGuardoperator= (const LocalContextGuard &)=delete
 
 LocalContextGuard (LocalContextGuard &&)=delete
 
LocalContextGuardoperator= (LocalContextGuard &&)=delete
 
NewtonIterationContextcontext ()
 
const NewtonIterationContextcontext () const
 

Detailed Description

template<class Problem>
class Opm::LocalContextGuard< Problem >

RAII guard for NLDD domain-local iteration context.

Saves the current context on the problem, installs a local-solve context, and restores the original on destruction.


The documentation for this class was generated from the following file: