<![CDATA[Multiwfn forum / Parameters of the fitted plane in MD]]> - //www.umsyar.com/wfnbbs/viewtopic.php?id=1524 Wed, 04 Sep 2024 04:45:42 +0000 FluxBB <![CDATA[Re: Parameters of the fitted plane in MD]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=4583#p4583 Dear Dune,

If you need fitted plane parameters for each frame, you need to modify source code as follows:

Find the following code in otherfunc.f90 in source code package of Multiwfn

			do iframe=1,maxval(frameidx)
				call readxyztrj(10)
                		if (all(frameidx/=iframe)) cycle
				call ptsfitplane(atmsel,nsel,pleA,pleB,pleC,pleD,rmsfit) !Fit plane
...

Change it to

			do iframe=1,maxval(frameidx)
				call readxyztrj(10)
                		if (all(frameidx/=iframe)) cycle
				call ptsfitplane(atmsel,nsel,pleA,pleB,pleC,pleD,rmsfit) !Fit plane
				write(*,"(i8,' Plane equation: A=',f10.5,'  B=',f10.5,'  C=',f10.5,'  D=',f10.5)") iframe,pleA,pleB,pleC,pleD
...

and then recompile Multiwfn.

Best regards,

Tian

]]>
Wed, 04 Sep 2024 04:45:42 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=4583#p4583
<![CDATA[Parameters of the fitted plane in MD]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=4581#p4581 Hi,

I am new to Multiwfn and I am using the 3.8 dev version to calculate planarity metrics (MPP and SDP) for molecular dynamics trajectories.

For single configurations, the output that appears to the screen gives the parameters of the fitted plane.
However, for a trajectory, no output is printed on the screen and thus we lose the information of the parameters of the fitted plane.

Is there a way to extract the parameters of the fitting plane for all frames in a trajectory while calculating MPP and SDP?

Thanks in advance for your help,

Dune

]]>
Tue, 03 Sep 2024 15:57:12 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=4581#p4581