From 06700f77d74ec5dd3f435e36743fe5c034a930f7 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Thu, 21 May 2015 16:19:00 +0200 Subject: [PATCH] make the simulator for the co2injection problem which uses the non-isothermal flash model with ECFV use automatic differentiation --- examples/co2injection_flash_ni_ecfv.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/co2injection_flash_ni_ecfv.cpp b/examples/co2injection_flash_ni_ecfv.cpp index 75f5c2aa5..298878242 100644 --- a/examples/co2injection_flash_ni_ecfv.cpp +++ b/examples/co2injection_flash_ni_ecfv.cpp @@ -38,6 +38,9 @@ SET_TAG_PROP(Co2InjectionFlashNiEcfvProblem, SpatialDiscretizationSplice, EcfvDi SET_BOOL_PROP(Co2InjectionFlashNiEcfvProblem, EnableEnergy, true); +//! Use automatic differentiation to linearize the system of PDEs +SET_TAG_PROP(Co2InjectionFlashNiEcfvProblem, LocalLinearizerSplice, AutoDiffLocalLinearizer); + // use the CO2 injection problem adapted flash solver SET_TYPE_PROP( Co2InjectionFlashNiEcfvProblem, FlashSolver,