Opm::FvBaseConstraints< TypeTag > Class Template Reference

Class to specify constraints for a finite volume spatial discretization. More...

#include <fvbaseconstraints.hh>

Inheritance diagram for Opm::FvBaseConstraints< TypeTag >:
Inheritance graph

Public Member Functions

 FvBaseConstraints ()
 
 FvBaseConstraints (const FvBaseConstraints &)=default
 
bool isActive () const
 Returns true if the constraints are enforced. More...
 
void setActive (bool yesno)
 Specify whether the constraints should be enforced or not. More...
 

Detailed Description

template<class TypeTag>
class Opm::FvBaseConstraints< TypeTag >

Class to specify constraints for a finite volume spatial discretization.

Note that eWoms does not support "partial" constraints. (I.e., either all equations must be constraint or none.)

Constructor & Destructor Documentation

◆ FvBaseConstraints() [1/2]

template<class TypeTag >
Opm::FvBaseConstraints< TypeTag >::FvBaseConstraints ( )
inline

◆ FvBaseConstraints() [2/2]

template<class TypeTag >
Opm::FvBaseConstraints< TypeTag >::FvBaseConstraints ( const FvBaseConstraints< TypeTag > &  )
default

Member Function Documentation

◆ isActive()

template<class TypeTag >
bool Opm::FvBaseConstraints< TypeTag >::isActive ( ) const
inline

Returns true if the constraints are enforced.

◆ setActive()

template<class TypeTag >
void Opm::FvBaseConstraints< TypeTag >::setActive ( bool  yesno)
inline

Specify whether the constraints should be enforced or not.

Referenced by Opm::FvBaseConstraints< TypeTag >::FvBaseConstraints().


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