mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
make the simulator for the co2injection problem which uses the non-isothermal NCP model with ECFV use automatic differentiation
This commit is contained in:
parent
7a01904f9f
commit
318dc70e77
@ -34,6 +34,9 @@ namespace Properties {
|
|||||||
NEW_TYPE_TAG(Co2InjectionNcpNiEcfvProblem, INHERITS_FROM(NcpModel, Co2InjectionBaseProblem));
|
NEW_TYPE_TAG(Co2InjectionNcpNiEcfvProblem, INHERITS_FROM(NcpModel, Co2InjectionBaseProblem));
|
||||||
SET_TAG_PROP(Co2InjectionNcpNiEcfvProblem, SpatialDiscretizationSplice, EcfvDiscretization);
|
SET_TAG_PROP(Co2InjectionNcpNiEcfvProblem, SpatialDiscretizationSplice, EcfvDiscretization);
|
||||||
SET_BOOL_PROP(Co2InjectionNcpNiEcfvProblem, EnableEnergy, true);
|
SET_BOOL_PROP(Co2InjectionNcpNiEcfvProblem, EnableEnergy, true);
|
||||||
|
|
||||||
|
//! Use automatic differentiation to linearize the system of PDEs
|
||||||
|
SET_TAG_PROP(Co2InjectionNcpNiEcfvProblem, LocalLinearizerSplice, AutoDiffLocalLinearizer);
|
||||||
}}
|
}}
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
Loading…
Reference in New Issue
Block a user