make the simulator for the co2injection problem which uses the non-isothermal NCP model with ECFV use automatic differentiation

This commit is contained in:
Andreas Lauser 2015-05-21 16:18:56 +02:00
parent 7a01904f9f
commit 318dc70e77

View File

@ -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)