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

refine_tet_add improper calls to get epsilonl #242

Open millerta opened 2 years ago

millerta commented 2 years ago

integer dsmin is used to get value of REAL epsilonl

discovered while checking use of cmo_get_attinfo and have not observed any issues. Either this part of code is not being used or value is not used in a meaningful way.

When I check test return value of using integer dsmin, it is a garbage large number.

505
506 C           call get_epsilon('epsilonl', dsmin)
507             call cmo_get_attinfo('epsilonl',cmo_name,iout,dsmin,cout,
508      *           ipout,lout,itype,icscode)

517
518             call filter_subset(cmo_name,icount,iptest,dsmin)

763              call get_epsilon('epsilonl', dsmin)
764             call filter_subset(cmo_name,icount,iptest,dsmin)