Opm::Elasticity::OperatorApplier< T > Struct Template Reference

Class abstracting a preconditioner or an inverse operator. More...

#include <applier.hpp>

Public Member Functions

 OperatorApplier (T &t)
 Constructor. More...
 
void apply (Vector &v, Vector &d)
 Apply the given operator to a vector. More...
 
void pre (Vector &x, Vector &b)
 Preprocess a preconditioner, noop for an inverse operator. More...
 
void post (Vector &x)
 Postprocess a preconditioner, noop for an inverse operator. More...
 

Public Attributes

T & A
 

Detailed Description

template<class T>
struct Opm::Elasticity::OperatorApplier< T >

Class abstracting a preconditioner or an inverse operator.

Constructor & Destructor Documentation

template<class T>
Opm::Elasticity::OperatorApplier< T >::OperatorApplier ( T &  t)
inline

Constructor.

Parameters
[in]tThe preconditioner or inverse operator

Member Function Documentation

void Opm::Elasticity::PreApplier::apply ( Vector v,
Vector d 
)

Apply the given operator to a vector.

Parameters
[out]vThe result
[in]dThe vector to apply to

References Opm::Elasticity::OperatorApplier< T >::A.

void Opm::Elasticity::PreApplier::post ( Vector x)

Postprocess a preconditioner, noop for an inverse operator.

Parameters
in/out]x The final solution
void Opm::Elasticity::PreApplier::pre ( Vector x,
Vector b 
)

Preprocess a preconditioner, noop for an inverse operator.

Parameters
in/out]b The load vector
in/out]x The initial (guessed) solution

Member Data Documentation


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