00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef OPM_LINEARISEDBLACKOILRESIDUAL_HEADER_INCLUDED
00021 #define OPM_LINEARISEDBLACKOILRESIDUAL_HEADER_INCLUDED
00022
00023 #include <opm/autodiff/AutoDiffBlock.hpp>
00024
00025 namespace Opm
00026 {
00027
00047 struct LinearisedBlackoilResidual {
00049 typedef AutoDiffBlock<double> ADB;
00054 std::vector<ADB> material_balance_eq;
00059 ADB well_flux_eq;
00064 ADB well_eq;
00065
00066 std::vector<double> matbalscale;
00067
00068 bool singlePrecision ;
00069
00071 int sizeNonLinear() const;
00072 };
00073
00074 }
00075
00076
00077 #endif // OPM_LINEARISEDBLACKOILRESIDUAL_HEADER_INCLUDED