Ignore:
Timestamp:
10/07/13 10:54:18 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: md.inversion.cost_functions is now only one line (i.e., we cannot change the cost function during the optimization)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test319.py

    r15771 r16307  
    2020md.inversion.max_parameters=200.*numpy.ones((md.mesh.numberofvertices,1))
    2121md.inversion.nsteps=2
    22 md.inversion.cost_functions=numpy.hstack((103*numpy.ones((md.inversion.nsteps,1)),501*numpy.ones((md.inversion.nsteps,1))))
     22md.inversion.cost_functions=[103,501]
    2323md.inversion.cost_functions_coefficients=numpy.ones((md.mesh.numberofvertices,2))
    2424md.inversion.cost_functions_coefficients[:,1]=2.*10**-7
Note: See TracChangeset for help on using the changeset viewer.