Opm::Elasticity::MPC::Less Class Reference

Comparison predicate for MPCs. More...

#include <mpc.hh>

Public Member Functions

bool operator() (const MPC *lhs, const MPC *rhs) const
 Comparison operator used when inserting an MPC-pointer into a set<MPC*,MPC::Less> object. More...
 

Static Public Attributes

static bool compareSlaveDofOnly
 Indicates whether only the slave dof number should affect sorting. More...
 

Detailed Description

Comparison predicate for MPCs.

Member Function Documentation

bool Opm::Elasticity::MPC::Less::operator() ( const MPC lhs,
const MPC rhs 
) const

Comparison operator used when inserting an MPC-pointer into a set<MPC*,MPC::Less> object.

Member Data Documentation

bool Opm::Elasticity::MPC::Less::compareSlaveDofOnly
static

Indicates whether only the slave dof number should affect sorting.

The default is to also compare the associated coefficients.


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