bugpyFormex - Bugs: bug #56605, fe.FEModel vs fe.Model


bug #56605: fe.FEModel vs fe.Model

Submitter:  gianluca de santis <gianlucadesi>
Submitted:  Wed 10 Jul 2019 02:01:44 PM UTC
Category:  None Severity:  1 - Wish
Item Group:  Feature request Status:  None
Privacy:  Public Assigned to:  bverheg
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Wed 10 Jul 2019 05:41:24 PM UTC, comment #1: 

Sounds reasonable. I will think about it.
For now I have made the fuse argument propagate from Model to FEModel (in a4a5f64e).

But you can just do

FeModel([Mesh(coords,e) for e in elems], fuse=False)

This is simple and clear and would avoid having to support more arguments in FeModel.

Benedict Verhegghe <bverheg>
Group administrator
Wed 10 Jul 2019 02:01:44 PM UTC, original submission:  

Model is deprecated.
Model allows you to start from coords and list of elems:
Model(coords, [elems0,elems1,...]).

Whereas FEModel needs to start from list of meshes and then use the mergeMeshes.
        nnodes = [m.nnodes() for m in meshes]
        nelems = [m.nelems() for m in meshes]
        nplex = [m.nplex() for m in meshes]
        coords, elems = mergeMeshes(meshes, fuse=fuse, **kargs)

This is not good for me, because I want to keep control of the order of the coords inside the FEModel and sometimes I like to have identical nodes fused and not fused in the same FEModel.

Can we add a different initialization of FEModel from coords and [elems]?

gianluca de santis <gianlucadesi>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bverheg (Posted a comment)
  • -email is unavailable- added by gianlucadesi (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code