[gpumd] About eigenvector.out (or eigenvector.in) from phonon command.

  • From: "소순성" <soonsung2001@xxxxxxxxxx>
  • To: <gpumd@xxxxxxxxxxxxx>
  • Date: Thu, 18 Nov 2021 00:35:32 +0900

Dear Zheyong Fan.

Hi. 
I tried to use eigenvector.out file from the phonon command in GPUMD for 
calculating spatial phonon energy distribution 
depicted in the Figure 4b in the paper "van der Waals Graphene Kirigami 
Heterostructure for Strain-Controlled Thermal Transparency" (ACS Nano 2018, 12, 
11254−11262)

However, it is written in binary (I think it is for speed and Volume of the 
file) so it needs to be decoded to text form.
I tried to change the code in the line 310 of hessian.cu 
(/GPUMD-2.8/src/main_phonon/) 
 
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
eigfile.open(file_eigenvectors, std::ios::out | std::ios::binary);

to

eigfile.open(file_eigenvectors);
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
to try to get the eigenvector.out file with text file but it does not work.


Is there any method to get the information of eigenvector.out file?


Other related posts: