[petsc-dev] man page for VecChop

Barry Smith bsmith at mcs.anl.gov
Tue Apr 21 15:37:23 CDT 2015


  Thanks, fixed in master

> On Apr 15, 2015, at 11:19 AM, Ed Bueler <elbueler at alaska.edu> wrote:
> 
> Dear Petsc --
> 
> That man page should say
> 
> "Set all values in the vector WITH ABSOLUTE VALUE less than the tolerance to zero"
> 
> instead of
> 
> "Set all values in the vector less than the tolerance to zero"
> 
> I was very confused til I looked at the source code!
> 
> Of course, it would be nice to have a "true" VecChop() *and* a VecAbsChop(), but that would mean a loss of backward-compatibility ... wouldn't want that ...
> 
> Also, shouldn't VecChop() be implemented in src/vec/vec/interface/rvector.c instead of orphaned in src/vec/vec/utils/vecio.c ?
> 
> Thanks!
> 
> Ed
> 
> -- 
> Ed Bueler
> Dept of Math and Stat and Geophysical Institute
> University of Alaska Fairbanks
> Fairbanks, AK 99775-6660
> 301C Chapman and 410D Elvey
> 907 474-7693 and 907 474-7199  (fax 907 474-5394)




More information about the petsc-dev mailing list