Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for the named additional output postprocessor #2730

Merged

Conversation

gassmoeller
Copy link
Member

This adds a test for #2679.

for (unsigned int i=0; i < in.position.size(); ++i)
{
const double y = in.position[i](1);
prescribed_field_out->prescribed_field_outputs[i][1] = std::exp(-y*y/2.0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldn't it make sense to use a different expression here compared to below?

Copy link
Member

@tjhei tjhei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good (see one comment). I broke the tester, waiting for it to rerun now.

@gassmoeller gassmoeller force-pushed the add_test_multiple_named_outputs branch from 73a20e7 to 2467a16 Compare December 3, 2018 18:27
@gassmoeller gassmoeller force-pushed the add_test_multiple_named_outputs branch from 2467a16 to 14dcc5d Compare December 3, 2018 19:19
@gassmoeller
Copy link
Member Author

I addressed the comment, and all testers are happy. Since this was approved I am going to merge.

@gassmoeller gassmoeller merged commit 0cea351 into geodynamics:master Dec 4, 2018
@gassmoeller gassmoeller deleted the add_test_multiple_named_outputs branch December 4, 2018 01:12
@bangerth
Copy link
Contributor

bangerth commented Dec 7, 2018

Thanks for adding the testcase!

freddrichards pushed a commit to freddrichards/aspect that referenced this pull request May 20, 2019
…e_named_outputs

Add test for the named additional output postprocessor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants