mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-04 19:25:56 +01:00
vector version of Schur solver use vector guesser
This commit is contained in:
parent
73a95fa96f
commit
9523ad3d73
@ -185,16 +185,19 @@ namespace Grid {
|
|||||||
////////////////////////////////////////////////
|
////////////////////////////////////////////////
|
||||||
if ( subGuess ) guess_save.resize(nblock,grid);
|
if ( subGuess ) guess_save.resize(nblock,grid);
|
||||||
|
|
||||||
for(int b=0;b<nblock;b++){
|
|
||||||
if(useSolnAsInitGuess) {
|
if(useSolnAsInitGuess) {
|
||||||
|
for(int b=0;b<nblock;b++){
|
||||||
pickCheckerboard(Odd, sol_o[b], out[b]);
|
pickCheckerboard(Odd, sol_o[b], out[b]);
|
||||||
} else {
|
|
||||||
guess(src_o[b],sol_o[b]);
|
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
guess(src_o, sol_o);
|
||||||
|
}
|
||||||
|
|
||||||
if ( subGuess ) {
|
if ( subGuess ) {
|
||||||
guess_save[b] = sol_o[b];
|
for(int b=0;b<nblock;b++){
|
||||||
}
|
guess_save[b] = sol_o[b];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////
|
||||||
// Call the block solver
|
// Call the block solver
|
||||||
|
Loading…
x
Reference in New Issue
Block a user