Changeset 3170


Ignore:
Timestamp:
03/03/10 16:21:52 (15 years ago)
Author:
Mathieu Morlighem
Message:

Added Cost function

Location:
issm/trunk/src/mex
Files:
3 added
2 edited

Legend:

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

    r3128 r3170  
    1313                                ContourToNodes \
    1414                                ControlConstrain \
     15                                CostFunction \
    1516                                Dof\
    1617                                Du\
     
    99100                          ContourToNodes/ContourToNodes.h
    100101
    101 
    102102ControlOptimization_SOURCES = ControlOptimization/ControlOptimization.cpp\
    103103                          ControlOptimization/ControlOptimization.h
     
    106106                          ControlConstrain/ControlConstrain.h
    107107
     108CostFunction_SOURCES =  CostFunction/CostFunction.cpp \
     109                                                CostFunction/CostFunction.h
     110
    108111Dof_SOURCES = Dof/Dof.cpp\
    109112                          Dof/Dof.h
  • issm/trunk/src/mex/Misfit/Misfit.cpp

    r3046 r3170  
    1919        int               analysis_type;
    2020        int               sub_analysis_type;
    21         int               real=0; //we are computing a misfit which can be dampened...
    2221
    2322        /* output datasets: */
     
    4443
    4544        /*!Call core code: */
    46         Misfitx(&J, elements,nodes,loads,materials,parameters,inputs,analysis_type,sub_analysis_type,real);
     45        Misfitx(&J, elements,nodes,loads,materials,parameters,inputs,analysis_type,sub_analysis_type);
    4746
    4847        /*write output : */
Note: See TracChangeset for help on using the changeset viewer.