Changeset 11093


Ignore:
Timestamp:
01/11/12 14:19:56 (13 years ago)
Author:
Eric.Larour
Message:

Windows adaptations for const integer dimensions of arrays and
use of floor routines.

Location:
issm/trunk-jpl/src/c/objects/Bamg
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/Bamg/BamgGeom.cpp

    r9320 r11093  
    5757        int         i;
    5858        mxArray*    output=NULL;
    59         int         numfields=7;
     59        const int         numfields=7;
    6060        const char* fnames[numfields];
    6161        mwSize      ndim=2;
  • issm/trunk-jpl/src/c/objects/Bamg/BamgMesh.cpp

    r9320 r11093  
    9797        int         i;
    9898        mxArray*    output=NULL;
    99         int         numfields=16;
     99        const int         numfields=16;
    100100        const char* fnames[numfields];
    101101        mwSize      ndim=2;
  • issm/trunk-jpl/src/c/objects/Bamg/Mesh.cpp

    r10205 r11093  
    863863                        for(j=head_1[i];j!=-1;j=next_1[j]){
    864864                                _assert_(connectivitymax_1*i+k < connectivitymax_1*nbv);
    865                                 bamgmesh->NodalElementConnectivity[connectivitymax_1*i+k]=floor(j/3)+1;
     865                                bamgmesh->NodalElementConnectivity[connectivitymax_1*i+k]=floor((double)j/3)+1;
    866866                                k++;
    867867                        }
Note: See TracChangeset for help on using the changeset viewer.