Changeset 21508
- Timestamp:
- 02/01/17 14:45:10 (8 years ago)
- Location:
- issm/trunk-jpl/src/c/classes
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/ElementHook.cpp
r19254 r21508 136 136 /*}}}*/ 137 137 138 void ElementHook::DeepEcho(){/*{{{*/ 139 140 _printf_(" ElementHook DeepEcho:\n"); 141 _printf_(" numanalyses : "<< this->numanalyses <<"\n"); 142 143 _printf_(" hnodes:\n"); 144 if(hnodes){ 145 for(int i=0;i<this->numanalyses;i++) { 146 if(hnodes[i]) hnodes[i]->DeepEcho(); 147 } 148 } 149 else _printf_(" hnodes = NULL\n"); 150 151 _printf_(" hvertices:\n"); 152 if(hvertices) hvertices->DeepEcho(); 153 else _printf_(" hvertices = NULL\n"); 154 155 _printf_(" hmaterial:\n"); 156 if(hmaterial) hmaterial->DeepEcho(); 157 else _printf_(" hmaterial = NULL\n"); 158 159 _printf_(" hmatpar:\n"); 160 if(hmatpar) hmatpar->DeepEcho(); 161 else _printf_(" hmatpar = NULL\n"); 162 163 _printf_(" hneighbors:\n"); 164 if(hneighbors) hneighbors->DeepEcho(); 165 else _printf_(" hneighbors = NULL\n"); 166 167 return; 168 } 169 /*}}}*/ 170 void ElementHook::Echo(){/*{{{*/ 171 172 _printf_(" ElementHook Echo:\n"); 173 _printf_(" numanalyses : "<< this->numanalyses <<"\n"); 174 175 _printf_(" hnodes:\n"); 176 if(hnodes){ 177 for(int i=0;i<this->numanalyses;i++) { 178 if(hnodes[i]) hnodes[i]->Echo(); 179 } 180 } 181 else _printf_(" hnodes = NULL\n"); 182 183 _printf_(" hvertices:\n"); 184 if(hvertices) hvertices->Echo(); 185 else _printf_(" hvertices = NULL\n"); 186 187 _printf_(" hmaterial:\n"); 188 if(hmaterial) hmaterial->Echo(); 189 else _printf_(" hmaterial = NULL\n"); 190 191 _printf_(" hmatpar:\n"); 192 if(hmatpar) hmatpar->Echo(); 193 else _printf_(" hmatpar = NULL\n"); 194 195 _printf_(" hneighbors:\n"); 196 if(hneighbors) hneighbors->Echo(); 197 else _printf_(" hneighbors = NULL\n"); 198 199 return; 200 } 201 /*}}}*/ 138 202 void ElementHook::InitHookNeighbors(int* element_ids){/*{{{*/ 139 203 this->hneighbors=new Hook(element_ids,2); -
issm/trunk-jpl/src/c/classes/Elements/ElementHook.h
r19215 r21508 24 24 ~ElementHook(); 25 25 void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction); 26 26 27 void DeepEcho(); 28 void Echo(); 27 29 void InitHookNeighbors(int* element_ids); //3d only 28 30 void SetHookNodes(int* node_ids,int numnodes,int analysis_counter); -
issm/trunk-jpl/src/c/classes/Materials/Matice.cpp
r21484 r21508 126 126 _printf_("Matice:\n"); 127 127 _printf_(" mid: " << mid << "\n"); 128 _printf_(" isdamaged: " << isdamaged << "\n"); 129 _printf_(" isenhanced: " << isenhanced << "\n"); 130 131 _printf_(" helement:\n"); 132 if(helement) helement->DeepEcho(); 133 else _printf_(" helement = NULL\n"); 134 128 135 _printf_(" element:\n"); 129 helement->Echo(); 136 if(element) element->DeepEcho(); 137 else _printf_(" element = NULL\n"); 130 138 } 131 139 /*}}}*/ 132 140 void Matice::Echo(void){/*{{{*/ 133 141 134 142 _printf_("Matice:\n"); 135 143 _printf_(" mid: " << mid << "\n"); 144 _printf_(" isdamaged: " << isdamaged << "\n"); 145 _printf_(" isenhanced: " << isenhanced << "\n"); 146 147 _printf_(" helement:\n"); 148 if(helement) helement->Echo(); 149 else _printf_(" helement = NULL\n"); 150 136 151 _printf_(" element:\n"); 137 helement->Echo(); 152 if(element) element->Echo(); 153 else _printf_(" element = NULL\n"); 138 154 } 139 155 /*}}}*/ -
issm/trunk-jpl/src/c/classes/Materials/Matpar.cpp
r21474 r21508 256 256 _printf_(" thermal_exchange_velocity: " << thermal_exchange_velocity << "\n"); 257 257 _printf_(" g: " << g << "\n"); 258 _printf_(" omega: " << omega << "\n"); 258 259 _printf_(" desfac: " << desfac << "\n"); 259 260 _printf_(" rlaps: " << rlaps << "\n"); 260 261 _printf_(" rlapslgm: " << rlapslgm << "\n"); 261 262 _printf_(" dpermil: " << dpermil << "\n"); 263 _printf_(" albedo_ice: " << albedo_ice << "\n"); 264 _printf_(" albedo_snow: " << albedo_snow << "\n"); 265 _printf_(" sediment_compressibility: " << sediment_compressibility << "\n"); 266 _printf_(" sediment_porosity: " << sediment_porosity << "\n"); 267 _printf_(" sediment_thickness: " << sediment_thickness << "\n"); 268 _printf_(" water_compressibility: " << water_compressibility << "\n"); 269 _printf_(" epl_compressibility: " << epl_compressibility << "\n"); 270 _printf_(" epl_porosity: " << epl_porosity << "\n"); 271 _printf_(" epl_init_thickness: " << epl_init_thickness << "\n"); 272 _printf_(" epl_colapse_thickness: " << epl_colapse_thickness << "\n"); 273 _printf_(" epl_max_thickness: " << epl_max_thickness << "\n"); 274 _printf_(" epl_conductivity: " << epl_conductivity << "\n"); 275 _printf_(" lithosphere_shear_modulus: " << lithosphere_shear_modulus << "\n"); 276 _printf_(" lithosphere_density: " << lithosphere_density << "\n"); 277 _printf_(" mantle_shear_modulus: " << mantle_shear_modulus << "\n"); 278 _printf_(" mantle_density: " << mantle_density << "\n"); 279 _printf_(" earth_density: " << earth_density << "\n"); 280 _printf_(" poisson: " << poisson << "\n"); 281 _printf_(" young_modulus: " << young_modulus << "\n"); 282 _printf_(" ridging_exponent: " << ridging_exponent << "\n"); 283 _printf_(" cohesion: " << cohesion << "\n"); 284 _printf_(" internal_friction_coef: " << internal_friction_coef << "\n"); 285 _printf_(" compression_coef: " << compression_coef << "\n"); 286 _printf_(" traction_coef: " << traction_coef << "\n"); 287 _printf_(" time_relaxation_stress: " << time_relaxation_stress << "\n"); 288 _printf_(" time_relaxation_damage: " << time_relaxation_damage << "\n"); 262 289 return; 263 290 } -
issm/trunk-jpl/src/c/classes/Params/Param.h
r20827 r21508 25 25 26 26 /*Virtual functions:*/ 27 virtual void DeepEcho()=0; 27 28 virtual Param* copy()=0; 28 29 virtual void Echo()=0; -
issm/trunk-jpl/src/c/classes/Params/Parameters.cpp
r21087 r21508 91 91 } 92 92 /*}}}*/ 93 void Parameters::DeepEcho(void){/*{{{*/ 94 _error_("not implemented yet"); 95 } 96 /*}}}*/ 97 void Parameters::Echo(void){/*{{{*/ 98 _error_("not implemented yet"); 93 void Parameters::DeepEcho(void){/*{{{*/ 94 for(int i=0;i<NUMPARAMS;i++) { 95 if(this->params[i]) this->params[i]->DeepEcho(); 96 } 97 return; 98 } 99 /*}}}*/ 100 void Parameters::Echo(void){/*{{{*/ 101 for(int i=0;i<NUMPARAMS;i++) { 102 if(this->params[i]) this->params[i]->Echo(); 103 } 104 return; 99 105 } 100 106 /*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.