From: Wolfgang Bangerth Date: Thu, 27 Jan 2022 20:34:24 +0000 (-0700) Subject: Improve the text of an assertion. X-Git-Tag: v9.4.0-rc1~559^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5712a179d11eb2d0c4680e7913a55d1a4b958689;p=dealii.git Improve the text of an assertion. --- diff --git a/include/deal.II/numerics/data_out_dof_data.h b/include/deal.II/numerics/data_out_dof_data.h index e36f78a2b7..f9b81f6427 100644 --- a/include/deal.II/numerics/data_out_dof_data.h +++ b/include/deal.II/numerics/data_out_dof_data.h @@ -66,7 +66,9 @@ namespace Exceptions DeclExceptionMsg(ExcNoTriangulationSelected, "For the operation you are attempting, you first need to " "tell the DataOut or related object which DoFHandler or " - "triangulation you would like to work on."); + "triangulation you would like to work on. This is " + "generally done using the 'attach_dof_handler()' or " + "'attach_triangulation()' member functions."); /** * Exception @@ -74,7 +76,9 @@ namespace Exceptions DeclExceptionMsg(ExcNoDoFHandlerSelected, "For the operation you are attempting, you first need to " "tell the DataOut or related object which DoFHandler " - "you would like to work on."); + "you would like to work on. This is " + "generally done using the 'attach_dof_handler()' " + "member function."); /** * Exception