Skip to content

Data simulation of Reaction-Diffusion system in the Euler characteristic paper #4

Description

@ZZKnight

I guess the code below in this example may be incorrect, though it does not hurt the conclusions significantly. I would appreciate it if someone could double check it. Thanks.

We update the variables.

    U[1:-1, 1:-1], V[1:-1, 1:-1] = \
        Uc + dt * (D*deltaU) + R*(Vc - Uc),\
        Vc + dt * (D*deltaV) + R*(Uc - Vc)

My suggestion:

We update the variables.

    U[1:-1, 1:-1], V[1:-1, 1:-1] = \
        Uc + dt * (D*deltaU + R*(Vc - Uc)),\
        Vc + dt * (D*deltaV + R*(Uc - Vc))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions