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