Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Laplacian in 1D, 2D, or 3D 1.0

Date Added: April 05, 2013  |  Visits: 217

The code computes the exact eigenpairs of (1-3)D negative Laplacian on a rectangular finite-difference grid for combinations of Dirichlet, Neumann, and Periodic boundary conditions using explicit formulas fromhttp://en.wikipedia.org/wiki/Eigenvalues_a...cond_derivativeThe code can also compute the sparse matrix itself, using Kronecker sums of 1D Laplacians. For more information on tensor sums, seehttp://en.wikipedia.org/wiki/Kronecker_sum...rete_LaplaciansExample, compute everything for 3D negative Laplacian with mixed boundary conditions:[lambda,V,A] = laplacian([100,45,55],{'DD' 'NN' 'P'}, 20);Compute only the eigenvalues:lambda = laplacian([100,45,55],{'DD' 'NN' 'P'}, 20);Compute the matrix only:[~,~,A] = laplacian([100,45,55],{'DD' 'NN' 'P'});GNU OCTAVE compatible.This code is a part of the BLOPEX eigensolver package, seehttp://en.wikipedia.org/wiki/BLOPEXor go directly tohttp://code.google.com/p/blopex/Copyright owners: Bryan C. Smith and Andrew V. Knyazev

 Requirements: No special requirements Platforms: Matlab Keyword: 039nn039,  039p039,  Andrew,  Blopex,  Bryan,  Compatiblethis,  Compute,  Conditionslambdava,  Eigensolver,  Eigenvalueslambda,  Gnu,  Knyazev,  Laplacian,  Mixed,  Octave,  Onlya,  Owners,  Smith Users rating: 0/10