Giter VIP home page Giter VIP logo

izlotnik / schrodinger-dtbc Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 6.0 80 KB

:rocket: Solve the time-dependent Schrodinger equation in unbounded domain

Home Page: https://scholar.google.com/citations?hl=en&user=gWphyBwAAAAJ

License: MIT License

MATLAB 99.85% M 0.15%
schrodinger schrodinger-equation finite-element-method numerov finite-difference-schemes richardson-extrapolation crank-nicolson transparent-boundary-conditions matlab

schrodinger-dtbc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

schrodinger-dtbc's Issues

Error using calcMatrix

run MAIN2D_Calc

Error using calcMatrix
Too many output arguments.

Error in MAIN2D_ONE_TIME_LEVEL (line 74)
[ Va(ll, :), Vd(ll, :), Vc(ll, :), VaR(ll, :), VdR(ll, :), VcR(ll, :), A, ~ ] = calcMatrix(sTask, pCalc);

Error in MAIN2D_Calc (line 42)
MAIN2D_ONE_TIME_LEVEL % MAIN2D_ALL_TIME_LEVEL % MAIN2D %

Undefined function or variable 'calcNewtonCotesQuadrature'.

run MAIN1D_Calc and use the following line

[pTask, pInitWave] = setTaskParams('Schrodinger', '1D', 'EX01r', getDataPath(), '');

It says

Undefined function or variable 'calcNewtonCotesQuadrature'.

Error in calcErrors (line 14)
pError.L2Abs = sqrt(calcNewtonCotesQuadrature(abs(U_E - U_A).^2, (n-1)*N, h, N));

Error in MAIN1D (line 38)
outError = calcErrors(A, E, pCalc, pCalc.isConstStep);

Error in calcSolutionCN (line 49)
MAIN1D % 计算

Error in MAIN1D_Calc (line 170)
[ rError, time, pVisual, pCalc, sFileName ] = calcSolutionCN(pTask, pInitWave, solution, error, plotting);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.