-
Notifications
You must be signed in to change notification settings - Fork 94
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
Select quadrature data domain #877
Comments
Hi @ericneiva, thanks for your issue, and sorry for the very late reply (the last months have been quite hectic for me, but anyway ...) Let me answer to your comments one by one.
Let me note that apart from a6cc908, there is another related commit, namely, 5167a37. In this later commit, I recovered the signature of an older outer constructor (for backward compatibility). This outer constructor also calls the inner constructor, and lets you specify
If am not missing anything, I don't see why there is a need. You can still leverage the default inner constructor of
The user has already this power. See my point above. In any case, I see that this is a quite inconvenient low-level API for the user as you have to provide all the details of the
Am I correct? Now let me comment on PR #885 there. (btw thanks for the PR). |
Hi, @amartinhuertas, thank you so much for your reply.
Spot on.
It's alright 😄 I completely understand. I think we can finish the discussion at PR #885. |
Hi, @amartinhuertas,
Some time ago, you added in a6cc908 a trait template parameter to
CellQuadrature
. It lets the user select whether to integrate in reference or physical domain.Conversely, the default domain for the quad data is reference and it cannot be changed at the user level 👇
Gridap.jl/src/CellData/CellQuadratures.jl
Lines 49 to 57 in a6cc908
The method above is the only one that calls the constructor (see line 56). As you can see it sets the data domain style to
ReferenceDomain()
.I am interfacing Gridap to a library that computes quad points and weights directly in the physical domain. I can make it work, but I need to replicate the above method to set the data domain to physical.
Have you thought about letting the user have power over both data and integration domain styles? I thought I could change the API of
CellQuadrature
such that both domain styles are keyword arguments. What do you think?The text was updated successfully, but these errors were encountered: