Changeset 5623 for issm/trunk
- Timestamp:
- 08/30/10 15:21:11 (15 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Bamg/Mesh.cpp
r5605 r5623 1151 1151 tt[2]= &triangles[nbt++]; 1152 1152 1153 if (nbt>maxnbt) { 1154 ISSMERROR("Not ebough triangles"); 1155 } 1156 1157 *tt[1]= *tt[2]= *t; 1158 // gestion of the link 1153 if (nbt>maxnbt) ISSMERROR("Not enough triangles"); 1154 1155 *tt[1]=*tt[2]=*t; 1159 1156 tt[0]->link=tt[1]; 1160 1157 tt[1]->link=tt[2]; 1161 1158 1162 (* 1163 (* 1164 (* 1159 (*tt[0])(OppositeVertex[0])=&s; 1160 (*tt[1])(OppositeVertex[1])=&s; 1161 (*tt[2])(OppositeVertex[2])=&s; 1165 1162 1166 1163 tt[0]->det=det3[0]; … … 1188 1185 // swap if the point s is on a edge 1189 1186 if(izerodet>=0) { 1190 int rswap 1187 int rswap=tt[izerodet]->swap(iedge); 1191 1188 1192 1189 if (!rswap) { -
issm/trunk/src/c/solutions/control_core.cpp
r5530 r5623 102 102 optargs.n=n; optpars.maxiter=(int)maxiter[n]; optpars.cm_jump=cm_jump[n]; 103 103 BrentSearch(&search_scalar,J+n,&optpars,&objectivefunctionC,&optargs); 104 //OptimalSearch(&search_scalar,J+n,&optpars,&objectivefunctionC,&optargs); 104 105 105 106 _printf_("%s\n"," updating parameter using optimized search scalar..."); //true means update parameter and copy it onto ControlParameter input
Note:
See TracChangeset
for help on using the changeset viewer.