1. 05 Mar, 2021 1 commit
    • Graham, Aaron's avatar
      7 d ints and reals (#311) · 2ddba97d
      Graham, Aaron authored
      * Add's 5D, 6D, and 7D support for SSK, SLK, SNK, and SDK parameters
      * Add support for higher order int/real arrays when reading/writing HDF5 parameter lists
  2. 03 Mar, 2021 1 commit
    • William Gurecky's avatar
      Fmu wrappers (#4647) (#288) · 9be652ee
      William Gurecky authored
      * wip: adds boilerplate fmi and fmu c interface
      * adds working example FMU model import
      * adds wrappers for doStep getReal and setReal
      * fix issue with getting c++ obj pointer
      * wip: debugging illegal fmu state after init
      * wip: debugging illegal fmu state after init
      * adds example FMU import
      * adds calls to enter and exitInitilizationMode to setupExperiment and adds output to fmu step example
      * adds verbosity flag for c/c++ interface fns
      * remove extraneous module imports in fmu2_f_api
      * example fmu step test now runs to endTime of 0.1s
      * wraps clear get/setInteger and get/setBoolean
      * parse the FMU XML modelDescription on init
      * enables xml parser to handle FMU born XML files and adds getValueRef and getCausality methods to FMU wrapper
      * wip: get and set FMU state for FMU setRestart and rewindToRestart functionality
      * adds convinience method to get and set FMU variables
      * wip: adds capability to setRestart and rewindToRestart and adds ex use of rewind in exampleFMU
      * cleanup
      * ensure GetSetFMUstate capability is enabled by checking FMU XML
      * remove debug edits
      * clean up unused vars
      * read the FMU guid and modelIdentifier directly from the FMU XML if available
      * make opaque pointer to fmu obj a property of the FMU_base abstract class
      * remove unused FMUv1 specific code
      * fix cmake msg status for fmu wrapper config
      * adding check for duplicate variables in fmu xml
      * fix issue where rewind state does not rewind model time
      * retab fmu cpp files
      * adding tests for fmu xml parse and fmu model load
      * adds test to step fmu model forward and check against expected result
      * update license and doc strings
      * clean comments in fmu examples
      * remove write statement from fmu unit test
      * fix doc strings in FMU_Wrapper
      * remove extra import c_ptr statements in FMU_f_api
      * updates fmu wrapper doc strings and changes fmu interface module name
      * Seperate base, Co-Sim and Model Exchange FMU types in the FMU wrapper
      * wip: adds initial support for model exchange fmus in the FMU_wrapper
      * deduce the number of continuous state variables from the fmu xml file for model exchange fmus
      * fixes xml parse issue when a ModelStructure block is present but empty in the FMU XML
      * change fmu var get and set interfaces to take character strings rather than StringType
      * remove abstract interface for method that is specific to FMIv2 and v1, but not included in v3
      * adds additional check to valueReference in FMU_Wrapper unit test
      * make properties and methods of the abstract fmu base class private by default
      * adds option to auto download the third party FMUs and gold result files in the FMU examples
      * adds detailed description of each FMU Wrapper example
      * adds rewind consitency check to exampleFMU2_rectifier.f90
      * fix whitespace
      * fix whitespace in fmu wrapper unittest
  3. 13 Jul, 2020 1 commit
    • Graham, Aaron's avatar
      Add PL 4-D Arrays (#273) · 4928cd81
      Graham, Aaron authored
      * Add support to ParameterLists for 4D SNK, SLK, SSK, and SDK arrays
      * Add PLPtr wrapper class to ParameterLists
      * Consolidate reallocation statements in ParameterLists
      * Add support to HDF5 for reading rank 4 arrays into a PL
      * Add capability to HDF5 to get data type and shape
      * Add some protection for unneeded / in HDF5
      * Remove spurious write statement
      * Add missing preproc symbols
      * Address unused variables
  4. 22 Jun, 2020 1 commit
  5. 15 Jan, 2020 1 commit
    • Graham, Aaron's avatar
      Fix indentations (#220) · e74720e5
      Graham, Aaron authored and Stimpson, Shane G's avatar Stimpson, Shane G committed
      * Address code that does not adhere to the code standard
      Fixes 3 things:
      1. Removes author, data, revision, and dependencies from module headers
      2. Removes unneeded indentation inside MODULE statments
      3. Removes unneeded indentation inside module CONTAINS statements
      * Fix coinuation line indentations
      * Fix SELECTTYPE and SELECTCASE indentations
      * Fix indentation for PROGRAM and MODULE blocks in unit tests
      * Fix continuation lines and SELECT TYPE/CASE in unit tests
  6. 13 Jan, 2020 1 commit
  7. 09 Jan, 2020 1 commit
    • djabaay's avatar
      Convert PL to 2D string array (#203) · b1feb413
      djabaay authored
      * Adding routine to convert a PL of PLs to a 2-D string array.
      * Adding unit test for convertTo2DStringArray.
      * Whitespace.
      * Removing unused variables.
      * Deleting commented out code.  Adding all paramtypes to unit test.
      CASL Ticket # - PHI 6088
      * Removing unneeded variables.
      Two parameter list pointers and a string variable were not needed.
      CASL Ticket # - PHI 6088
  8. 12 Dec, 2019 1 commit
    • djabaay's avatar
      Pl get string update (#197) · fa37ca38
      djabaay authored
      * Updating the %getString function.
      Originally, the function would only return a string for scalar values,
      and the developer was responsible for selecting the correct %getString*
      subroutine depending on the parameter type being converted, whether a
      scalar, 1-D, 2-D, or 3-D array.
      This change allows the developer to use the scalar %getString function
      for any dimension of parameter.
      * Adding unit tests for the updated %getString routine.
      * Prune the ending ',' when writing the arrays.
      * Replacing integer writes with calls to function str(integer).
      * Changing the default delimiter to be ;.  Updating tests.
      * Addressing Yuxuan's comments.
      Removing commented out code.
      Adding subroutine descriptions.
      Removing optional delim argument.
      Updating comments and replacing getSubstring with %substr()
      CASL Ticket # - N/A
      * Fixing SELECTTYPE indentation
      CASL Ticket # - N/A
      * Addressing review comments. Updating error messages, unit test assertions.
      CASL Ticket # - N/A
      * Other review comments. Fixing comment descriptions, updated assertions.
      CASL Ticket # - N/A
      * Changing the delimeter from ";" to surrounding '"'s
      This change is primarily for better interoperability with the getField()
      subroutine.  In this manner, each entry from a multi-dimensional array
      is added to the scalar string as a separate field.
      CASL Ticket # - PHI 6173
      * Deleting unused variable.
      CASL Ticket # - PHI 6173
  9. 07 Nov, 2019 1 commit
  10. 18 Sep, 2019 1 commit
  11. 05 Aug, 2019 1 commit
  12. 02 Aug, 2019 1 commit
  13. 30 Jul, 2019 1 commit
  14. 29 Jul, 2019 8 commits
  15. 30 Nov, 2017 2 commits
    • Dan Jabaay's avatar
      Simplifying the edits for scalar and 1-D string PLs · f71d88b5
      Dan Jabaay authored
      Removing the IF-ELSE statement for the %description attribute on the
      param type whether it is == 0 or not.  If the %description or %val are
      LEN_TRIM non-zero, assign that to local variables, whose default values
      are empty (i.e. '')
      CASL Ticket # - PHI #5241
    • Dan Jabaay's avatar
      Checking if the string variable is len_trim > 0 before writing. · 2e7e6eeb
      Dan Jabaay authored
      In an attepmt to eliminate erroneous characters being printed for a
      null/empty string type on a parameter list, the parameter list value is
      checked to make sure it has a length > 0 before printing.  If it is ==
      0, an empty string is printed (i.e. '') in its place.
      CASL Ticket # - PHI #5241
  16. 01 Jul, 2017 1 commit
    • HendersonSC's avatar
      Fix warnings (#32) · e09ececa
      HendersonSC authored and COLLINSBS email's avatar COLLINSBS email committed
      * Remove unused variables in ParameterLists.f90
      * Removes unused varibles in Futitiy source files
      * Fix compilier warnings
      Removed unused varibles and resolved warnings related to  narrowing conversions
      * Fixes compiler warnings from unused variables and narrowing conversion.
      * Removes compiler warnings for unused variables.
      * Correct variable declaration, fixes compiler error.
      Corrected conditional statements to include variable with Trilinos and/or
      Petsc builds in LinearSolverTypes.
      * Corrects unused variables for Sundials solver in ODEsolverTypes
      * Fixing remainder of build issues removed variables
  17. 03 Mar, 2017 1 commit
  18. 21 Jan, 2017 1 commit
  19. 20 Jan, 2017 5 commits
  20. 23 Aug, 2016 9 commits
    • Brendan Kochunas's avatar
      Nasty Intel bug fix in new Parameter list routine · 5e3043ab
      Brendan Kochunas authored
      Previously a list iterator was added to the ParamType. This routine
      was failing in Intel whenever the pointer argument was NULL.
      To fix it, I switched the pointer/target arguments and created a
      local temporary pointer variable to pass instead of the dummy arg
      that was defined as a target.
      CASL Ticket # - #4189
    • Brendan Kochunas's avatar
      Fixing mem leak in ParameterList getString · 69da2e6c
      Brendan Kochunas authored
      Types with allocatable components should not be passed to dummy
      args defined with ALLOCATABLE and INTENT(OUT).
      CASL Ticket # - N/A
    • Zhuoran Han's avatar
      Fixing TEXML compiling bug · ba99abde
      Zhuoran Han authored
      Clear the memory in ThermalExpandXML
      Set the lengnth of the string as the input length
      CASL Ticket # - #4189
    • Brendan Kochunas's avatar
      Fixing memory leaks related to loading XML files · 0c0e2c29
      Brendan Kochunas authored
      QA activities
      CASL Ticket # - #4189
    • Zhuoran Han's avatar
      Updating TEXML · 03a220f4
      Zhuoran Han authored
      Fixing some minor problems in ParameterLists to run TEXML
      CASL Ticket # - PHI#4189
    • Brendan Kochunas's avatar
      Bug fix to ParamType add when adding parameters · a597a827
      Brendan Kochunas authored
      There was a bug when trying to add a parameter list as a sublist in
      another parameter list. If the name of the list being added was longer
      than the argument of the address to where the sublist should be added,
      then the sublist name would be truncated. This was fixed by changing some
      internal variables to StringTypes.
      CASL Ticket # - N/A
    • Brendan Kochunas's avatar
      Fixing bug in ParamType get method · 94105828
      Brendan Kochunas authored
      If one tried to get any parameter that proceeded through a terminal,
      non-list type parameter it would return the terminal parameter instead of
      NULL. This also affected the has method.
      CASL Ticket # - N/A
    • Brendan Kochunas's avatar
      Fixing getSubPL method on ParamType · 031b925a
      Brendan Kochunas authored
      It wasn't tested, and did not appear to work. Works now and is tested
      to prove it.
      CASL Ticket # - #4189
    • Brendan Kochunas's avatar
      Modifying ParameterList editToXML to preserve original formatting · 6f45e284
      Brendan Kochunas authored
      When exporting the file and writing doubles or arrays of doubles, the
      format was questionable. Now if the double values are read in from a file
      and then written back out again, if the original values did not change,
      the value in the file does not change. To do still is use significant
      figures to format the output value when it does change.
      CASL Ticket # - #4189