moose icon indicating copy to clipboard operation
moose copied to clipboard

Improve the error handling of `Transfers` input parameters

Open licharlot opened this issue 3 years ago • 0 comments

Bug Description

In a Transfers object, if from_multiapp = app_name is used instead of from_multi_app = app_name, a segmentation fault is generated after the sub-app initialization.

Steps to Reproduce

Run the attached input file, or use from_multiapp = app_name instead of from_multi_app = app_name

Impact

The usual behavior when input parameters have a typo is an error or warning message during the input file processing. from_multiapp and to_multiapp were the keywords used in the deprecated direction input parameter, so this is likely that this typo will be made. The current behavior let the user think there is a problem in the sub-app.

input_files.zip

licharlot avatar Oct 05 '22 15:10 licharlot