mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix wrong print, remove unused variables
This commit is contained in:
parent
1cec56fa68
commit
6f89629f92
@ -393,15 +393,10 @@ void openclSolverBackend<block_size>::initialize(std::shared_ptr<BlockedMatrix>
|
||||
useJacMatrix = true;
|
||||
}
|
||||
|
||||
if (useJacMatrix) {
|
||||
this->jac_nnz = jacMatrix->nnzbs;
|
||||
this->jac_nnzb = jac_nnz * block_size * block_size;
|
||||
}
|
||||
|
||||
std::ostringstream out;
|
||||
out << "Initializing GPU, matrix size: " << Nb << " blockrows, nnzb: " << nnzb << "\n";
|
||||
if (useJacMatrix) {
|
||||
out << "Blocks in ILU matrix: " << jac_nnzb << "\n";
|
||||
out << "Blocks in ILU matrix: " << jacMatrix->nnzbs << "\n";
|
||||
}
|
||||
out << "Maxit: " << maxit << std::scientific << ", tolerance: " << tolerance << "\n";
|
||||
out << "PlatformID: " << platformID << ", deviceID: " << deviceID << "\n";
|
||||
|
@ -63,8 +63,6 @@ private:
|
||||
|
||||
std::vector<cl::Device> devices;
|
||||
|
||||
int jac_nnz;
|
||||
int jac_nnzb;
|
||||
bool useJacMatrix = false;
|
||||
|
||||
std::unique_ptr<Preconditioner<block_size> > prec;
|
||||
|
Loading…
Reference in New Issue
Block a user