Published March 6, 2020 | Version v1
Software Open

Matlab Code: Backward differentiation formula finite difference schemes for diffusion equations with an obstacle term

  • 1. Laboratoire Jacques-Louis Lions, Université de Paris (Paris Diderot) et ENSTA ParisTech
  • 2. University of Southern Denmark, Department of Mathematics and Computer Science

Description

Matlab companion code to the manuscript "Backward differentiation formula finite difference schemes for diffusion equations with an obstacle term" by Olivier Bokanowski and Kristian Debrabant

"main.m" is the main file to generate the tables in the manuscript. 

"newton.m" is used to solve min(Bx-b,x-g)=0.

"FileNameReference.txt" contains the file name containing the reference solution for the American option problem example considered in the manuscript. "American_BDF2+CN_HJB-0_N=20480_J=20479_FourthOrder-0_NewtonEps=1e-10_kmax=400.txt" contains the actual reference solution (first column x values, second column solution values). In case that "FileNameReference.txt" is missing, both files are automatically generated by "main.m".

Files

American_BDF2+CN_HJB-0_N=20480_J=20479_FourthOrder-0_NewtonEps=1e-10_kmax=400.txt

Files (1.1 MB)

Name Size Download all
md5:03c571b7cce25b122f32961ba9bc72c6
1.1 MB Preview Download
md5:409ebd9d0b319975f009db7d6d04d843
82 Bytes Preview Download
md5:558449a2b2a4d38cac147626720221d5
27.4 kB Download
md5:003847156c575b0c4795b0a3c74b11aa
1.1 kB Download

Additional details

Related works

Is supplement to
Preprint: arXiv:1802.05681 (arXiv)