-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to give template variables in json file (e.g. for units classes, ...) #1157
Comments
Currently as precompilation variable:
Known related simulators : ~6 |
(references OpenFLUID#1157)
* added cmakelists parameter CONFIGURED_SIGNATURE * added template variables in signature and documentation at configuration step * changed tolerated characters for template case (references OpenFLUID#1157)
* added cmakelists parameter CONFIGURED_SIGNATURE * added template variables in signature and documentation at configuration step * changed tolerated characters for template case (references OpenFLUID#1157)
* added cmakelists parameter CONFIGURED_SIGNATURE * added template variables in signature and documentation at configuration step * changed tolerated characters for template case (references #1157)
Implemented a functional version with @ as template symbol |
Parametric signature usageIn openfluid-wareinfo.jsonVariable should be surrounded by '@' Example: In cmakeAffect a value to your variable in the main Example: Uncomment In docPatterns in README and README.md in root dir of the ware will also be converted Example: # water.runoff.@foo@
Effect on @foo@ will... In sources(not affected by the parametric signature change) Variable can be transmitted to cpp as precompilation variable by adding a definition in the CMakeLists.txt Example: Afterwards the precompilation variable |
No description provided.
The text was updated successfully, but these errors were encountered: