When attempting to discretize two domains in MethodOfLines.jl with different point counts (50 for the first domain and 5 for the second), I encounter a BoundsError. The error occurs specifically when the second domain (substrate domain) has fewer points than the first domain (film domain). This limitation impacts the flexibility of the domain discretization in my model.
Discretizing domains with different point counts is crucial for accurately modeling systems with varying spatial resolution requirements and interfaces.
The issue arises in the following minimal working example:
When attempting to discretize two domains in MethodOfLines.jl with different point counts (50 for the first domain and 5 for the second), I encounter a
BoundsError
. The error occurs specifically when the second domain (substrate domain) has fewer points than the first domain (film domain). This limitation impacts the flexibility of the domain discretization in my model.Discretizing domains with different point counts is crucial for accurately modeling systems with varying spatial resolution requirements and interfaces.
The issue arises in the following minimal working example:
Error & Stacktrace ⚠️
Environment
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
: