Skip to content
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

Include functionality for user defined external variables #351

Open
FinbarArgus opened this issue Nov 18, 2024 · 1 comment
Open

Include functionality for user defined external variables #351

FinbarArgus opened this issue Nov 18, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@FinbarArgus
Copy link

It would be extremely useful if we could define an external variable as a string of C++ code (C++ code snippets), like they do in Fenics.

With this we could:

  • Use random number generators
  • Input data vs time traces as model input

And much more. It would be a good general way to improve flexibility of use before a more robust standards based approach for doing these types of things could be implemented for each new feature.

@agarny agarny changed the title Include functionality for user defined external variables. Include functionality for user defined external variables Nov 18, 2024
@agarny
Copy link
Contributor

agarny commented Nov 18, 2024

FTR, this is possible in libCellML, so we "just" need to come with some API that will allow use to do it from libOpenCOR.

@agarny agarny self-assigned this Nov 18, 2024
@agarny agarny added the Feature label Nov 18, 2024
@agarny agarny added this to the 0.1 milestone Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants