-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from GMLC-TDC/helics3.4Update
Helics 3.4 library updates
- Loading branch information
Showing
22 changed files
with
541 additions
and
462 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
function varargout = helicsFederateGetInputCount(varargin) | ||
% Get the number of subscriptions in a federate. | ||
% Get the number of inputs in a federate. | ||
% | ||
% @return (-1) if fed was not a valid federate otherwise returns the number of subscriptions. | ||
% @return (-1) if fed was not a valid federate otherwise returns the number of inputs. | ||
|
||
[varargout{1:nargout}] = helicsMex('helicsFederateGetInputCount', varargin{:}); | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 8 additions & 10 deletions
18
matlabBindings/+helics/helicsFederateRegisterGlobalTypeInput.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
function varargout = helicsFederateRegisterGlobalTypeInput(varargin) | ||
% Register a global publication with an arbitrary type. | ||
% Register an input with an arbitrary type. | ||
% | ||
% @details The publication becomes part of the federate and is destroyed when the federate is freed so there are no separate free | ||
% functions for subscriptions and publications. | ||
% @details The input becomes part of the federate and is destroyed when the federate is freed so there are no separate free | ||
% functions for interfaces. | ||
% | ||
% @param fed The federate object in which to create a publication. | ||
% @param key The identifier for the publication. | ||
% @param type A string defining the type of the input. | ||
% @param units A string listing the units of the subscription maybe NULL. | ||
% @param fed The federate object in which to create an input. | ||
% @param key The identifier for the input (may be NULL). | ||
% @param type A string defining the type of the input (may be NULL). | ||
% @param units A string listing the units of the input (may be NULL). | ||
% | ||
% | ||
% | ||
% @return An object containing the publication. | ||
% @return An object containing the input. | ||
|
||
[varargout{1:nargout}] = helicsMex('helicsFederateRegisterGlobalTypeInput', varargin{:}); | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 6 additions & 7 deletions
13
matlabBindings/+helics/helicsFederateRegisterSubscription.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
function varargout = helicsFederateRegisterSubscription(varargin) | ||
% Create a subscription. | ||
% Create an input and add a publication target. | ||
% | ||
% @details The subscription becomes part of the federate and is destroyed when the federate is freed so there are no separate free | ||
% functions for subscriptions and publications. | ||
% @details this method is a wrapper method to create and unnamed input and add a publication target to it | ||
% | ||
% @param fed The federate object in which to create a subscription, must have been created with /ref helicsCreateValueFederate or | ||
% @param fed The federate object in which to create an input, must have been created with /ref helicsCreateValueFederate or | ||
% /ref helicsCreateCombinationFederate. | ||
% @param key The identifier matching a publication to get a subscription for. | ||
% @param units A string listing the units of the subscription (may be NULL). | ||
% @param key The identifier matching a publication to add as an input target. | ||
% @param units A string listing the units of the input (may be NULL). | ||
% | ||
% | ||
% | ||
% @return An object containing the subscription. | ||
% @return An object containing the input. | ||
|
||
[varargout{1:nargout}] = helicsMex('helicsFederateRegisterSubscription', varargin{:}); | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
function varargout = helicsInputLastUpdateTime(varargin) | ||
% Get the last time a subscription was updated. | ||
% Get the last time a input was updated. | ||
|
||
[varargout{1:nargout}] = helicsMex('helicsInputLastUpdateTime', varargin{:}); | ||
end |