Skip to content

Commit

Permalink
Revert "Ifpack2: Add Schur complements to the BlockTriDiag solver. (#…
Browse files Browse the repository at this point in the history
…12344)"

This reverts commit 6ad4a25.
  • Loading branch information
kliegeois committed Oct 26, 2023
1 parent e016d43 commit ea0bd0b
Show file tree
Hide file tree
Showing 7 changed files with 1,492 additions and 3,397 deletions.
6 changes: 2 additions & 4 deletions packages/ifpack2/example/BlockTriDi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace { // (anonymous)

// Values of command-line arguments.
struct CmdLineArgs {
CmdLineArgs ():blockSize(-1),numIters(10),numRepeats(1),tol(1e-12),nx(172),ny(-1),nz(-1),mx(1),my(1),mz(1),sublinesPerLine(1),sublinesPerLineSchur(1),useStackedTimer(false),overlapCommAndComp(false){}
CmdLineArgs ():blockSize(-1),numIters(10),numRepeats(1),tol(1e-12),nx(172),ny(-1),nz(-1),mx(1),my(1),mz(1),sublinesPerLine(1),useStackedTimer(false),overlapCommAndComp(false){}

std::string mapFilename;
std::string matrixFilename;
Expand All @@ -35,7 +35,6 @@ struct CmdLineArgs {
int my;
int mz;
int sublinesPerLine;
int sublinesPerLineSchur;
bool useStackedTimer;
bool overlapCommAndComp;
std::string problemName;
Expand Down Expand Up @@ -72,7 +71,6 @@ getCmdLineArgs (CmdLineArgs& args, int argc, char* argv[])
"Whether to run with overlapCommAndComp)");
cmdp.setOption("problemName", &args.problemName, "Human-readable problem name for Watchr plot");
cmdp.setOption("matrixType", &args.matrixType, "matrixType");
cmdp.setOption("sublinesPerLineSchur", &args.sublinesPerLineSchur, "sublinesPerLineSchur");
auto result = cmdp.parse (argc, argv);
return result == Teuchos::CommandLineProcessor::PARSE_SUCCESSFUL;
}
Expand Down Expand Up @@ -575,7 +573,7 @@ main (int argc, char* argv[])

{
Teuchos::TimeMonitor precSetupTimeMon (*precSetupTime);
precond = rcp(new BTDC(Ablock,parts,args.sublinesPerLineSchur,args.overlapCommAndComp));
precond = rcp(new BTDC(Ablock,parts,args.overlapCommAndComp));

if(rank0) std::cout<<"Initializing preconditioner..."<<std::endl;
precond->initialize ();
Expand Down
863 changes: 0 additions & 863 deletions packages/ifpack2/src/Ifpack2_BlockComputeResidualVector.hpp

This file was deleted.

Loading

0 comments on commit ea0bd0b

Please sign in to comment.