Reinclude changes lost in adaptation to ISTLSolverEbosBda

This commit is contained in:
Razvan Nane 2023-09-29 13:22:07 +02:00 committed by Razvan Nane
parent e4abc12a05
commit dcc3bd70f0
2 changed files with 5 additions and 5 deletions

View File

@ -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");

View File

@ -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).