GridapDistributed.jl icon indicating copy to clipboard operation
GridapDistributed.jl copied to clipboard

Support for Dirac delta defined by tags

Open principejavier opened this issue 1 year ago • 2 comments

I implemented support for Dirac deltas, similar to the one in Gridap.jl but restricted to the definition by tags. The definition at arbitrary points will require a parallel search as observed by @JordiManyer in this issue. Although for few points that would not be a problem using tags is enough to have point loads. I also added some tests.

In particular, please, have a look to the definition of this function. Should it be moved to Gridap.jl?

principejavier avatar Nov 02 '23 07:11 principejavier

Codecov Report

Merging #133 (fa3584e) into master (50184f2) will not change coverage. The diff coverage is 0.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@          Coverage Diff           @@
##           master    #133   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files          12      12           
  Lines        2448    2478   +30     
======================================
- Misses       2448    2478   +30     
Files Coverage Δ
src/CellData.jl 0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov-commenter avatar Nov 02 '23 07:11 codecov-commenter

Hi @principejavier , sorry for the delay... I agree the mentioned code for BoundaryTriangulation is repeated quite a lot. The underlying issue is that although BoundaryTriangulation is defined in general, there are no constructors for arbitrary facet dimension. All constructors end up defaulting to D=Dc-1... I have had to implement this same constructor a couple of times already. So I do think it would be good to have something like this in Gridap. @amartinhuertas do you agree?

JordiManyer avatar Dec 04 '23 03:12 JordiManyer

@JordiManyer , @amartinhuertas , if you don't mind I will accept this PR to incorporate the development into master and I will open an issue to keep in mind https://github.com/gridap/GridapDistributed.jl/pull/133#issuecomment-1837801873

principejavier avatar Jul 18 '24 21:07 principejavier

@JordiManyer , @amartinhuertas , if you don't mind I will accept this PR to incorporate the development into master and I will open an issue to keep in mind #133 (comment)

Yeah all good!

JordiManyer avatar Jul 18 '24 23:07 JordiManyer