opm-simulators
Loading...
Searching...
No Matches
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
LocalContextGuard & operator= (const LocalContextGuard &)=delete
 LocalContextGuard (LocalContextGuard &&)=delete
LocalContextGuard & operator= (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: