lanl / LaGriT

Los Alamos Grid Toolbox (LaGriT) is a library of user callable tools that provide mesh generation, mesh optimization and dynamic mesh maintenance in two and three dimensions.
https://lanl.github.io/LaGriT/
Other
116 stars 48 forks source link

connect 2D fails with seg fault due to bad imt values #240

Open millerta opened 2 years ago

millerta commented 2 years ago

add WARNING or ERROR to connect routines Check for imt values less than 1

This is a problem when using a parameter that does not have a defined value. For example see /project/meshing/demos/dfn_dev

define ID
cmo/setatt/cmo/imt ID
connect

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0xaec21d in ???
#1  0xaeb893 in ???
#2  0x7f4323536f0f in ???
#3  0x6217ae in connect2d_lg_
    at /project/eesdev/tam/clone/LaGriT/src/connect2d_lg.f:473