diff options
author | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2003-07-21 14:33:39 +0000 |
---|---|---|
committer | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2003-07-21 14:33:39 +0000 |
commit | abcbb53ef2a7071a5c168350c5b74cb1c41963aa (patch) | |
tree | 9c255982d930bf771ca6151c4c551d8e407fbce4 | |
parent | d3bf9ab8312f0e7d2a6d77566a05e00347244a1d (diff) |
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
-rw-r--r-- | src/AmrUcdGridHierarchy.cc | 10 | ||||
-rw-r--r-- | 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<levelinfo.getSize();i++){ AmrUcdGrid *grid; printf("Level %u\n",i); @@ -254,7 +254,7 @@ void AmrUcdGridHierarchy::buildUCD(FlexArray<AmrNode*> &nodes,FlexArray<int> &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<levelinfo.getSize();i++){ AmrUcdGrid *grid; @@ -265,7 +265,7 @@ void AmrUcdGridHierarchy::buildUCD(FlexArray<AmrNode*> &nodes,FlexArray<int> &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<AmrNode*> &nodes,FlexArray<int> &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<AmrNode*> &nodes,FlexArray<int> &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; |