Skip to content

Commit

Permalink
Piro: improve warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Jan 9, 2025
1 parent 7236436 commit cbfa0e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/piro/src/Piro_TransientSolver_Def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ Piro::TransientSolver<Scalar>::evalConvergedModelResponsesAndSensitivities(
if (x->space()->isCompatible(*gx_out->space())) {
Thyra::copy(*modelInArgs.get_x(), gx_out.ptr());
} else {
*out_ << " WARNING: x and gx_out are not compatible (likely, because adaptation occurred).\n"
" If you need the solution, you will have to retrieve it in another way.\n";
*out_ << " WARNING: x and gx_out are not compatible (likely, because mesh adaptation occurred).\n"
" If you need the solution, you will have to retrieve it another way.\n";
}
}

Expand Down

0 comments on commit cbfa0e7

Please sign in to comment.