opm-simulators
Opm::FlowsContainer< FluidSystem > Class Template Reference

Public Member Functions

 FlowsContainer (const Schedule &schedule, const SummaryConfig &summaryConfig, std::function< bool(const int)>)
 
void allocate (const std::size_t bufferSize, const SummaryConfig &summaryConfig, const unsigned numOutputNnc, const bool allocRestart, std::map< std::string, int > &rstKeywords)
 
void assignFlores (const unsigned globalDofIdx, const int faceId, const unsigned nncId, const Scalar gas, const Scalar oil, const Scalar water)
 
void assignBlockVelocity (const unsigned globalDofIdx, const int faceId, const int comp_idx, const Scalar velocity)
 
void assignBlockFlows (const unsigned globalDofIdx, const int faceId, const int comp_idx, const Scalar flow)
 
void assignFlows (const unsigned globalDofIdx, const int faceId, const unsigned nncId, const Scalar gas, const Scalar oil, const Scalar water)
 
void outputRestart (data::Solution &sol)
 
const std::array< FlowsData< double >, 3 > & getFlowsn () const
 
bool hasFlowsn () const
 
bool hasFlows () const
 
const std::vector< int > blockVelocity () const
 
const std::vector< int > blockFlows () const
 
unsigned blockFlowsIds (const unsigned globalDofIdx, const int dir, const int comp_idx) const
 
unsigned blockVelocityIds (const unsigned globalDofIdx, const int dir, const int comp_idx) const
 
bool anyFlows () const
 
const std::array< FlowsData< double >, 3 > & getFloresn () const
 
bool hasFloresn () const
 
bool hasFlores () const
 
bool anyFlores () const
 
bool hasBlockVelocityValue (const unsigned globalDofIdx, const int dir, const int comp_idx) const
 
bool hasBlockFlowValue (const unsigned globalDofIdx, const int dir, const int comp_idx) const
 
Scalar getVelocity (const unsigned globalDofIdx, const FaceDir::DirEnum dir, const int comp_idx) const
 
Scalar getFlow (const unsigned globalDofIdx, const FaceDir::DirEnum dir, const int comp_idx) const
 

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