Changeset 4449


Ignore:
Timestamp:
07/07/10 16:38:58 (15 years ago)
Author:
Eric.Larour
Message:

Reshuffling Qmu routines

Location:
issm/trunk/src
Files:
5 added
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Makefile.am

    r4397 r4449  
    458458                                        ./modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.h\
    459459                                        ./modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.cpp\
     460                                        ./modules/DakotaResponsesx/DakotaResponsesx.h\
     461                                        ./modules/DakotaResponsesx/DakotaResponsesx.cpp\
    460462                                        ./modules/GetSolutionFromInputsx/GetSolutionFromInputsx.h\
    461463                                        ./modules/GetSolutionFromInputsx/GetSolutionFromInputsx.cpp\
     
    10031005                                        ./modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.h\
    10041006                                        ./modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.cpp\
     1007                                        ./modules/DakotaResponsesx/DakotaResponsesx.h\
     1008                                        ./modules/DakotaResponsesx/DakotaResponsesx.cpp\
    10051009                                        ./modules/GetSolutionFromInputsx/GetSolutionFromInputsx.h\
    10061010                                        ./modules/GetSolutionFromInputsx/GetSolutionFromInputsx.cpp\
  • issm/trunk/src/mex/InputUpdateFromDakota/InputUpdateFromDakota.cpp

    r4439 r4449  
    1919        double*     variables=NULL;
    2020        char**      variables_descriptors=NULL;
     21        char*       string=NULL;
    2122        int         numvariables;
    2223        mxArray*    pfield=NULL;
     
    4142        variables_descriptors=(char**)xmalloc(numvariables*sizeof(char*));
    4243        for(i=0;i<numvariables;i++){
     44               
    4345                pfield=mxGetCell(VARIABLESDESCRIPTORS,i);
    44                 variables_descriptors[i]=mxGetString(pfield);
     46                stringlength = (mxGetM(pfield) * mxGetN(pfield) * sizeof(mxChar)) + 1 ;
     47                mxGetString(pfield,string,stringlength);
     48               
     49                variables_descriptors[i]=string;
    4550        }
    4651       
  • issm/trunk/src/mex/Makefile.am

    r4439 r4449  
    1515                                ContourToMesh \
    1616                                ContourToNodes \
    17                                 InputControlConstrain \
    1817                                CostFunction \
    19                                 InputDepthAverage\
    20                                 NodesDof\
     18                                DakotaResponses\
    2119                                Du\
    2220                                Echo\
    2321                                ElementConnectivity\
     22                                InputControlConstrain \
     23                                InputDepthAverage\
    2424                                InputExtrude\
    2525                                FieldAverageOntoVertices\
     
    4242                                MpcNodes\
    4343                                NodeConnectivity\
     44                                NodesDof\
    4445                                NormalizeConstraints\
    4546                                Orth\
     
    135136                          NodesDof/NodesDof.h
    136137
     138DakotaResponses_SOURCES = DakotaResponses/DakotaResponses.cpp\
     139                          DakotaResponses/DakotaResponses.h
     140
    137141Du_SOURCES = Du/Du.cpp\
    138142                          Du/Du.h
Note: See TracChangeset for help on using the changeset viewer.