Opm::SubDomain< Grid > Struct Template Reference

#include <SubDomain.hpp>

Inheritance diagram for Opm::SubDomain< Grid >:
Inheritance graph

Public Member Functions

 SubDomain (const int i, std::vector< int > &&c, std::vector< bool > &&in, Dune::SubGridPart< Grid > &&v, bool s)
 
 SubDomain (const int i, std::vector< int > &&c, std::vector< int > &&ov, std::vector< bool > &&in, Dune::SubGridPart< Grid > &&v, bool s)
 
bool hasOverlap () const
 

Public Attributes

Dune::SubGridPart< Grid > view
 
int index
 
std::vector< int > cells
 
std::vector< int > interior_cells
 
std::vector< bool > interior
 
bool skip
 

Detailed Description

template<class Grid>
struct Opm::SubDomain< Grid >

Representing a part of a grid, in a way suitable for performing local solves.

Constructor & Destructor Documentation

◆ SubDomain() [1/2]

template<class Grid >
Opm::SubDomain< Grid >::SubDomain ( const int  i,
std::vector< int > &&  c,
std::vector< bool > &&  in,
Dune::SubGridPart< Grid > &&  v,
bool  s 
)
inline

◆ SubDomain() [2/2]

template<class Grid >
Opm::SubDomain< Grid >::SubDomain ( const int  i,
std::vector< int > &&  c,
std::vector< int > &&  ov,
std::vector< bool > &&  in,
Dune::SubGridPart< Grid > &&  v,
bool  s 
)
inline

Member Function Documentation

◆ hasOverlap()

bool Opm::SubDomainIndices::hasOverlap ( ) const
inlineinherited

Member Data Documentation

◆ cells

◆ index

◆ interior

std::vector<bool> Opm::SubDomainIndices::interior
inherited

◆ interior_cells

std::vector<int> Opm::SubDomainIndices::interior_cells
inherited

◆ skip

bool Opm::SubDomainIndices::skip
inherited

◆ view

template<class Grid >
Dune::SubGridPart<Grid> Opm::SubDomain< Grid >::view

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