-
Notifications
You must be signed in to change notification settings - Fork 6
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 #21 from urbanopt/refactor/mbl-misc-updates
Refactor/mbl misc updates
- Loading branch information
Showing
12 changed files
with
1,689 additions
and
1,326 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
within Somewhere; | ||
class MyClass | ||
"Class to demo function definitions" | ||
extends Modelica.Icons.BasesPackage; | ||
function constructor | ||
"Construct to connect to a schedule in EnergyPlus" | ||
extends Modelica.Icons.Function; | ||
input Integer input1 | ||
"input 1 comment"; | ||
output MyClass adapter; | ||
external "C" adapter=ExternalFunctionCall( | ||
param1, | ||
param2, | ||
param3); | ||
end constructor; | ||
function destructor | ||
"Some comment" | ||
extends Modelica.Icons.Function; | ||
input Integer input2; | ||
external "C" EnergyPlusInputVariableFree( | ||
input2); | ||
end destructor; | ||
end MyClass; |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
within Somewhere; | ||
class MyClass | ||
"Class to demo function definitions" | ||
extends Modelica.Icons.BasesPackage; | ||
|
||
function constructor | ||
"Construct to connect to a schedule in EnergyPlus" | ||
extends Modelica.Icons.Function; | ||
|
||
input Integer input1 "input 1 comment"; | ||
output MyClass adapter; | ||
external "C" adapter = ExternalFunctionCall(param1, param2, param3); | ||
end constructor; | ||
|
||
function destructor "Some comment" | ||
extends Modelica.Icons.Function; | ||
|
||
input Integer input2; | ||
external "C" EnergyPlusInputVariableFree(input2); | ||
end destructor; | ||
end MyClass; |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.