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

Non-continuous FEFunctions for high order FESpaces #24

Closed
fverdugo opened this issue May 22, 2019 · 2 comments
Closed

Non-continuous FEFunctions for high order FESpaces #24

fverdugo opened this issue May 22, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@fverdugo
Copy link
Member

@santiagobadia I have realized that high order fe spaces are not working properly. E.g.:

model = CartesianDiscreteModel(domain=(0.0,1.0,0.0,1.0), partition=(2,2))
order = 2
tags = [1,2,3,4,6,5]
fespace = ConformingFESpace(Float64,model,order,tags)
fun(x) = x[1] + x[2]
uh = interpolate(fespace,fun)
writevtk(trian,"trian", nref=4, cellfields=["uh"=>uh])

leads to a non-continuous FEFunction (here the model has 2x2 cells but I am visualizing with a finer mesh)

non-continuous

Everything OK for the same example with order = 1

continuous

perhaps the problem is in the generation of the cell_eqclass.

@fverdugo
Copy link
Member Author

We can discuss this tomorrow (among other topics)

@fverdugo fverdugo added the bug Something isn't working label Jun 5, 2019
fverdugo added a commit that referenced this issue Jul 26, 2019
Fixing cell eq class for high order interpolations.

Fixes issue #24 

However, the fix still assumes oriented facets as it is reflected in issue #48
@fverdugo
Copy link
Member Author

Finally fixed via PR #56

Closing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant