Changeset 15689
- Timestamp:
- 08/02/13 13:41:59 (12 years ago)
- Location:
- issm/trunk-jpl/src
- Files:
-
- 2 added
- 1 deleted
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r15688 r15689 3219 3219 penta_node_ids[4]=iomodel->nodecounter+iomodel->elements[6*index+4]; 3220 3220 penta_node_ids[5]=iomodel->nodecounter+iomodel->elements[6*index+5]; 3221 break; 3222 case P1bubbleEnum: case P1bubblecondensedEnum: 3223 numnodes = 7; 3224 penta_node_ids = xNew<int>(numnodes); 3225 penta_node_ids[0]=iomodel->nodecounter+iomodel->elements[6*index+0]; 3226 penta_node_ids[1]=iomodel->nodecounter+iomodel->elements[6*index+1]; 3227 penta_node_ids[2]=iomodel->nodecounter+iomodel->elements[6*index+2]; 3228 penta_node_ids[3]=iomodel->nodecounter+iomodel->elements[6*index+3]; 3229 penta_node_ids[4]=iomodel->nodecounter+iomodel->elements[6*index+4]; 3230 penta_node_ids[5]=iomodel->nodecounter+iomodel->elements[6*index+5]; 3231 penta_node_ids[6]=iomodel->nodecounter+iomodel->numberofvertices+index+1; 3221 3232 break; 3222 3233 case P1xP2Enum: -
issm/trunk-jpl/src/c/classes/Elements/PentaRef.cpp
r15688 r15689 1206 1206 1207 1207 switch(this->element_type){ 1208 case P1Enum: 1209 case P1DGEnum: 1208 case P1Enum: case P1DGEnum: 1210 1209 basis[0]=gauss->coord1*(1.-zeta)/2.; 1211 1210 basis[1]=gauss->coord2*(1.-zeta)/2.; … … 1215 1214 basis[5]=gauss->coord3*(1.+zeta)/2.; 1216 1215 return; 1217 case P1bubbleEnum: 1216 case P1bubbleEnum: case P1bubblecondensedEnum: 1218 1217 basis[0]=gauss->coord1*(1.-zeta)/2.; 1219 1218 basis[1]=gauss->coord2*(1.-zeta)/2.; … … 1487 1486 dbasis[NUMNODESP1*2+5] = .5*gauss->coord3; 1488 1487 return; 1489 case P1bubbleEnum: 1488 case P1bubbleEnum: case P1bubblecondensedEnum: 1490 1489 /*Nodal function 1*/ 1491 1490 dbasis[NUMNODESP1b*0+0] = (zeta-1.)/4.; … … 1922 1921 1923 1922 switch(this->element_type){ 1924 case P1Enum: return NUMNODESP1; 1925 case P1bubbleEnum: return NUMNODESP1b; 1926 case P2Enum: return NUMNODESP2; 1927 case P2xP1Enum: return NUMNODESP2xP1; 1928 case P1xP2Enum: return NUMNODESP1xP2; 1929 case P1P1Enum: return NUMNODESP1*2; 1930 case P1P1GLSEnum: return NUMNODESP1*2; 1931 case MINIcondensedEnum: return NUMNODESP1b+NUMNODESP1; 1932 case MINIEnum: return NUMNODESP1b+NUMNODESP1; 1933 case TaylorHoodEnum: return NUMNODESP2+NUMNODESP1; 1923 case P1Enum: return NUMNODESP1; 1924 case P1bubbleEnum: return NUMNODESP1b; 1925 case P1bubblecondensedEnum: return NUMNODESP1b; 1926 case P2Enum: return NUMNODESP2; 1927 case P2xP1Enum: return NUMNODESP2xP1; 1928 case P1xP2Enum: return NUMNODESP1xP2; 1929 case P1P1Enum: return NUMNODESP1*2; 1930 case P1P1GLSEnum: return NUMNODESP1*2; 1931 case MINIcondensedEnum: return NUMNODESP1b+NUMNODESP1; 1932 case MINIEnum: return NUMNODESP1b+NUMNODESP1; 1933 case TaylorHoodEnum: return NUMNODESP2+NUMNODESP1; 1934 1934 default: _error_("Element type "<<EnumToStringx(this->element_type)<<" not supported yet"); 1935 1935 } -
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r15670 r15689 2364 2364 tria_node_ids[1]=iomodel->nodecounter+3*index+2; 2365 2365 tria_node_ids[2]=iomodel->nodecounter+3*index+3; 2366 break; 2367 case P1bubbleEnum: case P1bubblecondensedEnum: 2368 numnodes = 4; 2369 tria_node_ids = xNew<int>(numnodes); 2370 tria_node_ids[0]=iomodel->nodecounter+iomodel->elements[3*index+0]; 2371 tria_node_ids[1]=iomodel->nodecounter+iomodel->elements[3*index+1]; 2372 tria_node_ids[2]=iomodel->nodecounter+iomodel->elements[3*index+2]; 2373 tria_node_ids[3]=iomodel->nodecounter+iomodel->numberofvertices+index+1; 2366 2374 break; 2367 2375 case P2Enum: -
issm/trunk-jpl/src/c/classes/Elements/TriaRef.cpp
r15567 r15689 16 16 17 17 /*Element macros*/ 18 #define NUMNODESP1 3 19 #define NUMNODESP2 6 18 #define NUMNODESP1 3 19 #define NUMNODESP1b 4 20 #define NUMNODESP2 6 20 21 21 22 /*Object constructors and destructor*/ … … 43 44 void TriaRef::SetElementType(int type,int type_counter){ 44 45 45 _assert_(type==P1Enum || type==P1DGEnum || type==P 2Enum);46 _assert_(type==P1Enum || type==P1DGEnum || type==P1bubbleEnum || type==P1bubblecondensedEnum || type==P2Enum); 46 47 47 48 /*initialize element type*/ … … 431 432 432 433 switch(this->element_type){ 433 case P1Enum: 434 case P1DGEnum: 434 case P1Enum: case P1DGEnum: 435 435 basis[0]=gauss->coord1; 436 436 basis[1]=gauss->coord2; 437 437 basis[2]=gauss->coord3; 438 438 return; 439 case P1bubbleEnum: case P1bubblecondensedEnum: 440 /*Corner nodes*/ 441 basis[0]=gauss->coord1*(2.*gauss->coord1-1.); 442 basis[1]=gauss->coord2*(2.*gauss->coord2-1.); 443 basis[2]=gauss->coord3*(2.*gauss->coord3-1.); 444 /*bubble*/ 445 basis[3]=27.*gauss->coord1*gauss->coord2*gauss->coord3; 439 446 case P2Enum: 440 447 /*Corner nodes*/ … … 467 474 468 475 switch(this->element_type){ 469 case P1Enum: 470 case P1DGEnum: 476 case P1Enum: case P1DGEnum: 477 basis[0]=triabasis[index1]; 478 basis[1]=triabasis[index2]; 479 xDelete<IssmDouble>(triabasis); 480 return; 481 case P1bubbleEnum: case P1bubblecondensedEnum: 471 482 basis[0]=triabasis[index1]; 472 483 basis[1]=triabasis[index2]; … … 537 548 dbasis[NUMNODESP1*0+2] = 0; 538 549 dbasis[NUMNODESP1*1+2] = SQRT3/3.; 550 return; 551 case P1bubbleEnum: case P1bubblecondensedEnum: 552 /*Nodal function 1*/ 553 dbasis[NUMNODESP1b*0+0] = -0.5; 554 dbasis[NUMNODESP1b*1+0] = -SQRT3/6.; 555 /*Nodal function 2*/ 556 dbasis[NUMNODESP1b*0+1] = 0.5; 557 dbasis[NUMNODESP1b*1+1] = -SQRT3/6.; 558 /*Nodal function 3*/ 559 dbasis[NUMNODESP1b*0+2] = 0; 560 dbasis[NUMNODESP1b*1+2] = SQRT3/3.; 561 /*Nodal function 4*/ 562 dbasis[NUMNODESP1b*0+2] = 27.*(-.5*gauss->coord2*gauss->coord3 + .5*gauss->coord1*gauss->coord3);; 563 dbasis[NUMNODESP1b*1+2] = 27.*SQRT3*(-1./6.*gauss->coord2*gauss->coord3 - 1./6.*gauss->coord1*gauss->coord3 +1./3.*gauss->coord1*gauss->coord2); 539 564 return; 540 565 case P2Enum: … … 622 647 623 648 switch(this->element_type){ 624 case P1Enum: return NUMNODESP1; 625 case P1DGEnum: return NUMNODESP1; 626 case P2Enum: return NUMNODESP2; 649 case P1Enum: return NUMNODESP1; 650 case P1DGEnum: return NUMNODESP1; 651 case P1bubbleEnum: return NUMNODESP1b; 652 case P1bubblecondensedEnum: return NUMNODESP1b; 653 case P2Enum: return NUMNODESP2; 627 654 default: _error_("Element type "<<EnumToStringx(this->element_type)<<" not supported yet"); 628 655 } -
issm/trunk-jpl/src/c/classes/IoModel.cpp
r15611 r15689 57 57 58 58 /*Initialize data: */ 59 this->data=xNew<IssmDouble*>(MaximumNumberOf Enums);60 for(int i=0;i<MaximumNumberOf Enums;i++) this->data[i]=NULL;59 this->data=xNew<IssmDouble*>(MaximumNumberOfDefinitionsEnum); 60 for(int i=0;i<MaximumNumberOfDefinitionsEnum;i++) this->data[i]=NULL; 61 61 62 62 /*If we are running in AD mode, we need to start the trace and declare our independent variables now, … … 94 94 #ifdef _ISSM_DEBUG_ 95 95 if(this->data){ 96 for(int i=0;i<MaximumNumberOf Enums;i++){96 for(int i=0;i<MaximumNumberOfDefinitionsEnum;i++){ 97 97 if(this->data[i]){ 98 98 _printf0_("Info: previous pointer of " << EnumToStringx(i) << " has not been freed (DeleteData has not been called)\n"); … … 143 143 } 144 144 else{ 145 if(record_enum!=MaximumNumberOf Enums){145 if(record_enum!=MaximumNumberOfDefinitionsEnum){ 146 146 _printf0_("\n"); 147 147 _printf0_("=========================================================================\n"); … … 215 215 IssmDouble* IoModel::Data(int data_enum){ 216 216 217 _assert_(data_enum<MaximumNumberOf Enums);217 _assert_(data_enum<MaximumNumberOfDefinitionsEnum); 218 218 _assert_(data_enum>=0); 219 219 … … 235 235 236 236 /*Initialize array detecting whether data[i] is an independent AD mode variable: */ 237 this->independents=xNew<bool>(MaximumNumberOf Enums);238 for(i=0;i<MaximumNumberOf Enums;i++) this->independents[i]=false;237 this->independents=xNew<bool>(MaximumNumberOfDefinitionsEnum); 238 for(i=0;i<MaximumNumberOfDefinitionsEnum;i++) this->independents[i]=false; 239 239 240 240 this->FetchData(&autodiff,AutodiffIsautodiffEnum); … … 292 292 for(i = 0; i <num; i++){ 293 293 dataenum=va_arg(ap, int); 294 _assert_(dataenum<MaximumNumberOf Enums);294 _assert_(dataenum<MaximumNumberOfDefinitionsEnum); 295 295 296 296 /*do not erase independent variables for the AD mode computations!: */ … … 1066 1066 /*{{{*/ 1067 1067 #ifdef _ISSM_DEBUG_ 1068 _assert_(dataenum<MaximumNumberOf Enums);1068 _assert_(dataenum<MaximumNumberOfDefinitionsEnum); 1069 1069 if(this->data[dataenum]){ 1070 1070 _error_("Info: trying to fetch " << EnumToStringx(dataenum) << " but previous pointer has not been freed (DeleteData has not been called)"); … … 1096 1096 1097 1097 /*variables being fetched: */ 1098 bool boolean;1099 int integer;1098 bool boolean; 1099 int integer; 1100 1100 IssmDouble scalar; 1101 char *string= NULL;1102 IssmDouble *IssmDoublevector 1103 int M,N;1101 char *string = NULL; 1102 IssmDouble *IssmDoublevector = NULL; 1103 int M,N; 1104 1104 1105 1105 /*Fetch parameters: */ -
issm/trunk-jpl/src/c/main/kriging.cpp
r15570 r15689 148 148 iomodel->fid=fid; 149 149 iomodel->CheckEnumSync(); 150 iomodel->independents=xNew<bool>(MaximumNumberOf Enums); for(int i=0;i<MaximumNumberOfEnums;i++) iomodel->independents[i]=false;150 iomodel->independents=xNew<bool>(MaximumNumberOfDefinitionsEnum); for(int i=0;i<MaximumNumberOfDefinitionsEnum;i++) iomodel->independents[i]=false; 151 151 iomodel->FetchData(&x,&M,&N,0); nobs=M*N; 152 152 iomodel->FetchData(&y,&M,&N,1); _assert_(M*N==nobs); -
issm/trunk-jpl/src/c/modules/IoModelToConstraintsx/IoModelToConstraintsx.cpp
r15654 r15689 116 116 constraints->AddObject(new SpcStatic(iomodel->constraintcounter+count+1,iomodel->nodecounter+iomodel->numberofvertices+i+1, 117 117 dof,value,analysis_type)); 118 count++; 119 } 120 } 121 } 122 break; 123 case P1bubblecondensedEnum: 124 for(i=0;i<iomodel->numberofvertices;i++){ 125 if((iomodel->my_vertices[i])){ 126 if (!xIsNan<IssmDouble>(spcdata[i])){ 127 constraints->AddObject(new SpcStatic(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,dof,spcdata[i],analysis_type)); 118 128 count++; 119 129 } -
issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateNodes.cpp
r15688 r15689 40 40 41 41 } 42 } 43 } 44 break; 45 46 case P1bubbleEnum: 47 for(i=0;i<iomodel->numberofvertices;i++){ 48 if(iomodel->my_vertices[i]){ 49 nodes->AddObject(new Node(iomodel->nodecounter+i+1,i,i,iomodel,analysis,approximation)); 50 } 51 } 52 for(i=0;i<iomodel->numberofelements;i++){ 53 if(iomodel->my_elements[i]){ 54 nodes->AddObject(new Node(iomodel->nodecounter+iomodel->numberofvertices+i+1,iomodel->numberofvertices+i,0,iomodel,analysis,approximation)); 55 } 56 } 57 break; 58 59 case P1bubblecondensedEnum: 60 for(i=0;i<iomodel->numberofvertices;i++){ 61 if(iomodel->my_vertices[i]){ 62 nodes->AddObject(new Node(iomodel->nodecounter+i+1,i,i,iomodel,analysis,approximation)); 63 } 64 } 65 for(i=0;i<iomodel->numberofelements;i++){ 66 if(iomodel->my_elements[i]){ 67 node = new Node(iomodel->nodecounter+iomodel->numberofvertices+i+1,iomodel->numberofvertices+i,0,iomodel,analysis,approximation); 68 node->Deactivate(); 69 nodes->AddObject(node); 42 70 } 43 71 } -
issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h
r15654 r15689 503 503 P1DGEnum, 504 504 P1bubbleEnum, 505 P1bubblecondensedEnum, 505 506 P2Enum, 506 507 P2xP1Enum, … … 619 620 ArrheniusEnum, 620 621 /*}}}*/ 621 MaximumNumberOf Enums622 MaximumNumberOfDefinitionsEnum 622 623 }; 623 624 -
issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp
r15654 r15689 495 495 case P1DGEnum : return "P1DG"; 496 496 case P1bubbleEnum : return "P1bubble"; 497 case P1bubblecondensedEnum : return "P1bubblecondensed"; 497 498 case P2Enum : return "P2"; 498 499 case P2xP1Enum : return "P2xP1"; … … 588 589 case PatersonEnum : return "Paterson"; 589 590 case ArrheniusEnum : return "Arrhenius"; 591 case MaximumNumberOfDefinitionsEnum : return "MaximumNumberOfDefinitions"; 590 592 default : return "unknown"; 591 593 -
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r15654 r15689 504 504 else if (strcmp(name,"P1DG")==0) return P1DGEnum; 505 505 else if (strcmp(name,"P1bubble")==0) return P1bubbleEnum; 506 else if (strcmp(name,"P1bubblecondensed")==0) return P1bubblecondensedEnum; 506 507 else if (strcmp(name,"P2")==0) return P2Enum; 507 else if (strcmp(name,"P2xP1")==0) return P2xP1Enum;508 508 else stage=5; 509 509 } 510 510 if(stage==5){ 511 if (strcmp(name,"P1xP2")==0) return P1xP2Enum; 511 if (strcmp(name,"P2xP1")==0) return P2xP1Enum; 512 else if (strcmp(name,"P1xP2")==0) return P1xP2Enum; 512 513 else if (strcmp(name,"P1P1")==0) return P1P1Enum; 513 514 else if (strcmp(name,"P1P1GLS")==0) return P1P1GLSEnum; … … 600 601 else if (strcmp(name,"Paterson")==0) return PatersonEnum; 601 602 else if (strcmp(name,"Arrhenius")==0) return ArrheniusEnum; 603 else if (strcmp(name,"MaximumNumberOfDefinitions")==0) return MaximumNumberOfDefinitionsEnum; 602 604 else stage=6; 603 605 } -
issm/trunk-jpl/src/c/shared/Enum/Synchronize.sh
r14964 r15689 3 3 4 4 #Get all lines of EnumDefinitions2.h which hold Enum | remove all commas > put everything in file temp 5 cat EnumDefinitions.h | grep -e "[0-9]Enum," -e "[a-zA-Z]Enum," | grep -v include | sed -e "s/,/ /g" | awk '{print $1}' > temp5 cat EnumDefinitions.h | grep -e "[0-9]Enum," -e "[a-zA-Z]Enum," -e "MaximumNumberOfDefinitionsEnum" | grep -v include | sed -e "s/,/ /g" | awk '{print $1}' > temp 6 6 7 7 #Removed existing files … … 177 177 178 178 done 179 #MaximumNumberOfEnums (matlab){{{180 cat <<END > $ISSM_DIR/src/m/enum/MaximumNumberOfEnums.m181 function macro=MaximumNumberOfEnums()182 %$(echo "MaximumNumberOfEnums" | awk {'print toupper($1)'}) - Enum of MaximumNumberOfEnums183 %184 % WARNING: DO NOT MODIFY THIS FILE185 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh186 % Please read src/c/shared/Enum/README for more information187 %188 % Usage:189 % macro=MaximumNumberOfEnums()190 191 macro=$(cat EnumDefinitions.h | grep -e "[0-9]Enum" -e "[a-zA-Z]Enum" | grep -v include \192 | awk '{ printf "%s %s\n", NR-1, $0 }' \193 | grep "MaximumNumberOfEnums" | awk '{print $1}');194 END195 #}}}196 #MaximumNumberOfEnums (python){{{197 cat <<END >> $ISSM_DIR/src/m/enum/EnumDefinitions.py198 def MaximumNumberOfEnums():199 """200 $(echo "MaximumNumberOfEnums" | awk {'print toupper($1)'}) - Enum of MaximumNumberOfEnums201 202 WARNING: DO NOT MODIFY THIS FILE203 this file has been automatically generated by src/c/shared/Enum/Synchronize.sh204 Please read src/c/shared/Enum/README for more information205 206 Usage:207 macro=MaximumNumberOfEnums()208 """209 210 return $(cat EnumDefinitions.h | grep -e "[0-9]Enum" -e "[a-zA-Z]Enum" | grep -v include \211 | awk '{ printf "%s %s\n", NR-1, $0 }' \212 | grep "MaximumNumberOfEnums" | awk '{print $1}')213 214 END215 #}}}216 217 179 #clean up{{{ 218 180 rm temp -
issm/trunk-jpl/src/m/classes/flowequation.m
r15684 r15689 69 69 function obj = setdefaultparameters(obj) % {{{ 70 70 71 %MINI element for FS by default72 obj.fe_FS = 3;71 %MINI condensed element for FS by default 72 obj.fe_FS = 2; 73 73 end % }}} 74 74 function md = checkconsistency(obj,md,solution,analyses) % {{{ … … 117 117 fielddisplay(obj,'fe_SSA','Finite Element for SSA 0: Lagrange P1 (linear), 1: Lagrange P2 (quadratic)'); 118 118 fielddisplay(obj,'fe_HO', 'Finite Element for HO 0: P1xP1, 1: P1xP2, 2: P2xP1, 3: P2xP2'); 119 fielddisplay(obj,'fe_FS', 'Finite Element for FS 0: P1P1 (debugging), 1: P1P1GSL (under dev), 2: MINI condensed (under dev), 3: MINI, 4: P2P1 (Taylor-Hood)');119 fielddisplay(obj,'fe_FS', 'Finite Element for FS 0: P1P1 (debugging), 1: P1P1GSL (under dev), 2: MINI condensed, 3: MINI, 4: P2P1 (Taylor-Hood)'); 120 120 fielddisplay(obj,'vertex_equation','flow equation for each vertex'); 121 121 fielddisplay(obj,'element_equation','flow equation for each element'); -
issm/trunk-jpl/src/m/classes/flowequation.py
r15684 r15689 44 44 string="%s\n%s"%(string,fielddisplay(self,'fe_SSA',"Finite Element for SSA 0: Lagrange P1 (linear), 1: Lagrange P2 (quadratic)")) 45 45 string="%s\n%s"%(string,fielddisplay(self,'fe_HO' ,"Finite Element for HO 0: P1xP1, 1: P1xP2, 2: P2xP1, 3: P2xP2")) 46 string="%s\n%s"%(string,fielddisplay(self,'fe_FS' ,"Finite Element for FS 0: P1P1 (debugging), 1: P1P1GSL (under dev), 2: MINI condensed (under dev), 3: MINI, 4: P2P1 (Taylor-Hood)"))46 string="%s\n%s"%(string,fielddisplay(self,'fe_FS' ,"Finite Element for FS 0: P1P1 (debugging), 1: P1P1GSL (under dev), 2: MINI condensed, 3: MINI, 4: P2P1 (Taylor-Hood)")) 47 47 string="%s\n%s"%(string,fielddisplay(self,'vertex_equation',"flow equation for each vertex")) 48 48 string="%s\n%s"%(string,fielddisplay(self,'element_equation',"flow equation for each element")) … … 55 55 56 56 #MINI element for FS by default 57 self.fe_FS= 357 self.fe_FS=2 58 58 59 59 return self -
issm/trunk-jpl/src/m/enum/EnumDefinitions.py
r15654 r15689 6701 6701 return StringToEnum('P1bubble')[0] 6702 6702 6703 def P1bubblecondensedEnum(): 6704 """ 6705 P1BUBBLECONDENSEDENUM - Enum of P1bubblecondensed 6706 6707 WARNING: DO NOT MODIFY THIS FILE 6708 this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6709 Please read src/c/shared/Enum/README for more information 6710 6711 Usage: 6712 macro=P1bubblecondensedEnum() 6713 """ 6714 6715 return StringToEnum('P1bubblecondensed')[0] 6716 6703 6717 def P2Enum(): 6704 6718 """ … … 8003 8017 return StringToEnum('Arrhenius')[0] 8004 8018 8005 def MaximumNumberOf Enums():8006 """ 8007 MAXIMUMNUMBEROF ENUMS - Enum of MaximumNumberOfEnums8008 8009 WARNING: DO NOT MODIFY THIS FILE 8010 this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 8011 Please read src/c/shared/Enum/README for more information 8012 8013 Usage: 8014 macro=MaximumNumberOf Enums()8015 """ 8016 8017 return 5718018 8019 def MaximumNumberOfDefinitionsEnum(): 8020 """ 8021 MAXIMUMNUMBEROFDEFINITIONSENUM - Enum of MaximumNumberOfDefinitions 8022 8023 WARNING: DO NOT MODIFY THIS FILE 8024 this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 8025 Please read src/c/shared/Enum/README for more information 8026 8027 Usage: 8028 macro=MaximumNumberOfDefinitionsEnum() 8029 """ 8030 8031 return StringToEnum('MaximumNumberOfDefinitions')[0] 8032 -
issm/trunk-jpl/src/m/solve/marshall.m
r15131 r15689 17 17 18 18 %First, write MaximumNumberOfEnum to make sure that the Enums are synchronized 19 WriteData(fid,'enum',MaximumNumberOf Enums(),'data',true,'format','Boolean');19 WriteData(fid,'enum',MaximumNumberOfDefinitionsEnum(),'data',true,'format','Boolean'); 20 20 21 21 %Go through all model fields: check that it is a class and call checkconsistency -
issm/trunk-jpl/src/m/solve/marshall.py
r15131 r15689 22 22 23 23 #First, write MaximumNumberOfEnum to make sure that the Enums are synchronized 24 WriteData(fid,'enum',MaximumNumberOf Enums(),'data',True,'format','Boolean')24 WriteData(fid,'enum',MaximumNumberOfDefinitionsEnum(),'data',True,'format','Boolean') 25 25 26 26 #Go through all model fields: check that it is a class and call checkconsistency
Note:
See TracChangeset
for help on using the changeset viewer.