1D Linear BPM

버전 1.0.0.0 (2.47 KB) 작성자: David Romero-Antequera
FFT-based Beam Propagation Method for linear operators.
다운로드 수: 1K
업데이트 날짜: 2010/7/1

라이선스 보기

This is a simple FFT based beam propagation method for potential-free 1+1+1D Schrodinger equation. The software if flexible and allows to introduce high-order derivatives in the term (very handful if is needed to include dispersion effects). For example, if one desires to solve an equation in the form:

(d/dz + d^2/dx^2 - 0.25*d^3/dx^3)Y == 0

It can be solved using the following code:
z=linspace(0,1,512);
x=linspace(-5,5,1024);
psi0=exp(-x.^2);
D=D_lateral1D(x,2)-0.25*D_lateral1D(x,3);
field=LinearBPM(psi0,D,z);

Where D_lateral1D is a provided function that "replaces" the derivative operator.

This function is a very early stage in a more complex set of non-linear BPM functions that I have made (split-step, spectral methods, etc.) and I will submit them when I finish their documentation and organization.

Sorry for my English, I'm eager for your comments.

인용 양식

David Romero-Antequera (2024). 1D Linear BPM (https://www.mathworks.com/matlabcentral/fileexchange/28100-1d-linear-bpm), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Accelerators & Beams에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0