Skip to content

Commit

Permalink
Merge pull request #16 from GMLC-TDC/doc_strings_update
Browse files Browse the repository at this point in the history
Update changelog and docstrings on extra_m_codes
  • Loading branch information
phlptp authored Jan 24, 2023
2 parents 4c84a41 + c1d3a93 commit a37f611
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,19 @@ All notable changes to this project will be documented in this file
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.4.0][] ~ 2023-01-24

- update to HELICS [3.4.0](https://github.com/GMLC-TDC/HELICS/releases/tag/v3.4.0) release
- update matlab docstrings on extra matlab codes

## [3.3.2][] ~ 2022-12-16

- update to HELICS 3.3.2 release
- update to HELICS [3.3.2](https://github.com/GMLC-TDC/HELICS/releases/tag/v3.3.2) release

## [3.2.1][] ~ 2022-06-03

Initial version to match [HELICS](www.github.com/GMLC-TDC/HELICS) versioning.

[3.2.1]: https://github.com/GMLC-TDC/matHELICS/releases/tag/v3.2.1
[3.3.2]: https://github.com/GMLC-TDC/matHELICS/releases/tag/v3.3.2
[3.4.0]: https://github.com/GMLC-TDC/matHELICS/releases/tag/v3.4.0
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2017-2022, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC.
Copyright (c) 2017-2023, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
5 changes: 5 additions & 0 deletions extra_m_codes/helicsInputSetDefault.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
function helicsInputSetDefault(varargin)
%set the default value for a HELICS input
%helicsInputSetDefault(inp,value)
%inp is the input object
% value is the data value to set as the default can be a char,integer, double, vector, logical, or string.

pubdata=varargin{2};
import helics.*
switch (class(pubdata))
Expand Down
4 changes: 4 additions & 0 deletions extra_m_codes/helicsPublicationPublish.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
function helicsPublicationPublish(varargin)
%publish a value through HELICS
%helicsPublicationPublish(pub,value)
%pub is the publication object
% value is the data value to set as the default can be a char,integer, double, vector, logical, or string.
pubdata=varargin{2};
import helics.*
switch (class(pubdata))
Expand Down

0 comments on commit a37f611

Please sign in to comment.