Code covered by the BSD License  

Highlights from
bvp5c2

Be the first to rate this file! 10 Downloads (last 30 days) File Size: 228 KB File ID: #24360 Version: 1.0

bvp5c2

by

Qun HAN (view profile)

 

Faster version of the MATLAB function bvp5c

| Watch this File

File Information
Description

The inefficient sparse matrix operation in colloc_JacODE_region is optimized according to the method intruduced in Loren's blog (http://blogs.mathworks.com/loren/2007/03/01/creating-sparse-finite-element-matrices-in-matlab/). More than 10x efficiency improvement can be expected for large BVP systems.

The mex file SPARSE2.MEXW32 is compiled from SuiteSparse(http://www.cise.ufl.edu/research/sparse/SuiteSparse/). It is about 2x faster than SPARSE. If you encounters problem with it, just comment it out in bvp5c2 and use the MATLAB function sparse.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
12 Jun 2009 Qun HAN

Qun HAN (view profile)

For a benchmark see:
http://junziyang.spaces.live.com/blog/cns!909609E321D6E37A!498.entry

Comment only
08 Jun 2009 Qun HAN

Qun HAN (view profile)

USAGE:
Unzip to MATLABROOT\toolbox\matlab\funfun

Comment only

Contact us