make the common parts of the discretizations AD aware

this works by introducing a splice called "LocalLinearizerSplice". The
the current local linearizer (which is based on the finite difference
method) is the default and can be set explicitly by setting the splice
to "FiniteDifferenceLocalLinearizer", the new linearizer using
automatic differentiation can be selected by setting the splice to
"AutoDiffLocalLinearizer".
This commit is contained in:
Andreas Lauser 2015-05-21 16:18:29 +02:00
parent beeddb0a05
commit 2cef2a54f2
2 changed files with 4 additions and 4 deletions

View File

@ -24,12 +24,12 @@
*/
#include "config.h"
#include "problems/co2injectionproblem.hh"
#include <ewoms/common/start.hh>
#include <ewoms/models/immiscible/immisciblemodel.hh>
#include <ewoms/disc/ecfv/ecfvdiscretization.hh>
#include "problems/co2injectionproblem.hh"
namespace Ewoms {
namespace Properties {
NEW_TYPE_TAG(Co2InjectionImmiscibleEcfvProblem,

View File

@ -24,12 +24,12 @@
*/
#include "config.h"
#include "problems/co2injectionproblem.hh"
#include <ewoms/common/start.hh>
#include <ewoms/models/immiscible/immisciblemodel.hh>
#include <ewoms/disc/vcfv/vcfvdiscretization.hh>
#include "problems/co2injectionproblem.hh"
namespace Ewoms {
namespace Properties {
NEW_TYPE_TAG(Co2InjectionImmiscibleVcfvProblem, INHERITS_FROM(ImmiscibleModel,