dg1d_heat, a MATLAB code which uses the Discontinuous Galerkin Method (DG) to approximate a solution of the unsteady 1D heat Equation. The original version of the code was written by Jan Hesthaven and Tim Warburton.
A 1D version of the time dependent heat equation has the form
du/dt = d2u/dx2 for 0 < x < 2*pi u(0,t) = 0 Boundary conditions u(2*pi,t) = 0 u(x,0) = sin(x) Initial condition
Permission to use this software for noncommercial research and educational purposes is hereby granted without fee. Redistribution, sale, or incorporation of this software into a commercial product is prohibited. THE AUTHORS OR PUBLISHER DISCLAIMS ANY AND ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHORS OR THE PUBLISHER BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS.
dg1d_heat is available in a MATLAB version.
bvp4c_test, a MATLAB code which illustrates how to use the MATLAB command bvp4c(), which can solve boundary value problems (bvp) in one spatial dimension.
dg1d_advection, a MATLAB code which uses the discontinuous galerkin method (dg) to approximate a solution of the advection equation. the original version of the code was written by jan hesthaven and tim warburton.
dg1d_burgers, a MATLAB code which uses the discontinuous galerkin method (dg) to approximate a solution of the unsteady 1d burgers equation. the original version of the code was written by jan hesthaven and tim warburton.
dg1d_maxwell, a MATLAB code which uses the discontinuous galerkin method (dg) to approximate a solution of maxwell's equations. the original version of the code was written by jan hesthaven and tim warburton.
dg1d_poisson, a MATLAB code which applies the discontinuous galerkin method (dg) to a 1d version of the poisson equation, by beatrice riviere.
fd1d_advection_diffusion_steady, a MATLAB code which applies the finite difference method to solve the steady advection diffusion equation v*ux-k*uxx=0 in one spatial dimension, with constant velocity v and diffusivity k.
fd1d_advection_ftcs, a MATLAB code which applies the finite difference method to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the ftcs method, forward time difference, centered space difference.
fd1d_advection_lax_wendroff, a MATLAB code which applies the finite difference method to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the lax-wendroff method to treat the time derivative.
fd1d_burgers_lax, a MATLAB code which applies the finite difference method and the lax-wendroff method to solve the non-viscous time-dependent burgers equation in one spatial dimension.
fd1d_burgers_leap, a MATLAB code which applies the finite difference method and the leapfrog approach to solve the non-viscous time-dependent burgers equation in one spatial dimension.
fd1d_bvp, a MATLAB code which applies the finite difference method to a two point boundary value problem in one spatial dimension.
fd1d_heat_explicit, a MATLAB code which uses the finite difference method and explicit time stepping to solve the time dependent heat equation in 1d.
fd1d_heat_implicit, a MATLAB code which uses the finite difference method and implicit time stepping to solve the time dependent heat equation in 1d.
fd1d_heat_steady, a MATLAB code which uses the finite difference method to solve the steady (time independent) heat equation in 1d.
fd1d_predator_prey, a MATLAB code which implements a finite difference algorithm for predator-prey system with spatial variation in 1d.
fd1d_wave, a MATLAB code which applies the finite difference method to solve the time-dependent wave equation in one spatial dimension.
fem1d, a MATLAB code which applies the finite element method to a linear two point boundary value problem in a 1d region.
fem1d_bvp_linear, a MATLAB code which applies the finite element method, with piecewise linear elements, to a two point boundary value problem in one spatial dimension.
The original MATLAB source code was written by Jan Hesthaven and Tim Warburton.