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 ellipsoidal chunk manifold conversion #2175

Merged
merged 1 commit into from Apr 26, 2018

Conversation

gassmoeller
Copy link
Member

This closes #1950. While the manifold conversion can produce significant errors very close to the center (e.g. 10% at a distance of 50 km from the center as mentioned in #1950), it is already negligible at the inner-core boundary (1e-7 at 1000km radius), and completely insignificant at the CMB (5e-11 at 2890 km depth).

Copy link
Member

@MFraters MFraters left a comment

Choose a reason for hiding this comment

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

Hey Rene,

Thanks for looking at this! This is indeed reassuring, and addresses the part of issue #1950 which needed to be solved before the release of ASPECT2.0. But I would still like to have an documentation somewhere in the code of what this equation is based on.

So only some minor comments. When addressed, you can merge yourself!

test_points.push_back(Point<3> (25000.0,25000.0,1000000.0));
test_points.push_back(Point<3> (25000.0,25000.0,500000.0));
test_points.push_back(Point<3> (25000.0,25000.0,50000.0));

Copy link
Member

Choose a reason for hiding this comment

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

Can you for the sake of clarity in the output put a line in there which outputs something like "simple sphere test:". And also do that for the others?

test_point(ellipsoidal_manifold,test_points[i]);


std::cout << "Ok" << std::endl;
Copy link
Member

Choose a reason for hiding this comment

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

This line seems a bit useless, because no real check is done. Even if the output would not be oke, it would still output ok, which is a bit strange.

@gassmoeller
Copy link
Member Author

Thanks, I addressed the comments.

@gassmoeller gassmoeller merged commit 81a4930 into geodynamics:master Apr 26, 2018
@gassmoeller gassmoeller deleted the ellipsoidal_fixes branch April 26, 2018 13:31
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.

ellipsoidal chunk push and pull functions
2 participants