question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does scikit-fem support a tensor field?

See original GitHub issue

Hi,

I do have a feature request. Would it be possible that scikit-fem supports a simple creation of a tensor field in the future? I mean something like

skfem.element.element_vector.ElementTensor (and skfem.element.element_vector.ElementTensorSymmetric as an optional extension…)

based on the already implemented skfem.element.element_vector.ElementVector (skfem.element.ElementVectorH1) class? I think I can use 3 seperate vector fields als column vectors of a tensor but the above suggestion would greatly simplify the creation of such fields.

I would like to create such a field with 3x3=9 components in 3d space with

skfem.element.ElementTensor(skfem.element.ElementH1())

I hope i did not overlook something regarding that feature in the docs.

Thanks in advance!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kinnalacommented, Apr 12, 2021

This was probably fixed in #574.

Edit: This fix will be part of the upcoming 3.0.0.

0reactions
adtzlrcommented, Apr 12, 2021

I just tried it with the master branch and the error is gone. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How-to guides — scikit-fem 7.0.1-12-g7a8cb45 documentation
This section contains goal-oriented guides on the features of scikit-fem. Finding degrees-of-freedom¶. Often the goal is to constrain DOFs on a specific part...
Read more >
kinnala/scikit-fem: Simple finite element assemblers - GitHub
scikit -fem is a pure Python 3.7+ library for performing finite element assembly. Its main purpose is the transformation of bilinear forms into...
Read more >
scikit-fem/Lobby - Gitter
I've been a bit stuck on kinnala/scikit-fem#211 . I implemented the normal vector support to Mappingisoparametric but found at least one bug which...
Read more >
(PDF) scikit-fem: A Python package for finite element assembly
scikit -fem is a lightweight Python library for the creation, or assembly, of the finite element matrix A and vector b. The user...
Read more >
scikit-fem: A Python package for finite element assembly
a system of linear equations Ax = b. scikit-fem is a lightweight Python library for the ... the magnitude of the vector field...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found