Skip to content
Snippets Groups Projects
  1. Jan 29, 2025
    • Maren Kaluza's avatar
      Added ToDos as comments · 3379b596
      Maren Kaluza authored and Sebastian Müller's avatar Sebastian Müller committed
      3379b596
    • Maren Kaluza's avatar
      Updated to type opti_sim_t with flexible opti data, minimal eval interface · 3b5b887a
      Maren Kaluza authored and Sebastian Müller's avatar Sebastian Müller committed
      New features:
      
      - The eval interface only has two variables: config, opti_sim(:)
          - config contains the parameters. Also for example the indices. The
            indices are helpful for parallelization: the eval would only use a
            subset of domains.
          - opti_sim is an array that will have the size nDomains in case of
            mHM. Each element of the array is then of type opti_sim and can
            have an array of different optimization variables 'opti_vars'.
      - opti_vars replaces specific optimization variables like runoff, et,
        tws, etc. You can add an arbitrary variable with dimension 1, 2, 3, 4
        or 5 with an arbitrary name like "runoff", "et", "tws", etc.
          - optivars contains:
            - add: to add a variable. -- This might not work correctly if
      	a second variable is added and so on.
            - has: by name, if a variable is added.
            - allocate: allocates the space for the variable. It cannot be
      	done through a pointer.
            - set_pointer: sets a pointer to the allocated space of a
      	variable.
      
      Changes of plan:
      
      - The opti_sim input variable in the eval interface was not supposed to
        be an array. But it was more convenient that way and would have added
        another complicated layer to the code otherwise.
      - There was not supposed to be a procedure 'allocate' in opti_sim. But
        int turned out, associated arrays cannot be allocated through
        pointers.
      3b5b887a
    • Maren Kaluza's avatar
      created new type variables_optidata_sim for eval_interface · c1eb67ee
      Maren Kaluza authored and Sebastian Müller's avatar Sebastian Müller committed
      instead of many optization variables the eval_interfaces now gets a
      collection of all optimization variables in one. By this, the
      eval_interface is short and does not need to be changed each time we
      would like to optimize something else.
      c1eb67ee
    • Sebastian Müller's avatar
      Merge branch 'update_CI_2024' into 'main' · ff58c8d8
      Sebastian Müller authored
      Update Docs and CI
      
      See merge request !84
      ff58c8d8
  2. Dec 27, 2024
  3. Dec 26, 2024
  4. Mar 13, 2024
Loading