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

Borked H(div) trace tabulation when asking for derivatives #7

Closed
miklos1 opened this issue Nov 4, 2016 · 2 comments
Closed

Borked H(div) trace tabulation when asking for derivatives #7

miklos1 opened this issue Nov 4, 2016 · 2 comments
Assignees
Labels

Comments

@miklos1
Copy link
Member

miklos1 commented Nov 4, 2016

import FIAT
from FIAT.reference_element import UFCTetrahedron

elem = FIAT.HDivTrace(UFCTetrahedron(), 0)
print elem.tabulate(1, [[1./3, 1./3]], entity=(2, 0))

prints:

{(1, 0, 0): TraceError('Gradient evaluations are illegal on trace elements.',),
 (0, 1, 0): TraceError('Gradient evaluations are illegal on trace elements.',),
 (0, 0, 0): TraceError('Gradient evaluations are illegal on trace elements.',),
 (0, 0, 1): array([[ 1.],
       [ 0.],
       [ 0.],
       [ 0.]])}
@thomasgibson
Copy link
Member

Thanks for the issue. I'll have a close look at this tomorrow.

@thomasgibson
Copy link
Member

This is being addressed on Bitbucket: FIAT PR #31.

@miklos1 miklos1 closed this as completed Nov 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants