T O P I C R E V I E W |
PaDx9 |
Posted - 06/25/2024 : 09:48:09 AM Origin Ver. and Service Release (Select Help-->About Origin): 2023b SR1 Operating System: Windows 11
Hello,
I implemented a custom fitting function using Origin C. In principle, it does work, but it is very very slow, i.e., computationally intense. I attach the .FDF file.
I think the part making the whole thing so slow is the integration. I used the Gauss-Legendre quadrature. Is there any way to improve its efficiency? (Or generally a better way to do the integration? This exact approach is used in other dedicated programs, maybe the progress is parallelized or something like that?)
(In its current state, it is unusable for fitting, because it is too unresponsive.)
Any help would be much appreciated.
Cheers, Patrick
https://my.originlab.com/ftp/forum_and_kbase/Images/CoreShellCylinder_test.FDF |
2 L A T E S T R E P L I E S (Newest First) |
PaDx9 |
Posted - 06/25/2024 : 7:37:45 PM quote: Originally posted by YimingChen
I got a compiling error. It looks like the same issue you posted before. Can you fix it? https://my.originlab.com/forum/topic.asp?TOPIC_ID=48363
James
That is strange, there is no compiling error for me. Indeed, your help from the other topic fixed the problem. It also works well to simulate a curve with it, but the fitting process seems to be too demanding to use it.
Not sure why you get a compiling error? Maybe because the category "SAS" does not exist in your case? That is the only reason I could think of. |
YimingChen |
Posted - 06/25/2024 : 5:03:12 PM I got a compiling error. It looks like the same issue you posted before. Can you fix it? https://my.originlab.com/forum/topic.asp?TOPIC_ID=48363
James
|
|
|