-
-
Notifications
You must be signed in to change notification settings - Fork 227
Closed
Description
Any chance this NeuralPDE.jl can be eventually used with (complex) matrix PDEs?
Currently,
eq = Dxx(u(x,y,θ)) + Dyy(u(x,y,θ)) ~ -sin(pi*x)*sin(pi*y)*[0 1; 0 1]gives an error
MethodError: no method matching ~(::Operation, ::Array{Operation,2})Closest candidates are:
~(::Expression, !Matched::Expression) at /home/user/.julia/packages/ModelingToolkit/jYRzA/src/equations.jl:38
~(::Expression, !Matched::Number) at /home/user/.julia/packages/ModelingToolkit/jYRzA/src/equations.jl:39
~(::Number, !Matched::Expression) at /home/user/.julia/packages/ModelingToolkit/jYRzA/src/equations.jl:40
Stacktrace:
[1] top-level scope at In[17]:7
I have two questions:
- I assume this is a limitation ModelingToolkit, but maybe there an alternative way to define the PDEs with NeuralPDE.jl as a workaround?
- After a workaround or a proper fix in ModelingToolkit, will NeuralPDE.jl still require additional work to support a complex matrix PDE?
Metadata
Metadata
Assignees
Labels
No labels