Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined function or variable 'calcNewtonCotesQuadrature'. #2

Open
bpodq opened this issue Feb 9, 2020 · 0 comments
Open

Undefined function or variable 'calcNewtonCotesQuadrature'. #2

bpodq opened this issue Feb 9, 2020 · 0 comments

Comments

@bpodq
Copy link

bpodq commented Feb 9, 2020

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant