mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
rename "velocity modules" to "flux modules"
that's because these modules do not necessarily use a velocity to calculate fluxes...
This commit is contained in:
parent
5389c9fdfb
commit
506d14b2e4
@ -229,8 +229,8 @@ public:
|
||||
{
|
||||
std::ostringstream oss;
|
||||
oss << "powerinjection_";
|
||||
if (std::is_same<typename GET_PROP_TYPE(TypeTag, VelocityModule),
|
||||
Ewoms::DarcyVelocityModule<TypeTag> >::value)
|
||||
if (std::is_same<typename GET_PROP_TYPE(TypeTag, FluxModule),
|
||||
Ewoms::DarcyFluxModule<TypeTag> >::value)
|
||||
oss << "darcy";
|
||||
else
|
||||
oss << "forchheimer";
|
||||
|
@ -29,11 +29,11 @@
|
||||
|
||||
namespace Opm {
|
||||
namespace Properties {
|
||||
NEW_TYPE_TAG(PowerInjectionProblem, INHERITS_FROM(ImmiscibleTwoPhaseModel,
|
||||
PowerInjectionBaseProblem));
|
||||
NEW_TYPE_TAG(PowerInjectionProblem,
|
||||
INHERITS_FROM(ImmiscibleTwoPhaseModel,
|
||||
PowerInjectionBaseProblem));
|
||||
|
||||
SET_TYPE_PROP(PowerInjectionProblem, VelocityModule,
|
||||
Ewoms::DarcyVelocityModule<TypeTag>);
|
||||
SET_TYPE_PROP(PowerInjectionProblem, FluxModule, Ewoms::DarcyFluxModule<TypeTag>);
|
||||
}}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
@ -29,11 +29,11 @@
|
||||
|
||||
namespace Opm {
|
||||
namespace Properties {
|
||||
NEW_TYPE_TAG(PowerInjectionProblem, INHERITS_FROM(ImmiscibleTwoPhaseModel,
|
||||
PowerInjectionBaseProblem));
|
||||
NEW_TYPE_TAG(PowerInjectionProblem,
|
||||
INHERITS_FROM(ImmiscibleTwoPhaseModel,
|
||||
PowerInjectionBaseProblem));
|
||||
|
||||
SET_TYPE_PROP(PowerInjectionProblem, VelocityModule,
|
||||
Ewoms::ForchheimerVelocityModule<TypeTag>);
|
||||
SET_TYPE_PROP(PowerInjectionProblem, FluxModule, Ewoms::ForchheimerFluxModule<TypeTag>);
|
||||
}}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
Loading…
Reference in New Issue
Block a user