Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2327 +/- ##
==========================================
- Coverage 84.33% 84.04% -0.30%
==========================================
Files 148 151 +3
Lines 22253 22332 +79
==========================================
+ Hits 18767 18768 +1
- Misses 3486 3564 +78 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Davknapp
left a comment
There was a problem hiding this comment.
Thanks for the addition! Please address my comments. I am looking forward to merge it!
|
Please use our indentation script to fix the indentation. Also have a look at the output of the doxygen check to see which functions need documentation. |
Co-authored-by: David Knapp <david.knapp@dlr.de>
benegee
left a comment
There was a problem hiding this comment.
Cool! If this test passes, we should have a sphere!
|
@Davknapp can we get a thumbs up so we can merge :< Thanks :D |
benegee
left a comment
There was a problem hiding this comment.
Thanks a lot @faouziH21 !
Could you confirm the correctness of the formulae and did you check the ordering of the vertices?
#2329 (comment)
I would then be absolutely happy to have this merged.
Note that we get a 2D manifold with this PR. Extending this to a 3D shell would be the next step.
|
Please indent your code to our guidelines and document the functions you've implemented. Thanks for addressing the other remarks! |
benegee
left a comment
There was a problem hiding this comment.
Two comments now, but I would like to have another look.
benegee
left a comment
There was a problem hiding this comment.
I just tried to create the cmesh in an example, but got:
[t8 0] Constructed the geometry_handler.
[t8 0] Registering geometry with name t8_geometry_healpix
[t8 0] Cmesh is not partitioned.
[t8 0] Committed cmesh with 12 local and 12 global trees and 0 ghosts.
[t8 0] Face connection mismatch at tree 4 face 1
[t8 0] Face connection mismatch at tree 4 face 2
[t8 0] Face connection mismatch at tree 4 face 3
[libsc 0] Abort: Assertion 't8_cmesh_is_committed (cmesh)'
Maybe there is still a problem with connectivity?
| * Evaluates a point on a sphere surface geometry from mesh layer and face parameters. | ||
| * | ||
| * Maps 2D parametric reference coordinates (\p xi, \p eta) of a specific mesh element, | ||
| * Maps 3D parametric reference coordinates (\p xi, \p eta) of a specific mesh element, |
There was a problem hiding this comment.
This becomes (xi, eta, zeta), or rather (xi, eta, radial_pos) then?
There was a problem hiding this comment.
In the parameter case we should write radial_pos... but I understand if you would rather write zeta
There was a problem hiding this comment.
Either would be fine for me. I just wanted to point out that the tuple should have 3 entries because this is referring to 3D coordinates.
| xyf2loc (double x, double y, int face, const int JRLL[], const int JPLL[]) | ||
| { | ||
| double z = 0.0; | ||
| double nr = 0.0; |
There was a problem hiding this comment.
Please add the link to the doc.
The online doxygen C++ doc does not include it, but I think the Julia version is fine as well.

Closes #2329
Describe your changes here:
All these boxes must be checked by the AUTHOR before requesting review:
Documentation:,Bugfix:,Feature:,Improvement:orOther:.All these boxes must be checked by the REVIEWERS before merging the pull request:
As a reviewer please read through all the code lines and make sure that the code is fully understood, bug free, well-documented and well-structured.
General
Tests
If the Pull request introduces code that is not covered by the github action (for example coupling with a new library):
Scripts and Wiki
scripts/internal/find_all_source_files.shto check the indentation of these files.License
doc/(or already has one).