mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 23:15:35 -06:00
A large number of additions to start testing compressible tpfa-solver.
This commit is contained in:
parent
68cc76c5eb
commit
54120f795c
@ -20,6 +20,10 @@
|
||||
#ifndef OPM_BLACKOILDEFS_HEADER_INCLUDED
|
||||
#define OPM_BLACKOILDEFS_HEADER_INCLUDED
|
||||
|
||||
|
||||
#include <dune/common/fvector.hh>
|
||||
|
||||
|
||||
namespace Opm
|
||||
{
|
||||
|
||||
@ -31,6 +35,10 @@ namespace Opm
|
||||
|
||||
enum ComponentIndex { Water = 0, Gas = 1, Oil = 2 };
|
||||
enum PhaseIndex { Aqua = 0, Vapour = 1, Liquid = 2 };
|
||||
|
||||
typedef double Scalar;
|
||||
typedef Dune::FieldVector<Scalar, numComponents> CompVec;
|
||||
typedef Dune::FieldVector<Scalar, numPhases> PhaseVec;
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
Loading…
Reference in New Issue
Block a user