Changeset 5623 for issm/trunk


Ignore:
Timestamp:
08/30/10 15:21:11 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

Location:
issm/trunk/src/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Bamg/Mesh.cpp

    r5605 r5623  
    11511151                tt[2]= &triangles[nbt++];
    11521152
    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;
    11591156                tt[0]->link=tt[1];
    11601157                tt[1]->link=tt[2];
    11611158
    1162                 (* tt[0])(OppositeVertex[0])=&s;
    1163                 (* tt[1])(OppositeVertex[1])=&s;
    1164                 (* tt[2])(OppositeVertex[2])=&s;
     1159                (*tt[0])(OppositeVertex[0])=&s;
     1160                (*tt[1])(OppositeVertex[1])=&s;
     1161                (*tt[2])(OppositeVertex[2])=&s;
    11651162
    11661163                tt[0]->det=det3[0];
     
    11881185                // swap if the point s is on a edge
    11891186                if(izerodet>=0) {
    1190                         int rswap =tt[izerodet]->swap(iedge);
     1187                        int rswap=tt[izerodet]->swap(iedge);
    11911188
    11921189                        if (!rswap) {
  • issm/trunk/src/c/solutions/control_core.cpp

    r5530 r5623  
    102102                optargs.n=n; optpars.maxiter=(int)maxiter[n]; optpars.cm_jump=cm_jump[n];
    103103                BrentSearch(&search_scalar,J+n,&optpars,&objectivefunctionC,&optargs);
     104                //OptimalSearch(&search_scalar,J+n,&optpars,&objectivefunctionC,&optargs);
    104105
    105106                _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.