The following Matlab project contains the source code and Matlab examples used for correction procedure via reconstruction (cpr).
A one-dimensional implementation of the Correction Procedure via Reconstruction method for solving linear and nonlinear advection equations without any filter or limiter is presented.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.
Project Files:
File Name | Size |
---|---|
CorrectionPolynomial.m | 3626 |
IC.m | 1350 |
LagrangePolynomial.m | 2042 |
license.txt | 1384 |
mesh1d.m | 14619 |
residual.m | 1356 |
wave1d_CPRdriver.m | 3336 |