Open zhangke97 opened 3 years ago
Hey, I know it is not that clear how to run the code, I hope that in the future I will have a more clear way for how to run the code. Anyway, first you must have NVIDIA graphic card and MATLAB installed. Open MATLAB, and make sure that all the directory on the path. run buildMex on MATLAB. If you have complied the files successfully, you can try the examples in the examples directory. If you have any question you are welcomed to ask.
Got it, and I will try again. Thank you very much!
------------------ Original ------------------ From: chabner @.> Date: Wed,Aug 18,2021 4:19 PM To: chabner/gaussianBeam-field @.> Cc: Janck @.>, Author @.> Subject: Re: [chabner/gaussianBeam-field] don't know how to run (#1)
Hey, I know it is not that clear how to run the code, I hope that in the future I will have a more clear way for how to run the code. Anyway, first you must have NVIDIA graphic card and MATLAB installed. Open MATLAB, and make sure that all the directory on the path. run buildMex on MATLAB. If you have complied the files successfully, you can try the examples in the examples directory. If you have any question you are welcomed to ask.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Hello,I have complied the examples in the examples directory successfully ! But I don't know the unit of parameters in the code: boxDepth, vx, dl, MFP, k. And I don't know wavelength. Can you help me? Thank you.
Hello, glad to hear that the code is compiled well :) I am usually setting the wavelength to be 1, so that k - the wavenumber, is 2pi. Then, everything is relative to the wavelength. So for example if MFP is equals to 4, and k = 2pi, it means that the MFP is 4 wavelength long.
Good luck!
Thank you for your answer ! But I still have a question. What's the unit of vx? Is it also a multiple of wavelength?
In NF setup, vx is indeed a multiple of wavelength. In FF setup, it defined such that vx^2 + vy ^2 (+ vz^2 in 3d) = 1, since it defines a direction.
Got it! Thank you very much!
Hello, I want to reappear the result of the papers and. I want to run it for some results, but I don't know how to use the project. Please help me. Thank you.