opm-upscaling
Loading...
Searching...
No Matches
Opm::Elasticity::MortarUtils Class Reference

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.
static void injectBlock (Vector &x, const Vector &y, int len, int start=0)
 Inject a range of indices into a vector.

Member Function Documentation

◆ extractBlock()

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

◆ injectBlock()

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]xThe 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

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