rename "local AD" to "dense AD"

This commit is contained in:
Andreas Lauser 2016-06-02 18:27:44 +02:00
parent 7de314bb7e
commit 2d2f86f089
2 changed files with 6 additions and 6 deletions

View File

@ -244,7 +244,7 @@ namespace Opm
const auto& pu = phaseUsage();
const int np = numPhases();
typedef Opm::LocalAd::Evaluation<double, /*size=*/1> LadEval;
typedef Opm::DenseAd::Evaluation<double, /*size=*/1> LadEval;
LadEval pLad = 0.0;
LadEval TLad = 0.0;
@ -469,7 +469,7 @@ namespace Opm
{
const auto& pu = phaseUsage();
typedef Opm::LocalAd::Evaluation<double, /*size=*/1> LadEval;
typedef Opm::DenseAd::Evaluation<double, /*size=*/1> LadEval;
LadEval pLad = 0.0;
LadEval TLad = 0.0;
@ -603,7 +603,7 @@ namespace Opm
{
const auto& pu = phaseUsage();
typedef Opm::LocalAd::Evaluation<double, /*size=*/1> LadEval;
typedef Opm::DenseAd::Evaluation<double, /*size=*/1> LadEval;
typedef Opm::MathToolbox<LadEval> Toolbox;
LadEval pLad = 0.0;

View File

@ -20,8 +20,8 @@
#ifndef OPM_EXPLICIT_ARRAYS_SAT_DERIVATIVES_FLUID_STATE_HEADER_INCLUDED
#define OPM_EXPLICIT_ARRAYS_SAT_DERIVATIVES_FLUID_STATE_HEADER_INCLUDED
#include <opm/material/localad/Evaluation.hpp>
#include <opm/material/localad/Math.hpp>
#include <opm/material/densead/Evaluation.hpp>
#include <opm/material/densead/Math.hpp>
#include <opm/core/props/BlackoilPhases.hpp>
@ -44,7 +44,7 @@ public:
enum { numPhases = BlackoilPhases::MaxNumPhases };
enum { numComponents = 3 };
typedef Opm::LocalAd::Evaluation<double, numPhases> Evaluation;
typedef Opm::DenseAd::Evaluation<double, numPhases> Evaluation;
typedef Evaluation Scalar;
ExplicitArraysSatDerivativesFluidState(const PhaseUsage& phaseUsage)