From 318dc70e776297f4fde6abfa6f7dad90c9455401 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Thu, 21 May 2015 16:18:56 +0200 Subject: [PATCH] make the simulator for the co2injection problem which uses the non-isothermal NCP model with ECFV use automatic differentiation --- examples/co2injection_ncp_ni_ecfv.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/co2injection_ncp_ni_ecfv.cpp b/examples/co2injection_ncp_ni_ecfv.cpp index 48abbff69..fae5d3cd7 100644 --- a/examples/co2injection_ncp_ni_ecfv.cpp +++ b/examples/co2injection_ncp_ni_ecfv.cpp @@ -34,6 +34,9 @@ namespace Properties { NEW_TYPE_TAG(Co2InjectionNcpNiEcfvProblem, INHERITS_FROM(NcpModel, Co2InjectionBaseProblem)); SET_TAG_PROP(Co2InjectionNcpNiEcfvProblem, SpatialDiscretizationSplice, EcfvDiscretization); 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)