mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use exact instead of approximate inverted diagonal blocks for ChowPatel
This commit is contained in:
parent
42410d408f
commit
24f8f7c857
@ -756,9 +756,7 @@ void ChowPatelIlu<block_size>::decomposition(
|
||||
for(int i = 0; i < Nb; ++i) {
|
||||
for(int k = Ut->rowPointers[i]; k < Ut->rowPointers[i+1]; ++k) {
|
||||
int j = Ut->colIndices[k];
|
||||
if (j == i) {
|
||||
inverter(Ut->nnzValues + k * bs * bs, invDiagVals + i * bs * bs);
|
||||
} else {
|
||||
if (j != i) {
|
||||
++ptr[j+1];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user