opm-common
EclTwoPhaseMaterialParams.hpp File Reference

Implementation for the parameters required by the material law for two-phase simulations. More...

#include <memory>
#include <opm/common/utility/gpuDecorators.hpp>
#include <opm/material/common/EnsureFinalized.hpp>

Go to the source code of this file.

Classes

class  Opm::EclTwoPhaseMaterialParams< Traits, GasOilParamsT, OilWaterParamsT, GasWaterParamsT, StoragePolicy >
 Implementation for the parameters required by the material law for two-phase simulations. More...
 

Namespaces

 Opm
 This class implements a small container which holds the transmissibility mulitpliers for all the faces in the grid.
 

Enumerations

enum  EclTwoPhaseApproach { GasOil, OilWater, GasWater }
 

Detailed Description

Implementation for the parameters required by the material law for two-phase simulations.

Essentially, this class just stores the two parameter objects for the twophase capillary pressure laws.

The StoragePolicy template parameter selects how the per-sub-law parameter objects are stored. By default they are heap-allocated and referenced through std::shared_ptr; instantiations targeting the GPU may pass an inline-storage policy such as Opm::gpuistl::ValueAsPointer so that the resulting object is trivially copyable to the device.