mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Reinclude changes lost in adaptation to ISTLSolverEbosBda
This commit is contained in:
parent
e4abc12a05
commit
dcc3bd70f0
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2020 Equinor ASA
|
Copyright 2023 Equinor ASA
|
||||||
|
|
||||||
This file is part of the Open Porous Media project (OPM).
|
This file is part of the Open Porous Media project (OPM).
|
||||||
|
|
||||||
@ -191,9 +191,9 @@ void WellContributionsRocsparse::setStream(hipStream_t stream_){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void WellContributionsRocsparse::APIaddMatrix(MatrixType type,
|
void WellContributionsRocsparse::APIaddMatrix(MatrixType type,
|
||||||
int* colIndices,
|
int* colIndices,
|
||||||
double* values,
|
double* values,
|
||||||
unsigned int val_size)
|
unsigned int val_size)
|
||||||
{
|
{
|
||||||
if (!allocated) {
|
if (!allocated) {
|
||||||
OPM_THROW(std::logic_error, "Error cannot add wellcontribution before allocating memory in WellContributions");
|
OPM_THROW(std::logic_error, "Error cannot add wellcontribution before allocating memory in WellContributions");
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2020 Equinor ASA
|
Copyright 2023 Equinor ASA
|
||||||
|
|
||||||
This file is part of the Open Porous Media project (OPM).
|
This file is part of the Open Porous Media project (OPM).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user