Opm::WellDofLayout Struct Reference

#include <SystemTypes.hpp>

Public Member Functions

bool isPressureControlled (const std::size_t j) const
 
std::size_t numWells () const
 
std::size_t firstBlock (const std::size_t j) const
 
std::size_t endBlock (const std::size_t j) const
 
std::size_t totalWellBlocks () const
 
std::optional< std::size_t > wellOfBlock (const std::size_t blockRow) const
 

Public Attributes

std::vector< std::size_t > wellBlockOffsets
 
int pressureVariableIndex = numWellDofs - 1
 
std::vector< char > pressureControlled
 
bool identityOnPressureControl = false
 

Member Function Documentation

◆ endBlock()

std::size_t Opm::WellDofLayout::endBlock ( const std::size_t  j) const
inline

References wellBlockOffsets.

◆ firstBlock()

std::size_t Opm::WellDofLayout::firstBlock ( const std::size_t  j) const
inline

References wellBlockOffsets.

◆ isPressureControlled()

bool Opm::WellDofLayout::isPressureControlled ( const std::size_t  j) const
inline

◆ numWells()

std::size_t Opm::WellDofLayout::numWells ( ) const
inline

References wellBlockOffsets.

◆ totalWellBlocks()

std::size_t Opm::WellDofLayout::totalWellBlocks ( ) const
inline

References wellBlockOffsets.

◆ wellOfBlock()

std::optional< std::size_t > Opm::WellDofLayout::wellOfBlock ( const std::size_t  blockRow) const
inline

References wellBlockOffsets.

Member Data Documentation

◆ identityOnPressureControl

bool Opm::WellDofLayout::identityOnPressureControl = false

Referenced by isPressureControlled().

◆ pressureControlled

std::vector<char> Opm::WellDofLayout::pressureControlled

Referenced by isPressureControlled().

◆ pressureVariableIndex

int Opm::WellDofLayout::pressureVariableIndex = numWellDofs - 1

◆ wellBlockOffsets

std::vector<std::size_t> Opm::WellDofLayout::wellBlockOffsets

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