saadgroup / PyModPDE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with k index

saadtony opened this issue · comments

I Tried playing around with the indices:
DE1 = DifferentialEquation(dependentVar='u',independentVars=['x'], indices=[k], timeIndex=n)
This throws an error

from src.MOIRA import DifferentialEquation, i, k, n
k is an index, so either you can import it from src.MOIRA
or locally define your own sympy symbol and use it in indices
k = symbols('k')