On 7/17/23 16:19, Lance Zhang wrote:

terminate called after throwing an instance of 'dealii::ParameterHandler::ExcNoSubsection'
   what():
--------------------------------------------------------
An error occurred in line <1848> of file <./source/base/parameter_handler.cc> in function     void dealii::ParameterHandler::scan_line(std::string, const string&, unsigned int, bool)
The violated condition was:
    skip_undefined || entries->get_child_optional( get_current_full_path(subsection))
Additional information:
     Line <3> of file <parameters.prm: There is no such subsection to be
     entered: Assembly method
--------------------------------------------------------

Lance: If you run this in the debugger (or put some print statements into your code), I bet that you will see that the problem comes from calling
  prm.parse_input("parameters.prm");
and that the error is exactly described by the message above: When you declared all of your parameters, you have never mentioned that there is a subsection "Assembly method", but that your file "parameters.prm" has a
  subsection Assembly method
statement.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/aaab837f-3427-fc98-36d6-20e0b1eca7d6%40colostate.edu.

Reply via email to