Removed unused block_size

This commit is contained in:
Kjetil Olsen Lye 2023-05-31 21:36:15 +02:00 committed by GitHub
parent ea86e45fef
commit e35318b6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,7 +230,6 @@ struct StandardPreconditioners
#if HAVE_CUDA
F::addCreator("CUILU0", [](const O& op, const P& prm, const std::function<V()>&, std::size_t, const C& comm) {
const double w = prm.get<double>("relaxation", 1.0);
static constexpr auto block_size = V::block_type::dimension;
using field_type = typename V::field_type;
using CuILU0 = typename Opm::cuistl::CuSeqILU0<M, Opm::cuistl::CuVector<field_type>, Opm::cuistl::CuVector<field_type>>;
auto cuILU0 = std::make_shared<CuILU0>(op.getmat(), w);