- 29 Apr, 2021 1 commit
-
-
luke authored
* Add handling for arrays of strings of zero length. * Move array allocations to the beginning to ensure the are allocated to the correct length for all cases. Co-authored-by:
Luke Cornejo <3lc@ornl.gov>
-
- 05 Mar, 2021 1 commit
-
-
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
-
- 03 Mar, 2021 1 commit
-
-
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
-
- 13 Jul, 2020 1 commit
-
-
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
-
- 22 Jun, 2020 1 commit
-
-
Graham, Aaron authored
-
- 15 Jan, 2020 1 commit
-
-
* 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
-
- 13 Jan, 2020 1 commit
-
-
* Removes unused parameter definitions * Re-add parameter inside preproc * Add test for unused_parameters to CI * Last few unused_parameters * Rearrange preproc to remove unused variable
-
- 09 Jan, 2020 1 commit
-
-
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. Description: CASL Ticket # - PHI 6088 * Removing unneeded variables. Description: Two parameter list pointers and a string variable were not needed. CASL Ticket # - PHI 6088
-
- 12 Dec, 2019 1 commit
-
-
djabaay authored
* Updating the %getString function. Description: 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. Description: 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 Description: CASL Ticket # - N/A * Addressing review comments. Updating error messages, unit test assertions. Description: CASL Ticket # - N/A * Other review comments. Fixing comment descriptions, updated assertions. Description: CASL Ticket # - N/A * Changing the delimeter from ";" to surrounding '"'s Description: 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. Description: CASL Ticket # - PHI 6173
-
- 07 Nov, 2019 1 commit
-
-
* Implement string library like functionality * Adds a check to ensure strings are allocated correctly * Remove double colon from module procedure
-
- 18 Sep, 2019 1 commit
-
-
Stimpson, Shane G authored
-
- 05 Aug, 2019 1 commit
-
-
Henderson, Shane authored
-
- 02 Aug, 2019 1 commit
-
-
Henderson, Shane authored
-
- 30 Jul, 2019 1 commit
-
-
Henderson, Shane authored
-
- 29 Jul, 2019 8 commits
-
-
Dan Jabaay authored
Description: CASL Ticket # - N/A
-
Dan Jabaay authored
Description: CASL Ticket # - N/A
-
Dan Jabaay authored
Description: CASL Ticket # - N/A
-
Dan Jabaay authored
Description: It is a required input for the %verifyList procedure. It is used optionally in the validateReq_ParamType subroutine, since it is called by several other procedures. The unit test was updated for the interface change. Both a temporary exception handler and eParams were tested as input options. CASL Ticket # - N/A
-
Dan Jabaay authored
Description: This allows the setting of the eParams exception handler, while not disturbing the balance when it is set as, or has a surrogate. Adding the setCounter() call to update eParams with the correct exception count. CASL Ticket # - N/A
-
Dan Jabaay authored
Description: CASL Ticket # - N/A
-
Dan Jabaay authored
Description: Adding an enumeration of the type of validation the validateReq will be doing, since it is used for validating and verifying. Changing the behavior of verify to be correct. Before if the parameter was not on both lists, it would not be verified and the call would still pass. Now, if the parameter exists on the required PL and isn't found on the PL being verified, the match will return as a failure. This wasn't the case before and testXMLProc and testInputProc needed to be updated accordingly. CASL Ticket # - N/A
-
Dan Jabaay authored
Description: The previous match routine, renamed to matchTest, was only allowed for use in unit tests. This routine can be used for regular development, replacing ASSERTS with exception errors. CASL Ticket # - N/A
-
- 30 Nov, 2017 2 commits
-
-
Dan Jabaay authored
Description: 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 authored
Description: 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
-
- 01 Jul, 2017 1 commit
-
-
* 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
-
- 03 Mar, 2017 1 commit
-
-
COLLINSBS email authored
Adding Futility_Configurations, Futility_CopyFiles, and Futility_CreateUnitTest which were copied from MPACT. Changed all of the precompiler symbols to use FUTILITY instead of MPACT. Also removed other mentions MPACT where appropriate.
-
- 21 Jan, 2017 1 commit
-
-
COLLINSBS email authored
CASL Ticket - #4484
-
- 20 Jan, 2017 5 commits
-
-
Brendan Kochunas authored
Description: Required adding some new optional arguments to the ParamType. Lots of find replace. Now there are options to add a prefix and pad the data type name when editing a Parameter List. CASL Ticket # - #4211
-
Brendan Kochunas authored
Description: CASL Ticket # - N/A
-
Brendan Kochunas authored
Description: Add a method to the MPACT parameter list to convert to Teuchos parameter list, using the ForTeuchos bindings. This is useful for specifying options to the Trilinos solvers. CASL Ticket # - 4169
-
Mitchell T. Young authored
Description: CASL Ticket # - N/A
-
Mitchell T. Young authored
Description: Add a method to the MPACT parameter list to convert to Teuchos parameter list, using the ForTeuchos bindings. This is useful for specifying options to the Trilinos solvers. CASL Ticket # - 4169
-
- 23 Aug, 2016 8 commits
-
-
Brendan Kochunas authored
Description: 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 authored
Description: Types with allocatable components should not be passed to dummy args defined with ALLOCATABLE and INTENT(OUT). CASL Ticket # - N/A
-
Zhuoran Han authored
Description: Clear the memory in ThermalExpandXML Set the lengnth of the string as the input length CASL Ticket # - #4189
-
Brendan Kochunas authored
Description: QA activities CASL Ticket # - #4189
-
Zhuoran Han authored
Description: Fixing some minor problems in ParameterLists to run TEXML CASL Ticket # - PHI#4189
-
Brendan Kochunas authored
Description: 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 authored
Description: 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 authored
Description: It wasn't tested, and did not appear to work. Works now and is tested to prove it. CASL Ticket # - #4189
-