mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
move ebos/ecltracermodel.hh to opm/simulators/flow
This commit is contained in:
parent
3a3881e8d9
commit
9d256bc233
@ -424,7 +424,6 @@ list (APPEND PUBLIC_HEADER_FILES
|
|||||||
ebos/eclproblem.hh
|
ebos/eclproblem.hh
|
||||||
ebos/eclproblem_properties.hh
|
ebos/eclproblem_properties.hh
|
||||||
ebos/eclthresholdpressure.hh
|
ebos/eclthresholdpressure.hh
|
||||||
ebos/ecltracermodel.hh
|
|
||||||
ebos/ecltransmissibility.hh
|
ebos/ecltransmissibility.hh
|
||||||
ebos/ecltransmissibility_impl.hh
|
ebos/ecltransmissibility_impl.hh
|
||||||
ebos/vtkecltracermodule.hh
|
ebos/vtkecltracermodule.hh
|
||||||
@ -470,6 +469,7 @@ list (APPEND PUBLIC_HEADER_FILES
|
|||||||
opm/simulators/flow/SimulatorSerializer.hpp
|
opm/simulators/flow/SimulatorSerializer.hpp
|
||||||
opm/simulators/flow/SolutionContainers.hpp
|
opm/simulators/flow/SolutionContainers.hpp
|
||||||
opm/simulators/flow/SubDomain.hpp
|
opm/simulators/flow/SubDomain.hpp
|
||||||
|
opm/simulators/flow/TracerModel.hpp
|
||||||
opm/simulators/flow/ValidationFunctions.hpp
|
opm/simulators/flow/ValidationFunctions.hpp
|
||||||
opm/core/props/BlackoilPhases.hpp
|
opm/core/props/BlackoilPhases.hpp
|
||||||
opm/core/props/phaseUsageFromDeck.hpp
|
opm/core/props/phaseUsageFromDeck.hpp
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
#if HAVE_DAMARIS
|
#if HAVE_DAMARIS
|
||||||
#include <ebos/damariswriter.hh>
|
#include <ebos/damariswriter.hh>
|
||||||
#endif
|
#endif
|
||||||
#include <ebos/ecltracermodel.hh>
|
|
||||||
#include <ebos/vtkecltracermodule.hh>
|
#include <ebos/vtkecltracermodule.hh>
|
||||||
|
|
||||||
#include <opm/common/utility/TimeService.hpp>
|
#include <opm/common/utility/TimeService.hpp>
|
||||||
@ -83,6 +82,7 @@
|
|||||||
#include <opm/simulators/flow/EclWriter.hpp>
|
#include <opm/simulators/flow/EclWriter.hpp>
|
||||||
#include <opm/simulators/flow/FIBlackoilModel.hpp>
|
#include <opm/simulators/flow/FIBlackoilModel.hpp>
|
||||||
#include <opm/simulators/flow/OutputBlackoilModule.hpp>
|
#include <opm/simulators/flow/OutputBlackoilModule.hpp>
|
||||||
|
#include <opm/simulators/flow/TracerModel.hpp>
|
||||||
#include <opm/simulators/timestepping/AdaptiveTimeStepping.hpp>
|
#include <opm/simulators/timestepping/AdaptiveTimeStepping.hpp>
|
||||||
#include <opm/simulators/timestepping/SimulatorReport.hpp>
|
#include <opm/simulators/timestepping/SimulatorReport.hpp>
|
||||||
#include <opm/simulators/utils/DeferredLoggingErrorHelpers.hpp>
|
#include <opm/simulators/utils/DeferredLoggingErrorHelpers.hpp>
|
||||||
@ -194,8 +194,8 @@ class EclProblem : public GetPropType<TypeTag, Properties::BaseProblem>
|
|||||||
using DamarisWriterType = DamarisWriter<TypeTag>;
|
using DamarisWriterType = DamarisWriter<TypeTag>;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using TracerModel = EclTracerModel<TypeTag>;
|
using TracerModel = ::Opm::TracerModel<TypeTag>;
|
||||||
using DirectionalMobilityPtr = Opm::Utility::CopyablePtr<DirectionalMobility<TypeTag, Evaluation>>;
|
using DirectionalMobilityPtr = Utility::CopyablePtr<DirectionalMobility<TypeTag, Evaluation>>;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using EclGenericProblem<GridView,FluidSystem,Scalar>::briefDescription;
|
using EclGenericProblem<GridView,FluidSystem,Scalar>::briefDescription;
|
||||||
@ -923,10 +923,10 @@ public:
|
|||||||
EclThresholdPressure<TypeTag>& thresholdPressure()
|
EclThresholdPressure<TypeTag>& thresholdPressure()
|
||||||
{ return thresholdPressures_; }
|
{ return thresholdPressures_; }
|
||||||
|
|
||||||
const EclTracerModel<TypeTag>& tracerModel() const
|
const TracerModel& tracerModel() const
|
||||||
{ return tracerModel_; }
|
{ return tracerModel_; }
|
||||||
|
|
||||||
EclTracerModel<TypeTag>& tracerModel()
|
TracerModel& tracerModel()
|
||||||
{ return tracerModel_; }
|
{ return tracerModel_; }
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -23,10 +23,10 @@
|
|||||||
/**
|
/**
|
||||||
* \file
|
* \file
|
||||||
*
|
*
|
||||||
* \copydoc Opm::EclTracerModel
|
* \copydoc Opm::TracerModel
|
||||||
*/
|
*/
|
||||||
#ifndef EWOMS_ECL_TRACER_MODEL_HH
|
#ifndef OPM_TRACER_MODEL_HPP
|
||||||
#define EWOMS_ECL_TRACER_MODEL_HH
|
#define OPM_TRACER_MODEL_HPP
|
||||||
|
|
||||||
#include <opm/common/OpmLog/OpmLog.hpp>
|
#include <opm/common/OpmLog/OpmLog.hpp>
|
||||||
|
|
||||||
@ -54,16 +54,16 @@ struct EnableTracerModel {
|
|||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \ingroup EclBlackOilSimulator
|
* \ingroup BlackOilSimulator
|
||||||
*
|
*
|
||||||
* \brief A class which handles tracers as specified in by ECL
|
* \brief A class which handles tracers as specified in by ECL
|
||||||
*/
|
*/
|
||||||
template <class TypeTag>
|
template <class TypeTag>
|
||||||
class EclTracerModel : public GenericTracerModel<GetPropType<TypeTag, Properties::Grid>,
|
class TracerModel : public GenericTracerModel<GetPropType<TypeTag, Properties::Grid>,
|
||||||
GetPropType<TypeTag, Properties::GridView>,
|
GetPropType<TypeTag, Properties::GridView>,
|
||||||
GetPropType<TypeTag, Properties::DofMapper>,
|
GetPropType<TypeTag, Properties::DofMapper>,
|
||||||
GetPropType<TypeTag, Properties::Stencil>,
|
GetPropType<TypeTag, Properties::Stencil>,
|
||||||
GetPropType<TypeTag, Properties::Scalar>>
|
GetPropType<TypeTag, Properties::Scalar>>
|
||||||
{
|
{
|
||||||
using BaseType = GenericTracerModel<GetPropType<TypeTag, Properties::Grid>,
|
using BaseType = GenericTracerModel<GetPropType<TypeTag, Properties::Grid>,
|
||||||
GetPropType<TypeTag, Properties::GridView>,
|
GetPropType<TypeTag, Properties::GridView>,
|
||||||
@ -92,7 +92,7 @@ class EclTracerModel : public GenericTracerModel<GetPropType<TypeTag, Properties
|
|||||||
enum { gasPhaseIdx = FluidSystem::gasPhaseIdx };
|
enum { gasPhaseIdx = FluidSystem::gasPhaseIdx };
|
||||||
|
|
||||||
public:
|
public:
|
||||||
EclTracerModel(Simulator& simulator)
|
TracerModel(Simulator& simulator)
|
||||||
: BaseType(simulator.vanguard().gridView(),
|
: BaseType(simulator.vanguard().gridView(),
|
||||||
simulator.vanguard().eclState(),
|
simulator.vanguard().eclState(),
|
||||||
simulator.vanguard().cartesianIndexMapper(),
|
simulator.vanguard().cartesianIndexMapper(),
|
||||||
@ -617,4 +617,4 @@ protected:
|
|||||||
|
|
||||||
} // namespace Opm
|
} // namespace Opm
|
||||||
|
|
||||||
#endif
|
#endif // OPM_TRACER_MODEL_HPP
|
@ -428,7 +428,7 @@ BOOST_AUTO_TEST_CASE(EclGenericTracerModel)
|
|||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
|
||||||
class TBatchExport : public EclTracerModel<Properties::TTag::EbosTypeTag> {
|
class TBatchExport : public TracerModel<Properties::TTag::EbosTypeTag> {
|
||||||
public:
|
public:
|
||||||
using TBatch = TracerBatch<double>;
|
using TBatch = TracerBatch<double>;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user