Skip to content

Commit

Permalink
Merge Pull Request trilinos#8460 from trilinos/Trilinos/csiefer-d8b2fb8
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: TrilinosCouplings: Minor mods to Maxwell driver
PR Author: csiefer2
  • Loading branch information
trilinos-autotester authored Dec 12, 2020
2 parents 1d57a92 + faa1579 commit efd74d7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/trilinoscouplings/examples/scaling/example_Maxwell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ int main(int argc, char *argv[]) {
ny = 10;
nz = 10;
xmlInFileName = "Maxwell.xml";
solverName = "MueLu";
solverName = "default";
verbose = false;
debug = false;
jiggle = false;
Expand Down Expand Up @@ -557,6 +557,17 @@ int main(int argc, char *argv[]) {
"end \n";
meshInput = inputList.get("meshInput", meshInput);

// Get the solver name from input deck or command line
if(solverName == "default") {
if(inputList.isParameter("Preconditioner"))
solverName=inputList.get("Preconditioner","MueLu");
else
solverName="MueLu";
}





/**********************************************************************************/
/***************************** GET CELL TOPOLOGY **********************************/
Expand Down

0 comments on commit efd74d7

Please sign in to comment.