mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 01:07:24 -06:00
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:
parent
beeddb0a05
commit
2cef2a54f2
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user