-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Up to now, we were allowing expression (using the coordinates) to be passed directly in the weak formulation.
We encountered two major problems with this approach
- sometimes an error is raised because we cannot check the linearity/bilinearity of a form.
- it may make the code very slow
This issue aims at allowing the definition of a Function, as a container, for two major uses;
- by providing its symbolic expression. example,
F = Function((x,y), x**2+y**2)in which case, F will not appear as a free-variable, and its expression will be provided in TerminalExpr like in the valued Constant case.
- by providing its actual implementation, meaning, providing a Python code. In this case, the code must be pyccelized first to check that it can be used in our pipeline with psydac.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request