20#ifndef MULTISEGMENTWELLCONTRIBUTION_HEADER_INCLUDED
21#define MULTISEGMENTWELLCONTRIBUTION_HEADER_INCLUDED
26#include <cuda_runtime.h>
29#if HAVE_SUITESPARSE_UMFPACK
32#include <dune/common/version.hh>
49 unsigned int dim_wells;
59 unsigned int DnumBlocks;
60 std::vector<double> Cvals;
61 std::vector<double> Dvals;
62 std::vector<double> Bvals;
63 std::vector<int> Dcols;
64 std::vector<unsigned int> Bcols;
65 std::vector<int> Drows;
66 std::vector<unsigned int> Brows;
67 std::vector<double> z1;
68 std::vector<double> z2;
69 void *UMFPACK_Symbolic, *UMFPACK_Numeric;
73 unsigned int getColIdx(
unsigned int idx);
111 void apply(
double *h_x,
double *h_y);
Definition AquiferInterface.hpp:35
This class serves to duplicate the functionality of the MultisegmentWell A MultisegmentWell uses C,...
Definition MultisegmentWellContribution.hpp:45
~MultisegmentWellContribution()
Destroy a MultisegmentWellContribution, and free memory.
Definition MultisegmentWellContribution.cpp:60
void apply(double *h_x, double *h_y)
Apply the MultisegmentWellContribution on CPU performs y -= (C^T * (D^-1 * (B*x))) for MultisegmentWe...
Definition MultisegmentWellContribution.cpp:70
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition BlackoilPhases.hpp:27