From abcbb53ef2a7071a5c168350c5b74cb1c41963aa Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 21 Jul 2003 14:33:39 +0000 Subject: Changed comment lines such as '//**** some comment' into '// **** some comment' so that the SUN preprocessor doesn't choke on it. git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@48 21a6bef8-4479-4f54-8f8d-0db94a2919ef --- src/AmrUcdGridHierarchy.cc | 10 +++++----- src/AmrUcdGridHierarchy.hh | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/AmrUcdGridHierarchy.cc b/src/AmrUcdGridHierarchy.cc index adaf8e5..479e9ef 100644 --- a/src/AmrUcdGridHierarchy.cc +++ b/src/AmrUcdGridHierarchy.cc @@ -197,7 +197,7 @@ void AmrUcdGridHierarchy::buildNodeHierarchy(){ } void AmrUcdGridHierarchy::print(){ - //************Print Some Results*********************** + // ************Print Some Results*********************** for(int i=0;i &nodes,FlexArray &ce // also set index for all parents recursively. (have recursive setindex in // as a static member function of each node) int ctr,i; - //**** Init all node indexes to -1 + // **** Init all node indexes to -1 printf("AmrUcdGridHierarchy::buildUCD(): Initialize UCD\n"); for(i=0;i &nodes,FlexArray &ce } } // print(); - //**** Top-down assignment of indices for each node without child + // **** Top-down assignment of indices for each node without child // If a node has a child, then the child will be superceding it // for indices printf("\ttop-down assign indices\n"); @@ -285,7 +285,7 @@ void AmrUcdGridHierarchy::buildUCD(FlexArray &nodes,FlexArray &ce } printf("Number of nodes in all = %u\n",nodes.getSize()); // OK, nows the time in schprockets when we dance... - //**** Top-down building of Hexahedral cells + // **** Top-down building of Hexahedral cells //printf("now build hexahedral cells\n"); for(i=levelinfo.getSize()-1;i>=0;i--){ printf("\tL%u\n",i); @@ -313,7 +313,7 @@ void AmrUcdGridHierarchy::buildUCD(FlexArray &nodes,FlexArray &ce nodeindices[idx]+=ystep; nodeindices[idx+3]+=ystep; } - //***** Build the Cell list + // ***** Build the Cell list for(z=0;z<(dims[2]-1);z++){ //printf("\t\tZ%u\n",z); for(y=0;y<(dims[1]-1);y++){ diff --git a/src/AmrUcdGridHierarchy.hh b/src/AmrUcdGridHierarchy.hh index 94835a3..0a023d4 100644 --- a/src/AmrUcdGridHierarchy.hh +++ b/src/AmrUcdGridHierarchy.hh @@ -73,8 +73,9 @@ public: // public: ~AmrUcdGridHierarchy(); void addGrid(AmrGrid &grid); // copy from - //*** Now do parenting of the nodes (can be combined with the addGrid -#if 0 // disabled + // *** Now do parenting of the nodes (can be combined with the addGrid +#if 0 + // disabled struct CellInfo { struct Face { Vec3f normal; -- cgit v1.2.3