Opm::Elasticity::MortarUtils Class Reference

#include <mortar_utils.hpp>

Static Public Member Functions

static void extractBlock (Vector &x, const Vector &y, int len, int start=0)
 Extract a range of indices from a vector. More...
 
static void injectBlock (Vector &x, const Vector &y, int len, int start=0)
 Inject a range of indices into a vector. More...
 

Member Function Documentation

static void Opm::Elasticity::MortarUtils::extractBlock ( Vector x,
const Vector y,
int  len,
int  start = 0 
)
inlinestatic

Extract a range of indices from a vector.

Parameters
[out]xThe vector with the extracted data
[in]yThe vector
[in]lenThe number of indices to extract
[in]startThe first index in the range

References Opm::Elasticity::start.

Referenced by Opm::Elasticity::MortarEvaluator::apply(), Opm::Elasticity::UzawaSolver< X, Y >::apply(), Opm::Elasticity::MortarSchurPre< PrecondElasticityBlock >::apply(), Opm::Elasticity::MortarEvaluator::applyscaleadd(), and Opm::Elasticity::MortarSchurPre< PrecondElasticityBlock >::pre().

static void Opm::Elasticity::MortarUtils::injectBlock ( Vector x,
const Vector y,
int  len,
int  start = 0 
)
inlinestatic

Inject a range of indices into a vector.

Parameters
in/out]x The vector to inject into
[in]yThe vector with the data to inject
[in]lenThe number of indices to inject
[in]startThe first index in the range

References Opm::Elasticity::start.

Referenced by Opm::Elasticity::MortarEvaluator::apply(), Opm::Elasticity::UzawaSolver< X, Y >::apply(), Opm::Elasticity::MortarSchurPre< PrecondElasticityBlock >::apply(), and Opm::Elasticity::MortarSchurPre< PrecondElasticityBlock >::pre().


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