Changeset 803
- Timestamp:
- 06/04/09 18:07:50 (16 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Beam.cpp
r465 r803 53 53 #undef __FUNCT__ 54 54 #define __FUNCT__ "Beam::Echo" 55 56 55 void Beam::Echo(void){ 57 56 … … 78 77 } 79 78 79 #undef __FUNCT__ 80 #define __FUNCT__ "Beam::DeepEcho" 81 void Beam::DeepEcho(void){ 82 83 printf("Beam:\n"); 84 printf(" id: %i\n",id); 85 printf(" mid: %i\n",mid); 86 printf(" mparid: %i\n",mparid); 87 printf(" node_ids=[%i,%i]\n",node_ids[0],node_ids[1]); 88 printf(" node_offsets=[%i,%i]\n",node_offsets[0],node_offsets[1]); 89 printf(" matice_offset=%i\n",matice_offset); 90 printf(" matpar_offset=%i\n",matpar_offset); 91 printf(" h=[%g,%g]\n",h[0],h[1]); 92 printf(" s=[%g,%g]\n",s[0],s[1]); 93 printf(" b=[%g,%g]\n",b[0],b[1]); 94 printf(" k=[%g,%g]\n",k[0],k[1]); 95 printf(" onbed=%i\n",onbed); 96 printf(" nodes: \n"); 97 if(nodes[0])nodes[0]->Echo(); 98 if(nodes[1])nodes[1]->Echo(); 99 if(matice)matice->Echo(); 100 if(matpar)matpar->Echo(); 101 102 return; 103 } 80 104 void Beam::Marshall(char** pmarshalled_dataset){ 81 105 -
issm/trunk/src/c/objects/Beam.h
r465 r803 48 48 49 49 void Echo(); 50 void DeepEcho(); 50 51 void Marshall(char** pmarshalled_dataset); 51 52 int MarshallSize(); -
issm/trunk/src/c/objects/DakotaPlugin.cpp
r662 r803 37 37 analysis_type=in_analysis_type; 38 38 sub_analysis_type=in_sub_analysis_type; 39 counter=0; 39 40 } 40 41 … … 50 51 char* variable_descriptor=NULL; 51 52 double* responses=NULL; 53 54 /*increae counter: */ 55 counter++; 52 56 53 57 /*Before launching analysis, we need to transfer the dakota inputs into Issm … … 73 77 74 78 /*run core solution: */ 75 SpawnCore(responses,variables,variable_descriptors,numACV,femmodels,inputs,analysis_type,sub_analysis_type );79 SpawnCore(responses,variables,variable_descriptors,numACV,femmodels,inputs,analysis_type,sub_analysis_type,counter); 76 80 77 81 /*populate responses: */ … … 94 98 return 0; 95 99 } 100 101 102 int DakotaPlugin::GetCounter(){ 103 return counter; 104 } 96 105 97 106 } // namespace SIM -
issm/trunk/src/c/objects/DakotaPlugin.h
r662 r803 30 30 int analysis_type; 31 31 int sub_analysis_type; 32 int counter; 32 33 33 34 protected: … … 39 40 // execute the output filter portion of a direct evaluation invocation 40 41 //int derived_map_of(const Dakota::String& of_name); 42 43 /*add for issm: */ 44 int GetCounter(); 41 45 42 46 private: -
issm/trunk/src/c/objects/Element.h
r465 r803 17 17 virtual ~Element(){}; 18 18 virtual void Echo()=0; 19 virtual void DeepEcho()=0; 19 20 virtual int GetId()=0; 20 21 virtual int MyRank()=0; -
issm/trunk/src/c/objects/Icefront.cpp
r465 r803 94 94 return; 95 95 } 96 96 void Icefront::DeepEcho(void){ 97 98 int i; 99 100 printf("Icefront:\n"); 101 printf(" type: %s\n",type); 102 printf(" sid: %i\n",sid); 103 104 printf(" mparid: %i\n",mparid); 105 printf(" matpar_offset: %i\n",matpar_offset); 106 printf(" matpar: \n"); 107 108 printf(" element_type: %i\n",element_type); 109 printf(" eid: %i\n",eid); 110 printf(" element_offset: %i\n",eid); 111 printf(" element\n"); 112 113 if (strcmp(type,"segment")==0){ 114 printf(" node_ids=[%i,%i]\n",node_ids[0],node_ids[1]); 115 printf(" node_offsets=[%i,%i]\n",node_offsets[0],node_offsets[1]); 116 printf(" h=[%g,%g]\n",h[0],h[1]); 117 printf(" b=[%g,%g]\n",b[0],b[1]); 118 for(i=0;i<2;i++){ 119 if(nodes[i])nodes[i]->Echo(); 120 } 121 } 122 else{ 123 printf(" node_ids=[%i,%i,%i,%i]\n",node_ids[0],node_ids[1],node_ids[2],node_ids[3]); 124 printf(" node_offsets=[%i,%i]\n",node_offsets[0],node_offsets[1],node_offsets[2],node_offsets[3]); 125 printf(" h=[%g,%g,%g,%g]\n",h[0],h[1],h[2],h[3]); 126 printf(" b=[%g,%g,%g,%g]\n",b[0],b[1],b[2],b[3]); 127 for(i=0;i<4;i++){ 128 if(nodes[i])nodes[i]->Echo(); 129 } 130 } 131 132 return; 133 } 97 134 void Icefront::Marshall(char** pmarshalled_dataset){ 98 135 -
issm/trunk/src/c/objects/Icefront.h
r465 r803 48 48 49 49 void Echo(); 50 void DeepEcho(); 50 51 void Marshall(char** pmarshalled_dataset); 51 52 int MarshallSize(); -
issm/trunk/src/c/objects/Input.cpp
r365 r803 85 85 86 86 void Input::Echo(void){ 87 88 int i,j; 89 90 printf("Input:\n"); 91 printf(" name: %s\n",name); 92 printf(" type: %i\n",type); 93 if(type==STRING) printf(" string: %s\n",string); 94 if(type==INTEGER) printf(" integer: %i\n",integer); 95 if(type==DOUBLE) printf(" double: %g\n",scalar); 96 if(type==DOUBLEVEC) printf(" doublevec:%p\n",vector); 97 } 98 99 void Input::DeepEcho(void){ 87 100 88 101 int i,j; … … 100 113 printf("\n"); 101 114 } 102 } 103 115 } 104 116 int Input::Enum(void){ 105 117 -
issm/trunk/src/c/objects/Input.h
r365 r803 42 42 /*fill virtual routines: */ 43 43 void Echo(); 44 void DeepEcho(void); 44 45 void Marshall(char** pmarshalled_dataset); 45 46 int MarshallSize(); -
issm/trunk/src/c/objects/Load.h
r465 r803 17 17 virtual ~Load(){}; 18 18 virtual void Echo()=0; 19 virtual void DeepEcho()=0; 19 20 virtual int GetId()=0; 20 21 virtual int MyRank()=0; -
issm/trunk/src/c/objects/Material.h
r246 r803 15 15 virtual ~Material(){}; 16 16 virtual void Echo()=0; 17 virtual void DeepEcho()=0; 17 18 virtual int GetId()=0; 18 19 virtual int MyRank()=0; -
issm/trunk/src/c/objects/Matice.cpp
r442 r803 38 38 return; 39 39 } 40 40 void Matice::DeepEcho(void){ 41 42 printf("Matice:\n"); 43 printf(" mid: %i\n",mid); 44 printf(" B: %g\n",B); 45 printf(" n: %g\n",n); 46 return; 47 } 41 48 void Matice::Marshall(char** pmarshalled_dataset){ 42 49 … … 138 145 */ 139 146 147 148 140 149 /*output: */ 141 150 double viscosity; -
issm/trunk/src/c/objects/Matice.h
r394 r803 22 22 23 23 void Echo(); 24 void DeepEcho(); 24 25 void Marshall(char** pmarshalled_dataset); 25 26 int MarshallSize(); -
issm/trunk/src/c/objects/Matpar.cpp
r483 r803 57 57 return; 58 58 } 59 59 60 void Matpar::DeepEcho(void){ 61 62 printf("Matpar:\n"); 63 printf(" mid: %i\n",mid); 64 printf(" rho_ice: %g\n",rho_ice); 65 printf(" rho_water: %g\n",rho_water); 66 printf(" heatcapacity: %g\n",heatcapacity); 67 printf(" thermalconductivity: %g\n",thermalconductivity); 68 printf(" latentheat: %g\n",latentheat); 69 printf(" beta: %g\n",beta); 70 printf(" meltingpoint: %g\n",meltingpoint); 71 printf(" mixed_layer_capacity: %g\n",mixed_layer_capacity); 72 printf(" thermal_exchange_velocity: %g\n",thermal_exchange_velocity); 73 printf(" g: %g\n",g); 74 return; 75 } 60 76 void Matpar::Marshall(char** pmarshalled_dataset){ 61 77 … … 163 179 } 164 180 double Matpar::GetRhoIce(){ 181 165 182 return rho_ice; 166 183 } -
issm/trunk/src/c/objects/Matpar.h
r483 r803 32 32 33 33 void Echo(); 34 void DeepEcho(); 34 35 void Marshall(char** pmarshalled_dataset); 35 36 int MarshallSize(); -
issm/trunk/src/c/objects/Node.cpp
r687 r803 87 87 return; 88 88 } 89 89 90 void Node::DeepEcho(void){ 91 92 int i; 93 94 printf("Node:\n"); 95 printf(" id: %i\n",id); 96 printf(" partitionborder: %i\n",partitionborder); 97 printf(" clone: %i\n",clone); 98 printf(" numberofdofs: %i\n",numberofdofs); 99 printf(" x=[%g,%g,%g]\n",x[0],x[1],x[2]); 100 printf(" onbed: %i\n",onbed); 101 printf(" onsurface: %i\n",onsurface); 102 printf(" upper_node_id=%i\n",upper_node_id); 103 printf(" upper_node_offset=%i\n",upper_node_offset); 104 printf(" doflist:|"); 105 for(i=0;i<numberofdofs;i++){ 106 if(i>MAXDOFSPERNODE)break; 107 printf("%i|",doflist[i]); 108 } 109 printf(" doflist1:|"); 110 printf("%i|",doflist1[1]); 111 printf("\n"); 112 113 printf(" set membership: m,n,f,s sets \n"); 114 for(i=0;i<numberofdofs;i++){ 115 if(i>MAXDOFSPERNODE)break; 116 printf(" dof %i: %i %i %i %i\n",i,mset[i],nset[i],fset[i],sset[i]); 117 } 118 printf("\n"); 119 if(upper_node)printf(" upper_node pointer: %p\n",upper_node); 120 121 return; 122 } 90 123 void Node::Marshall(char** pmarshalled_dataset){ 91 124 -
issm/trunk/src/c/objects/Node.h
r678 r803 45 45 46 46 void Echo(); 47 void DeepEcho(); 47 48 void Marshall(char** pmarshalled_dataset); 48 49 int MarshallSize(); -
issm/trunk/src/c/objects/Object.h
r1 r803 17 17 virtual ~Object() {}; 18 18 virtual void Echo()=0; 19 virtual void DeepEcho()=0; 19 20 virtual int GetId()=0; 20 21 virtual int MyRank()=0; -
issm/trunk/src/c/objects/Param.cpp
r765 r803 153 153 } 154 154 } 155 155 156 #undef __FUNCT__ 157 #define __FUNCT__ "Param Deep Echo" 158 void Param::DeepEcho(void){ 159 160 int i,j; 161 162 printf("Param:\n"); 163 printf(" id: %i\n",id); 164 printf(" name: %s\n",name); 165 166 switch(type){ 167 case STRING: 168 printf(" string value: %s\n",string); 169 break; 170 171 case STRINGARRAY: 172 printf(" string array: %i strings\n",M); 173 for(i=0;i<M;i++){ 174 printf(" %i: %s\n",i,stringarray[i]); 175 } 176 177 case INTEGER: 178 printf(" integer value: %i\n",integer); 179 break; 180 181 case DOUBLE: 182 printf(" double value: %g\n",ddouble); 183 break; 184 185 case DOUBLEVEC: 186 printf(" double vector. size: %i ndof: %i\n",M,ndof); 187 for(i=0;i<M;i++)printf("%g\n",doublevec[i]); 188 break; 189 190 case DOUBLEMAT: 191 printf(" double matrix. size: %i,%i\n",M,N); 192 for(i=0;i<M;i++){ 193 for(j=0;j<N;j++){ 194 printf("%g ",*(doublemat+N*i+j)); 195 } 196 printf("\n"); 197 } 198 break; 199 200 case PETSCVEC: 201 printf(" Petsc vector: \n"); 202 VecView(vec,PETSC_VIEWER_STDOUT_WORLD); 203 break; 204 205 case PETSCMAT: 206 printf(" Petsc matrix: \n"); 207 MatView(mat,PETSC_VIEWER_STDOUT_WORLD); 208 break; 209 210 default: 211 throw ErrorException(__FUNCT__,exprintf("%s%i","unknow parameter type ",type)); 212 } 213 } 156 214 #undef __FUNCT__ 157 215 #define __FUNCT__ "Marshall" -
issm/trunk/src/c/objects/Param.h
r765 r803 39 39 40 40 void Echo(); 41 void DeepEcho(); 41 42 void Marshall(char** pmarshalled_dataset); 42 43 int MarshallSize(); -
issm/trunk/src/c/objects/ParameterInputs.cpp
r765 r803 37 37 } 38 38 39 void ParameterInputs::DeepEcho(){ 40 41 printf("ParameterInputs echo: \n"); 42 dataset->DeepEcho(); 43 44 } 39 45 void ParameterInputs::purge(char* name){ 40 46 … … 324 330 325 331 /*Add parameter to inputs: */ 326 this->Add( "root",parameter,1,numberofnodes);332 this->Add(root,parameter,1,numberofnodes); 327 333 328 334 /*increment i to skip the distributed values just collected: */ -
issm/trunk/src/c/objects/ParameterInputs.h
r765 r803 21 21 ~ParameterInputs(); 22 22 void Echo(); 23 void DeepEcho(); 23 24 24 25 void Add(char* name,char* string); -
issm/trunk/src/c/objects/Pengrid.cpp
r539 r803 61 61 return; 62 62 } 63 63 void Pengrid::DeepEcho(void){ 64 65 printf("Pengrid:\n"); 66 printf(" id: %i\n",id); 67 printf(" mparid: %i\n",mparid); 68 printf(" dof: %i\n",dof); 69 printf(" active: %i\n",active); 70 printf(" penalty_offset: %g\n",penalty_offset); 71 printf(" thermal_steadystate: %i\n",thermal_steadystate); 72 printf(" node_id: [%i]\n",node_id); 73 printf(" node_offset: [%i]\n",node_offset); 74 printf(" matpar_offset=%i\n",matpar_offset); 75 76 if(node)node->Echo(); 77 if(matpar)matpar->Echo(); 78 return; 79 } 64 80 void Pengrid::Marshall(char** pmarshalled_dataset){ 65 81 -
issm/trunk/src/c/objects/Pengrid.h
r498 r803 37 37 38 38 void Echo(); 39 void DeepEcho(); 39 40 void Marshall(char** pmarshalled_dataset); 40 41 int MarshallSize(); -
issm/trunk/src/c/objects/Penpair.cpp
r483 r803 80 80 return; 81 81 } 82 82 void Penpair::DeepEcho(void){ 83 84 int i; 85 86 printf("Penpair:\n"); 87 printf(" id: %i\n",id); 88 printf(" penalty_offset: %g\n",penalty_offset); 89 printf(" penalty_lock: %i\n",penalty_lock); 90 printf(" numdofs: %i\n",numdofs); 91 printf(" node_ids: [%i %i]\n",node_ids[0],node_ids[1]); 92 printf(" node_offsets: [%i %i]\n",node_offsets[0],node_offsets[1]); 93 printf(" dof: %i\n",dof); 94 printf(" element_ids: [%i %i]\n",element_ids[0],element_ids[1]); 95 printf(" element_offsets: [%i %i]\n",element_offsets[0],element_offsets[1]); 96 printf(" friction: %g\n",friction); 97 printf(" fill: %i\n",fill); 98 printf(" normal: %g %g\n",normal[0],normal[1]); 99 printf(" length: %g\n",length); 100 101 for(i=0;i<2;i++){ 102 if(nodes[i])nodes[i]->Echo(); 103 if(elements[i])elements[i]->Echo(); 104 } 105 return; 106 } 83 107 void Penpair::Marshall(char** pmarshalled_dataset){ 84 108 -
issm/trunk/src/c/objects/Penpair.h
r483 r803 44 44 45 45 void Echo(); 46 void DeepEcho(); 46 47 void Marshall(char** pmarshalled_dataset); 47 48 int MarshallSize(); -
issm/trunk/src/c/objects/Penta.cpp
r678 r803 103 103 return; 104 104 } 105 105 void Penta::DeepEcho(void){ 106 107 printf("Penta:\n"); 108 printf(" id: %i\n",id); 109 printf(" mid: %i\n",mid); 110 printf(" mparid: %i\n",mparid); 111 112 printf(" node_ids=[%i,%i,%i,%i,%i,%i]\n",node_ids[0],node_ids[1],node_ids[2],node_ids[3],node_ids[4],node_ids[5]); 113 printf(" node_offsets=[%i,%i,%i,%i,%i,%i]\n",node_offsets[0],node_offsets[1],node_offsets[2],node_offsets[3],node_offsets[4],node_offsets[5]); 114 printf(" matice_offset=%i\n",matice_offset); 115 printf(" matpar_offset=%i\n",matpar_offset); 116 117 printf(" h=[%i,%i,%i,%i,%i,%i]\n",h[0],h[1],h[2],h[3],h[4],h[5]); 118 printf(" s=[%i,%i,%i,%i,%i,%i]\n",s[0],s[1],s[2],s[3],s[4],s[5]); 119 printf(" b=[%i,%i,%i,%i,%i,%i]\n",b[0],b[1],b[2],b[3],b[4],b[5]); 120 printf(" k=[%i,%i,%i,%i,%i,%i]\n",k[0],k[1],k[2],k[3],k[4],k[5]); 121 122 printf(" friction_type: %i\n",friction_type); 123 printf(" p: %g\n",p); 124 printf(" q: %g\n",q); 125 printf(" shelf: %i\n",shelf); 126 printf(" onbed: %i\n",onbed); 127 printf(" onsurface: %i\n",onsurface); 128 printf(" meanvel: %g\n",meanvel); 129 printf(" epsvel: %g\n",epsvel); 130 printf(" collapse: %i\n",collapse); 131 132 printf(" melting=[%i,%i,%i,%i,%i,%i]\n",melting[0],melting[1],melting[2],melting[3],melting[4],melting[5]); 133 printf(" accumulation=[%i,%i,%i,%i,%i,%i]\n",accumulation[0],accumulation[1],accumulation[2],accumulation[3],accumulation[4],accumulation[5]); 134 printf(" geothermalflux=[%i,%i,%i,%i,%i,%i]\n",geothermalflux[0],geothermalflux[1],geothermalflux[2],geothermalflux[3],geothermalflux[4],geothermalflux[5]); 135 printf(" artdiff: %i\n",artdiff); 136 printf(" thermal_steadystate: %i\n",thermal_steadystate); 137 printf(" viscosity_overshoot: %i\n",viscosity_overshoot); 138 printf(" stokesreconditioning: %i\n",stokesreconditioning); 139 return; 140 } 106 141 void Penta::Marshall(char** pmarshalled_dataset){ 107 142 -
issm/trunk/src/c/objects/Penta.h
r678 r803 65 65 66 66 void Echo(); 67 void DeepEcho(); 67 68 void Marshall(char** pmarshalled_dataset); 68 69 int MarshallSize(); -
issm/trunk/src/c/objects/Result.cpp
r758 r803 108 108 } 109 109 } 110 110 111 void Result::DeepEcho(void){ 112 113 printf("Result:\n"); 114 printf(" id: %i\n",id); 115 printf(" time: %g\n",time); 116 printf(" step: %i\n",step); 117 printf(" field name: %s\n",fieldname); 118 if(field){ 119 printf(" field pointer %p\n",field); 120 } 121 else{ 122 printf(" field pointer %p\n",dfield); 123 printf(" field size %i\n",size); 124 } 125 } 111 126 #undef __FUNCT__ 112 127 #define __FUNCT__ "Result::Marshall" -
issm/trunk/src/c/objects/Result.h
r758 r803 30 30 31 31 void Echo(); 32 void DeepEcho(); 32 33 int GetId(void); 33 34 int MyRank(void); -
issm/trunk/src/c/objects/Rgb.cpp
r1 r803 43 43 return; 44 44 } 45 45 void Rgb::DeepEcho(void){ 46 47 printf("Rgb:\n"); 48 printf(" id: %i\n",id); 49 printf(" nodeid1: %i\n",nodeid1); 50 printf(" nodeid2: %i\n",nodeid2); 51 printf(" dof: %i\n",dof); 52 return; 53 } 46 54 void Rgb::Marshall(char** pmarshalled_dataset){ 47 55 -
issm/trunk/src/c/objects/Rgb.h
r1 r803 24 24 25 25 void Echo(); 26 void DeepEcho(); 26 27 void Marshall(char** pmarshalled_dataset); 27 28 int MarshallSize(); -
issm/trunk/src/c/objects/Sing.cpp
r465 r803 70 70 } 71 71 72 #undef __FUNCT__ 73 #define __FUNCT__ "Sing::DeepEcho" 74 void Sing::DeepEcho(void){ 75 76 printf("Sing:\n"); 77 printf(" id: %i\n",id); 78 printf(" mid: %i\n",mid); 79 printf(" mparid: %i\n",mparid); 80 printf(" node_id=[%i]\n",node_id); 81 printf(" node_offset=[%i]\n",node_offset); 82 printf(" matice_offset=%i\n",matice_offset); 83 printf(" matpar_offset=%i\n",matpar_offset); 84 printf(" h=[%g]\n",h); 85 printf(" k=[%g]\n",h); 86 printf(" node: \n"); 87 if(node)node->Echo(); 88 if(matice)matice->Echo(); 89 if(matpar)matpar->Echo(); 90 91 return; 92 } 72 93 void Sing::Marshall(char** pmarshalled_dataset){ 73 94 -
issm/trunk/src/c/objects/Sing.h
r465 r803 43 43 44 44 void Echo(); 45 void DeepEcho(); 45 46 void Marshall(char** pmarshalled_dataset); 46 47 int MarshallSize(); -
issm/trunk/src/c/objects/Spc.cpp
r1 r803 43 43 return; 44 44 } 45 45 46 void Spc::DeepEcho(void){ 47 48 printf("Spc:\n"); 49 printf(" sid: %i\n",sid); 50 printf(" nodeid: %i\n",nodeid); 51 printf(" dof: %i\n",dof); 52 printf(" value: %g\n",value); 53 return; 54 } 46 55 void Spc::Marshall(char** pmarshalled_dataset){ 47 56 -
issm/trunk/src/c/objects/Spc.h
r1 r803 24 24 25 25 void Echo(); 26 void DeepEcho(); 26 27 void Marshall(char** pmarshalled_dataset); 27 28 int MarshallSize(); -
issm/trunk/src/c/objects/Tria.cpp
r605 r803 108 108 return; 109 109 } 110 110 #undef __FUNCT__ 111 #define __FUNCT__ "Tria::DeepEcho" 112 113 void Tria::DeepEcho(void){ 114 115 printf("Tria:\n"); 116 printf(" id: %i\n",id); 117 printf(" mid: %i\n",mid); 118 printf(" mparid: %i\n",mparid); 119 printf(" node_ids=[%i,%i,%i]\n",node_ids[0],node_ids[1],node_ids[2]); 120 printf(" node_offsets=[%i,%i,%i]\n",node_offsets[0],node_offsets[1],node_offsets[2]); 121 printf(" matice_offset=%i\n",matice_offset); 122 printf(" matpar_offset=%i\n",matpar_offset); 123 printf(" h=[%g,%g,%g]\n",h[0],h[1],h[2]); 124 printf(" s=[%g,%g,%g]\n",s[0],s[1],s[2]); 125 printf(" b=[%g,%g,%g]\n",b[0],b[1],b[2]); 126 printf(" k=[%g,%g,%g]\n",k[0],k[1],k[2]); 127 printf(" melting=[%g,%g,%g]\n",melting[0],melting[1],melting[2]); 128 printf(" accumulation=[%g,%g,%g]\n",accumulation[0],accumulation[1],accumulation[2]); 129 printf(" geothermalflux=[%g,%g,%g]\n",geothermalflux[0],geothermalflux[1],geothermalflux[2]); 130 printf(" friction_type: %i\n",friction_type); 131 printf(" p: %g\n",p); 132 printf(" q: %g\n",q); 133 printf(" shelf: %i\n",shelf); 134 printf(" meanvel: %g\n",meanvel); 135 printf(" epsvel: %g\n",epsvel); 136 printf(" onbed: %i\n",onbed); 137 printf(" viscosity_overshoot=%g\n",viscosity_overshoot); 138 printf(" artdiff=%g\n",artdiff); 139 printf(" nodes: \n"); 140 if(nodes[0])nodes[0]->Echo(); 141 if(nodes[1])nodes[1]->Echo(); 142 if(nodes[2])nodes[2]->Echo(); 143 if(matice)matice->Echo(); 144 if(matpar)matpar->Echo(); 145 146 return; 147 } 111 148 void Tria::Marshall(char** pmarshalled_dataset){ 112 149 -
issm/trunk/src/c/objects/Tria.h
r602 r803 59 59 60 60 void Echo(); 61 void DeepEcho(); 61 62 void Marshall(char** pmarshalled_dataset); 62 63 int MarshallSize();
Note:
See TracChangeset
for help on using the changeset viewer.