Changeset 21511
- Timestamp:
- 02/02/17 17:12:42 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Materials/Matice.cpp
r21508 r21511 128 128 _printf_(" isdamaged: " << isdamaged << "\n"); 129 129 _printf_(" isenhanced: " << isenhanced << "\n"); 130 130 131 /*helement and element DeepEcho were commented to avoid recursion.*/ 132 /*Example: element->DeepEcho calls matice->DeepEcho which calls element->DeepEcho etc*/ 131 133 _printf_(" helement:\n"); 132 if(helement) helement->DeepEcho(); 133 else _printf_(" helement = NULL\n"); 134 _printf_(" note: helement not printed to avoid recursion.\n"); 135 //if(helement) helement->DeepEcho(); 136 //else _printf_(" helement = NULL\n"); 134 137 135 138 _printf_(" element:\n"); 136 if(element) element->DeepEcho(); 137 else _printf_(" element = NULL\n"); 139 _printf_(" note: element not printed to avoid recursion.\n"); 140 //if(element) element->DeepEcho(); 141 //else _printf_(" element = NULL\n"); 138 142 } 139 143 /*}}}*/ … … 145 149 _printf_(" isenhanced: " << isenhanced << "\n"); 146 150 151 /*helement and element Echo were commented to avoid recursion.*/ 152 /*Example: element->Echo calls matice->Echo which calls element->Echo etc*/ 147 153 _printf_(" helement:\n"); 148 if(helement) helement->Echo(); 149 else _printf_(" helement = NULL\n"); 154 _printf_(" note: helement not printed to avoid recursion.\n"); 155 //if(helement) helement->Echo(); 156 //else _printf_(" helement = NULL\n"); 150 157 151 158 _printf_(" element:\n"); 152 if(element) element->Echo(); 153 else _printf_(" element = NULL\n"); 159 _printf_(" note: element not printed to avoid recursion.\n"); 160 //if(element) element->Echo(); 161 //else _printf_(" element = NULL\n"); 154 162 } 155 163 /*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.