Skip to content

Discretization of brussellator fails #451

Open
@finmod

Description

@finmod

In the two versions of brusselator.jl (test and docs), the discretization cell goes into a loop and never exit

# Method of lines discretization
N = 32

dx = 1 / N
dy = 1 / N

order = 2

discretization = MOLFiniteDifference([x => dx, y => dy], t, approx_order = order)

#MethodOfLines.generate_code(pdesys, discretization)
# Convert the PDE problem into an ODE problem
println("Discretization:")
@time prob = discretize(pdesys, discretization)

time 87 m and counting!

It is advisable to have this "Getting Started example" always in top form otherwise using MOL is a curse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions