Skip to content

a runtime error #1

@kheirdast

Description

@kheirdast

Hi Eric,

I've tried to run one of the jupyter notebooks: "diff1d_0_BFG", by running the following error is raised after the following box:

eq_name = 'diff1d_0'
eq = PDE2DIFF1D(eq_name)
--------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-36-47a85d6bb182> in <module>
      1 eq_name = 'diff1d_0'
----> 2 eq = PDE2DIFF1D(eq_name)

~/Documents/PDE/nnode/pde2diff1d.py in __init__(self, diffeqmod)
     46             assert pdemod.dG_dYf      # dG/dY   Y=Y(x,y,t)
     47             assert pdemod.dG_ddelYf   # dG/dgrad(Y)
---> 48             assert pdemod.dG_ddel2Yf  # dG/d(grad(Y)grad(Y))
     49             assert pdemod.bcf         # Array of initial condition functions
     50             assert pdemod.delbcf        # Array of initial condition gradient functions

AttributeError: module 'diff1d_0' has no attribute 'dG_ddel2Yf'

How can I possibly solve this issue?

Kind regards,
Navid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions