Skip to content

Add a reaction-diffusion C++ example and documentation (Fisher-KPP) #334

@jb2178-star

Description

@jb2178-star

Hello all,

MOLE currently has many concrete C++ PDE examples, but it does not appear to have a reaction-diffusion example in examples/cpp.

I would like to propose adding a C++ Fisher-KPP example, together with documentation.

The proposed equation is:
$$ u_t = D u_{xx} +ru(1-u)$$

It seems like a good fit as it is a standard semilinear reaction-diffusion PDE. In addition it would use MOLE's existing Laplacian operator for the diffusion term. And it seems like a natural addition to the existing C++ examples.

For the scope, it would be adding the Fisher-KPP example in examples/cpp, along with the documentation describing the equation, boundary conditions, and time stepping approach.

Possible alternatives or follow ups could be implementing Allen-Cahn as a similar reaction-diffusion example, or Cahn-Hilliard as a more advanced fourth order example that could better showcase MOLE's higher-order operator capabilities.

Metadata

Metadata

Assignees

Labels

C++ExamplesAddition or improvement of examples that showcase the main functionality of the library

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions