Skip to content

Commit

Permalink
Merge 'trilinos/Trilinos:develop' (efd74d7) into 'tcad-charon/Trilino…
Browse files Browse the repository at this point in the history
…s:develop' (7f2dc83).

* trilinos-develop:
  TrilinosCouplings: Fixing bug
  TrilinosCouplings: Minor mods to Maxwell example
  • Loading branch information
Charonops Jenkins Pipeline committed Dec 14, 2020
2 parents 7f2dc83 + efd74d7 commit e00327c
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 e00327c

Please sign in to comment.