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

Make a function unconditionally available and conditionally fail. #2614

Merged
merged 2 commits into from Aug 17, 2018

Conversation

bangerth
Copy link
Contributor

This allows writing code that calls SimulatorAccess::get_world_builder()
without having to worry whether the WorldBuilder is actually available.
The check then simply happens at run-time.

This is the follow-up promised in #2571.

This allows writing code that calls SimulatorAccess::get_world_builder()
without having to worry whether the WorldBuilder is actually available.
The check then simply happens at run-time.
@gassmoeller
Copy link
Member

Looks correct, and this is indeed the better approach.

@gassmoeller gassmoeller merged commit f295e66 into geodynamics:master Aug 17, 2018
@bangerth bangerth deleted the follow-up branch August 17, 2018 22:53
freddrichards pushed a commit to freddrichards/aspect that referenced this pull request May 20, 2019
Make a function unconditionally available and conditionally fail.
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

2 participants