mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
use BlackOilFluidState from opm-material
this has recently been moved there. Since redundancy is considered to be bad, switch eWoms to it. I've tested this with Norne: No measureable difference, as expected.
This commit is contained in:
parent
6fcfd3a363
commit
c0f013e25e
@ -1,54 +0,0 @@
|
||||
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
// vi: set et ts=4 sw=4 sts=4:
|
||||
/*
|
||||
This file is part of the Open Porous Media project (OPM).
|
||||
|
||||
OPM is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
OPM is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Consult the COPYING file in the top-level source directory of this
|
||||
module for the precise wording of the license and the list of
|
||||
copyright holders.
|
||||
*/
|
||||
/*!
|
||||
* \file
|
||||
*
|
||||
* \brief This test ensures that the API of the black-oil fluid state conforms to the
|
||||
* fluid state specification
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <opm/material/densead/Evaluation.hpp>
|
||||
#include <opm/material/densead/Math.hpp>
|
||||
#include <opm/material/checkFluidSystem.hpp>
|
||||
|
||||
#include <ewoms/models/blackoil/blackoilmodel.hh>
|
||||
#include <ewoms/models/blackoil/blackoilfluidstate.hh>
|
||||
|
||||
#include <opm/common/utility/platform_dependent/disable_warnings.h>
|
||||
#include <dune/common/parallel/mpihelper.hh>
|
||||
#include <opm/common/utility/platform_dependent/reenable_warnings.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
typedef TTAG(BlackOilModel) TypeTag;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Evaluation) Evaluation;
|
||||
typedef Ewoms::BlackOilFluidState<TypeTag> FluidState;
|
||||
|
||||
Dune::MPIHelper::instance(argc, argv);
|
||||
|
||||
FluidState fs;
|
||||
checkFluidState<Evaluation>(fs);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user