Opm::Elasticity::MortarEvaluator Class Reference

#include <mortar_evaluator.hpp>

Inheritance diagram for Opm::Elasticity::MortarEvaluator:
Inheritance graph

Public Types

enum  { category =Dune::SolverCategory::sequential }
 

Public Member Functions

 MortarEvaluator (const Matrix &A_, const Matrix &B_)
 Constructor. More...
 
void apply (const Vector &x, Vector &y) const
 Apply the multiplier block. More...
 
void applyscaleadd (field_type alpha, const Vector &x, Vector &y) const
 Apply the multiplier block with an embedded axpy. More...
 

Protected Attributes

const MatrixA
 Reference to A matrix. More...
 
const MatrixB
 Reference to the mortar coupling matrix. More...
 

Detailed Description

This implements a operator evaluation for the schur mortar-block S = B^T*A^-1*B !

Member Enumeration Documentation

anonymous enum
Enumerator
category 

The category the preconditioner is part of.

Constructor & Destructor Documentation

Opm::Elasticity::MortarEvaluator::MortarEvaluator ( const Matrix A_,
const Matrix B_ 
)
inline

Constructor.

Parameters
[in]AiEvaluator for A^-1
[in]BThe mortar coupling matrix

Member Function Documentation

void Opm::Elasticity::MortarEvaluator::apply ( const Vector x,
Vector y 
) const
inline

Apply the multiplier block.

Parameters
[in]xThe vector to apply the operator to
[out]yThe result of the operator evaluation

References A, B, Opm::Elasticity::MortarUtils::extractBlock(), and Opm::Elasticity::MortarUtils::injectBlock().

void Opm::Elasticity::MortarEvaluator::applyscaleadd ( field_type  alpha,
const Vector x,
Vector y 
) const
inline

Apply the multiplier block with an embedded axpy.

Parameters
[in]alphaThe scalar to scale with
[in]xThe vector to apply the operator to
[out]yThe result of the operator evaluation

References A, B, and Opm::Elasticity::MortarUtils::extractBlock().

Member Data Documentation

const Matrix& Opm::Elasticity::MortarEvaluator::A
protected

Reference to A matrix.

Referenced by apply(), and applyscaleadd().

const Matrix& Opm::Elasticity::MortarEvaluator::B
protected

Reference to the mortar coupling matrix.

Referenced by apply(), and applyscaleadd().


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