mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
bda: use forwarding for WellContributions
This commit is contained in:
parent
4a1fb0b86a
commit
be6c857b16
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
#include <opm/simulators/linalg/bda/BdaSolver.hpp>
|
#include <opm/simulators/linalg/bda/BdaSolver.hpp>
|
||||||
#include <opm/simulators/linalg/bda/ILUReorder.hpp>
|
#include <opm/simulators/linalg/bda/ILUReorder.hpp>
|
||||||
#include <opm/simulators/linalg/bda/WellContributions.hpp>
|
|
||||||
|
|
||||||
|
|
||||||
#if HAVE_FPGA
|
#if HAVE_FPGA
|
||||||
@ -37,6 +36,8 @@
|
|||||||
namespace Opm
|
namespace Opm
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class WellContributions;
|
||||||
|
|
||||||
typedef Dune::InverseOperatorResult InverseOperatorResult;
|
typedef Dune::InverseOperatorResult InverseOperatorResult;
|
||||||
using Opm::Accelerator::ILUReorder;
|
using Opm::Accelerator::ILUReorder;
|
||||||
|
|
||||||
|
@ -22,15 +22,14 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <opm/simulators/linalg/bda/BdaResult.hpp>
|
#include <opm/simulators/linalg/bda/BdaResult.hpp>
|
||||||
#include <opm/simulators/linalg/bda/WellContributions.hpp>
|
|
||||||
|
|
||||||
namespace Opm
|
#include <string>
|
||||||
{
|
|
||||||
namespace Accelerator
|
|
||||||
{
|
|
||||||
|
|
||||||
using Opm::WellContributions;
|
namespace Opm {
|
||||||
|
|
||||||
|
class WellContributions;
|
||||||
|
|
||||||
|
namespace Accelerator {
|
||||||
enum class SolverStatus {
|
enum class SolverStatus {
|
||||||
BDA_SOLVER_SUCCESS,
|
BDA_SOLVER_SUCCESS,
|
||||||
BDA_SOLVER_ANALYSIS_FAILED,
|
BDA_SOLVER_ANALYSIS_FAILED,
|
||||||
@ -57,7 +56,7 @@ namespace Accelerator
|
|||||||
int maxit = 200;
|
int maxit = 200;
|
||||||
double tolerance = 1e-2;
|
double tolerance = 1e-2;
|
||||||
|
|
||||||
std::string bitstream = "";
|
std::string bitstream;
|
||||||
|
|
||||||
int N; // number of rows
|
int N; // number of rows
|
||||||
int Nb; // number of blocked rows (Nb*block_size == N)
|
int Nb; // number of blocked rows (Nb*block_size == N)
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
BOOST_VERSION / 100 % 1000 > 48
|
BOOST_VERSION / 100 % 1000 > 48
|
||||||
|
|
||||||
#include <opm/simulators/linalg/bda/BdaBridge.hpp>
|
#include <opm/simulators/linalg/bda/BdaBridge.hpp>
|
||||||
|
#include <opm/simulators/linalg/bda/WellContributions.hpp>
|
||||||
|
|
||||||
#include <dune/common/fvector.hh>
|
#include <dune/common/fvector.hh>
|
||||||
#include <dune/istl/bvector.hh>
|
#include <dune/istl/bvector.hh>
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
BOOST_VERSION / 100 % 1000 > 48
|
BOOST_VERSION / 100 % 1000 > 48
|
||||||
|
|
||||||
#include <opm/simulators/linalg/bda/BdaBridge.hpp>
|
#include <opm/simulators/linalg/bda/BdaBridge.hpp>
|
||||||
|
#include <opm/simulators/linalg/bda/WellContributions.hpp>
|
||||||
|
|
||||||
#include <dune/common/fvector.hh>
|
#include <dune/common/fvector.hh>
|
||||||
#include <dune/istl/bvector.hh>
|
#include <dune/istl/bvector.hh>
|
||||||
|
Loading…
Reference in New Issue
Block a user