20#ifndef MULTISEGMENTWELLCONTRIBUTION_HEADER_INCLUDED
21#define MULTISEGMENTWELLCONTRIBUTION_HEADER_INCLUDED
26#include <cuda_runtime.h>
30#include <dune/common/version.hh>
48 unsigned int dim_wells;
58 unsigned int DnumBlocks;
59 std::vector<Scalar> Cvals;
60 std::vector<Scalar> Dvals;
61 std::vector<Scalar> Bvals;
62 std::vector<int> Dcols;
63 std::vector<unsigned int> Bcols;
64 std::vector<int> Drows;
65 std::vector<unsigned int> Brows;
66 std::vector<Scalar> z1;
67 std::vector<Scalar> z2;
68 void *UMFPACK_Symbolic, *UMFPACK_Numeric;
72 unsigned int getColIdx(
unsigned int idx);
102 unsigned int DnumBlocks,
115 void apply(Scalar* h_x, Scalar* h_y);
This class serves to duplicate the functionality of the MultisegmentWell A MultisegmentWell uses C,...
Definition MultisegmentWellContribution.hpp:44
~MultisegmentWellContribution()
Destroy a MultisegmentWellContribution, and free memory.
Definition MultisegmentWellContribution.cpp:71
void apply(Scalar *h_x, Scalar *h_y)
Apply the MultisegmentWellContribution on CPU performs y -= (C^T * (D^-1 * (B*x))) for MultisegmentWe...
Definition MultisegmentWellContribution.cpp:83
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242