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

Grid generators incomplete

Open termi-official opened this issue 3 years ago • 6 comments

Our set of grid generators is incomplete. We are missing generators for

  • [ ] 2D serendipity
  • [ ] "Quadratic" Tetrahedron
  • [ ] "Quadratic" Hexhedron (Note: Some dispatches missing)

It also should not be too hard to generalize the generators to arbitrary order.

termi-official avatar Oct 17 '21 09:10 termi-official

We don't have quadratic hexas implemented, only the serendipity in 3D and this has a grid generator: https://github.com/Ferrite-FEM/Ferrite.jl/blob/master/src/Grid/grid_generators.jl#L242

Embedded triangle is also not implemented right now

koehlerson avatar Oct 17 '21 09:10 koehlerson

I know, but implementing higher order Lagrange/hex is high on my TODO list, because I need them. :) What do you mean by embedded triangle?

termi-official avatar Oct 17 '21 10:10 termi-official

I mean a triangle in 3D is not implemented yet, so there can't be a grid generator for it

koehlerson avatar Oct 17 '21 10:10 koehlerson

What do you mean? Using Cell{3,3,3} should work just fine, or am I missing something?

termi-official avatar Oct 17 '21 10:10 termi-official

Cell{3,3,3} is not implemented yet with the dispatches on edges, faces, vertices is all I'm saying

koehlerson avatar Oct 17 '21 10:10 koehlerson

Probably a more elegant way to resolve part of this is to implement a method like "change_mesh_order" and just provide the first order generators.

termi-official avatar Oct 22 '21 09:10 termi-official