1. 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
  2. 13 Jan, 2020 1 commit
  3. 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
  4. 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
  5. 07 Nov, 2019 1 commit
  6. 18 Sep, 2019 1 commit
  7. 05 Aug, 2019 1 commit
  8. 02 Aug, 2019 1 commit
  9. 30 Jul, 2019 1 commit
  10. 29 Jul, 2019 8 commits
  11. 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
  12. 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
  13. 03 Mar, 2017 1 commit
  14. 21 Jan, 2017 1 commit
  15. 20 Jan, 2017 5 commits
  16. 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
  17. 08 Jun, 2016 2 commits
  18. 06 Jun, 2016 1 commit
    • Brendan Kochunas's avatar
      Fixing ParameterLists::getSubParams for Intel 13 compiler bug · 594f1933
      Brendan Kochunas authored
      The bug relates to the association of the arguments in the ASSOCIATED
      intrinsic function and whether they are the POINTER or TARGET. In
      one instance the function returns the correct result, and in the other
      instance it does not. Later versions of Intel and gfortran compiler return
      the same result regardless of the order/association of the dummy arguments.
      CASL Ticket # - #4200
  19. 26 May, 2016 1 commit
    • Andrew Fitzgerald's avatar
      Added %editToXML to ParamType · 52598864
      Andrew Fitzgerald authored
      Added routine to take an input parameter list and edit to a XML File.
      Simple unit test added...
        Initialize param1 from xmlFile1
        Edit param1 to xmlFile2
        Initialize param2 from xmlFile2
        Check that param1 is same as param2
      Helper routines:
        paramToXML, int_array_to_string, double_array_to_string,string_array_to_string