static void perhapsinitialize() { assertx(pt.n && mesh.numVertices()); assertw1(spring>0); // just warn user if (pt.cmf[0]) return; // already initialized computexform(); initialprojection(); }
static int domfilename(int argc, char const** argv) { TIMER(_mfilename); assertx(argc>1); assertx(!mesh.numVertices()); RFile is(argv[1]); mesh.read(is()); return 2; }