GLYLIB
0.3.0b
|
00001 // Function written by B. Lachele Foley, 2007 00002 // ...and modified by BLFoley on 20071120 so that 00003 // the functions do not require arguments 00004 #include <mylib.h> 00005 #include <molecules.h> 00006 //#include "../inc/mylib.h" 00007 //#include "../inc/molecules.h" 00008 /* this zero's a vector */ 00009 vectormag_3D zero_vec(){ 00010 vectormag_3D nv; 00011 00012 nv.i=nv.j=nv.k=nv.d=0; 00013 00014 return nv; 00015 } 00016 00017 00018 /* this zero's a coordinate set */ 00019 coord_3D zero_coord(){ 00020 coord_3D nc; 00021 00022 nc.i=nc.j=nc.k=0; 00023 00024 return nc; 00025 }