qwwad_diffuse: Include Crank-Nicolson solution

Bug #1381498 reported by Alex Valavanis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quantum wells, wires and dots
Triaged
Wishlist
Unassigned

Bug Description

The qwwad_diffuse program currently uses a FTCS solution to the diffusion equation, which becomes unstable if large time-steps are used.

It would be better to implement a robust matrix-based Crank-Nicolson solver, although this would need some thought if we're wanting time-dependent diffusion coefficients.

I'm setting this as a "Wishlist" bug, because the existing solver includes stability checking, so it can't give stupid answers... it's just slow/annoying.

summary: - Include Crank-Nicolson solution in gde
+ qwwad_diffuse: Include Crank-Nicolson solution
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.