// clang sph.c blob.c gen.c eigen.c -Wmost -O2 #include #include #include #include "blob.h" // #include static Pt a2Pt(R m[3]){return (Pt){m[0], m[1], m[2]};} static void Pt2a(R a[3], Pt p){a[0]=p.x; a[1]=p.y; a[2]=p.z;} static R P(Pt w){R tp = 0; for(int j = 0; jmax) max=m; a+=m;} printf("Min = %14.10f, Max = %14.10f, average = %14.10f\n", min, max, a/VN); if(0) for(int j=0; j