<![CDATA[Multiwfn forum / Patch: Feature: fractional calculus]]> - //www.umsyar.com/wfnbbs/viewtopic.php?id=733 Sat, 12 Nov 2022 02:40:23 +0000 FluxBB <![CDATA[Re: Patch: Feature: fractional calculus]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2822#p2822 Dear Tian,

Thank you so much!

It works nice!

Best regards,
Igor

]]>
Sat, 12 Nov 2022 02:40:23 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2822#p2822
<![CDATA[Re: Patch: Feature: fractional calculus]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2817#p2817 Dear Igor,

I have updated Multiwfn 3.8(dev) today, your patch has been fully applied.

Best,

Tian

]]>
Wed, 09 Nov 2022 07:44:38 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2817#p2817
<![CDATA[Re: Patch: Feature: fractional calculus]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2816#p2816 Dear Tian,

Thank you so much! And thank you for `ext` directory!

> The 2F2 part of code will not be compiled for Windows version to avoid introducing dependency of C++ compiler, therefore preprocessor directives have been employed for two lines related to 2F2 in Multiwfn.f90.

In the patch below, I dropped these #ifdef's and introduced ext/no2F2.f90 which has the save behavior like ext/no2F2.c. I hope it will reduce the number of #ifdef lines.
But the main part of the patch is related to the implementation of feature evaluation, which I inserted into function.f90. I chose iUserFunc 1303 (the same number now is for setting up fractional calculus in hidden Option 1000)

0001-Implement-evaluation-of-xi-alpha.patch.txt

Best regards,
Igor

]]>
Mon, 07 Nov 2022 18:12:13 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2816#p2816
<![CDATA[Re: Patch: Feature: fractional calculus]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2813#p2813 Dear Igor,

I updated Multiwfn 3.8(dev) today and your patch has been applied. The Makefile has been slightly changed based on yours, and 2F2 files have been collectively put into "ext" subfolder of source code package, "ext" means "extension". You can put all files you developed in the future in this folder.

The 2F2 part of code will not be compiled for Windows version to avoid introducing dependency of C++ compiler, therefore preprocessor directives have been employed for two lines related to 2F2 in Multiwfn.f90.

Best,

Tian

]]>
Mon, 07 Nov 2022 15:47:21 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2813#p2813
<![CDATA[Re: Patch: Feature: fractional calculus]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2808#p2808 Dear Igor,

Great. I will merge your patch into official source code very soon and let you know details here.

Best,

Tian

]]>
Mon, 31 Oct 2022 23:50:00 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2808#p2808
<![CDATA[Re: Patch: Feature: fractional calculus]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2803#p2803 Dear Lian,

We almost finished the paper about the new feature based on fractional calculus. Hope, we will submit it soon.

Briefly, I found a way how to apply fractional calculus to the electron density for constructing new ingredients of DFT functionals. In fractional calculus, there are several ways how to compute derivatives with different kernels. And, I want to implement one of these derivatives in the mainline of Multiwfn as a reference implementation.

Best,
Igor

]]>
Sun, 30 Oct 2022 04:23:27 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2803#p2803
<![CDATA[Re: Patch: Feature: fractional calculus]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2802#p2802 Dear Igor,

Could you let me know what feature do you plan to add to Multiwfn? "kernel of new derivatives" makes me a bit confused.

Best,

Tian

]]>
Sat, 29 Oct 2022 19:51:59 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2802#p2802
<![CDATA[Patch: Feature: fractional calculus]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2800#p2800 Dear Tian Lu,

There is a patch for computing 2F2([a,b]; [c,d]; z) (generalized hypergeometric function) which is necessary for computing kernel of new derivatives.

Currently, it only setups internal parameters via 1000-26. Later, I will prepare a patch for computing new derivatives.

0001-Implement-all-things-for-fractional-calculus.patch.txt

Which iuserfunc can I use for new derivatives? I would prefer to have the same number for 1000-X menu and X iuserfunc, but 26 is busy.

Best regards,
Igor

]]>
Sat, 29 Oct 2022 08:10:09 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2800#p2800