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

adding TraceFEMTests.jl #56

Merged
merged 2 commits into from
Oct 4, 2021
Merged

adding TraceFEMTests.jl #56

merged 2 commits into from
Oct 4, 2021

Conversation

ConnorMallon
Copy link
Contributor

This PR relates relates to solving an equation ( in this case with no derivatives ) on a surface embedded in a volume. TraceFEM is used here for which the space used is the the space of traces of functions in the bulk FESpace on the boundary. Using this method, we can simply used the bulk FESpace restricted to cut cells, integrate along the EmbeddedBoundary and add some term for stability. This seems to work here, but in the new working branch the possibility to restrict a DiscreteModel is gone. The warning says to use a restricted Triangulation - but we cannot define a space based on a Triangulation. What is the alternative here if we want a space which only exists on a surface ?

@codecov-commenter
Copy link

codecov-commenter commented Oct 4, 2021

Codecov Report

Merging #56 (ee9f10d) into master (86dfcef) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #56   +/-   ##
=======================================
  Coverage   87.59%   87.59%           
=======================================
  Files          19       19           
  Lines        1758     1758           
=======================================
  Hits         1540     1540           
  Misses        218      218           
Impacted Files Coverage Δ
src/Interfaces/EmbeddedDiscretizations.jl 84.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86dfcef...ee9f10d. Read the comment docs.

@fverdugo
Copy link
Member

fverdugo commented Oct 4, 2021

but we cannot define a space based on a Triangulation.

In release 0.17 will be possible to build a FESpace on a (body fitted) triangulation

@ConnorMallon
Copy link
Contributor Author

ah ok i see. Probably not the right time for this PR then.

@fverdugo
Copy link
Member

fverdugo commented Oct 4, 2021

We can add it to the current version for the moment. No problem with this.

@ConnorMallon ConnorMallon reopened this Oct 4, 2021
@@ -0,0 +1,64 @@
module TraceFEMTests

using Gridap
Copy link
Member

Choose a reason for hiding this comment

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

This file is not being called by the CI

you need to include it in test/GridapEmbeddedTests/runtests.jl

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fverdugo done

@fverdugo fverdugo merged commit 7ea21ea into gridap:master Oct 4, 2021
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.

3 participants