Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 4.28 KB

CONTRIBUTORS.md

File metadata and controls

48 lines (30 loc) · 4.28 KB

Contributors

Lawrence Livermore National Lab

Other

Used Libraries or Code

This library was based on some code used inside GridDyn and was developed when that code reached the limits of its capabilities. It was pulled out as the units are not core to GridDyn and could serve useful purposes in other applications, Many of the original definitions of units, particularly in power systems originate from GridDyn. GridDyn is licensed with a BSD-3-Clause license.

The tests are written to use google test and mock frameworks and is included as a submodule. Googletest is released with a BSD-3-clause licensed.

Boost is used for the webserver code. There is no dependency elsewhere in the library. In the webserver Boost::Beast is used for the http processing which includes use of boost::ASIO; boost::flat_map is also used in some of the processing to handle the REST API. Boost is licensed under the Boost Software License. The Webserver is not built by default so boost is not required for most builds or to use Units as a library.

The converter app uses CLI11 as part of the command line processing for the converter app and the single header file is included in the repository. It is not used in the units library itself. A number of the CI scripts and structures and github actions were borrowed from the CLI11 repository. CLI11 is released with a BSD-3-clause license.

References for Unit definitions

  • UDUNITS-2 The UDUNITS package supports units of physical quantities. Its C library provides for arithmetic manipulation of units and for conversion of numeric values between compatible units. The package contains an extensive unit database, which is in XML format and user-extendable. The package also contains a command-line utility for investigating units and converting values. Some of the unit definition files are used to test the library to ensure compatibility with the definitions in this library. Some of the definitions files are included. UDUNITS-2 is licensed with a BSD-3-clause with an additional clause revoking the license on allegations of patent infringement. No code from UDUNITS-2 is used, only the unit definitions files.
  • ucum-lhc This is the LHC implementation of validation and conversion services based on the Unified Code for Units of Measure (UCUM) code system created by the Regenstrief Institute, Inc. The repository is licensed under a BSD license. No code is used in units, but the unit definition files are used for testing purposes and some of the JSON files are included in the repository.
  • google unit conversions Google unit conversion support was examined to provide additional unit strings and some conversion values.

cmake scripts

Several CMake scripts came from other sources and were either used or modified for use in HELICS.

  • Lars Bilke CodeCoverage.cmake
  • HELICS Some of the code CMake and build scripts and a few of the docker images used for testing are maintained through the HELICS library. HELICS also uses the units library for unit translations.