NeuralPDE.jl
NeuralPDE.jl copied to clipboard
ERROR in complex function in Boundary condition
when I add just complex in boundary condition the code work like this :
bcs = [Dx(u(-1,y)) ~ 1im ,...]
but when i want to add complex cross parameters like x , y the code doesnt work like this
bcs = [Dx(u(-1,y)) ~ 1im*y , ...]
and the error is:
LoadError: MethodError: no method matching decompose(::Num)
what can i do for solve this problem and add this boundary condition:
@mohsenhos look it https://github.com/SciML/NeuralPDE.jl/issues/387
complex numbers are not supported but interesting why bcs = [Dx(u(-1,y)) ~ 1im ,...]
isn't failed.
@KirillZubov tank you for your response yes i see #387 but whats your suggestion for me to add this condition
when the complex num lonely working it seems that we can add parameters to it