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

Fix serialization with deal.II 8.5 and no particle output #2021

Conversation

gassmoeller
Copy link
Member

This fixes an issue that emerged during a discussion with @egpuckett on the mailing list. The serialization of the output plugin of the particle world tried to dereference an uninitialized unique pointer if no plugin was selected. Now we simply ignore the null pointer (it is not used anyway, and in the load function it is not initialized either).

This is not an issue for deal.II 9.0.pre, because we no longer use the plugin in that case. The new test ensures this behavior is tested.

@gassmoeller
Copy link
Member Author

Fix #2019

@tjhei
Copy link
Member

tjhei commented Nov 30, 2017

Looks good. Can you please fix the test output?

@gassmoeller gassmoeller force-pushed the fix_particle_serialization_without_output branch from 7f68c8d to 08ecd53 Compare November 30, 2017 19:37
@gassmoeller
Copy link
Member Author

Done

@bangerth bangerth merged commit 8182cc2 into geodynamics:master Dec 1, 2017
@gassmoeller gassmoeller deleted the fix_particle_serialization_without_output branch December 1, 2017 16:01
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