Questions tagged [grid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
2k views

Python: Grid with step control ODE solver

I have a problem in physics formulated via an ODE. Now I like to solve it numerically using Pythons scipy.integrate and the therein complex_ode. I figured out how and it works but now I like to ...
3
votes
1answer
807 views

Generating a non-uniform grid

I am interested in generating a 1D non-uniform grid on the interval [0, L] with N points, where a region of width $\sigma$ and ...
1
vote
2answers
151 views

Grid mapping from Tchebyshev

I am using Tchebyshev discretization to solve a system of PDEs. Usually, I map the Tchebyshev space($\xi$, from -1 to 1) to physical space ($x$, from 0 to L) using $$x = (\xi +1)*L/2$$ Now, I also ...