Skip to content

Commit

Permalink
Warn about future deprecation of domain decomposition option (#117)
Browse files Browse the repository at this point in the history
Co-authored-by: MattRolchigo <[email protected]>
  • Loading branch information
MattRolchigo and MattRolchigo authored Sep 29, 2022
1 parent 69c12b8 commit 023f0bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CAinitialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ void InputReadFromFile(int id, std::string InputFile, std::string &SimulationTyp
// Convert information read from the file into values usable by ExaCA
// Required inputs for all problems
DecompositionStrategy = getInputInt(RequiredInputsRead_General[0]);
// Warn that decomposition strategy will be deprecated in the future
if ((id == 0) && (DecompositionStrategy != 1))
std::cout << "Warning: the domain decomposition option will be deprecated in a future release and 1D "
"decompositions will be used in all cases"
<< std::endl;
MaterialName = RequiredInputsRead_General[1];
deltax = getInputDouble(RequiredInputsRead_General[2], -6);
NMax = getInputDouble(RequiredInputsRead_General[3], 12);
Expand Down

0 comments on commit 023f0bb

Please sign in to comment.