dmorse / pscfpp

Polymer Self-Consistent Field Theory (C++/CUDA version)
https://pscf-home.cems.umn.edu
GNU General Public License v3.0
27 stars 20 forks source link

Print propagator values to file (pscf_fd) #107

Closed debraaudus closed 1 year ago

debraaudus commented 1 year ago

As a future feature, it would be very helpful to be able to have access to the propagators at the end of the simulation for further analysis. It seems like this should be relatively easy to implement since it would mainly require printing known quantities to file. Thank you very much for considering this.

dmorse commented 1 year ago

This feature exists in pscf_pc and (I think) also pscf_pg programs for periodic structures. The html manual documents several commands with names that start with WRITEQ.... for this purpose. See

https://dmorse.github.io/pscfpp-man/user_command_pc_page.html#user_command_pc_qout_sec

We should add corresponding features to the pscf_fd 1D finite element code. I've changed the title of the issue to reflect this distinction, and will add this issue to plans for v1.1

Thanks for contributing. Which program are you actually using?

debraaudus commented 1 year ago

Thank you for adding this to potential enhancement list and for updating the title to be more precise. We are using pscf_fd as you intuited.

chen7545 commented 1 year ago

I can do this.

dmorse commented 1 year ago

Completed by Kexin Chen, Aug. 2023

dmorse commented 11 months ago

Debra, please let me know if this comment gets to you by this mechanism. The ability to write propagators from pscf_fd is currently in the devel branch, and we are approaching the point of merging this into the master branch and tagging it as v1.1. If you have a chance to try out this branch and let us know if it works well and does what you need, I'd appreciate it. To do so you'd have to checkout the devel branch, and would probably want to use doxygen to generate a local copy of the html manual that includes the documentation for these commands.

debraaudus commented 11 months ago

Thank you so much! We will test things out in the next week or so and let you know how it goes.

debraaudus commented 11 months ago

We tested out the code. It works perfectly and does exactly what we need. Thank you very much for adding this feature.

dmorse commented 11 months ago

Great, thanks for beta testing!

On Thu, Sep 21, 2023 at 3:15 PM Debra Audus @.***> wrote:

We tested out the code. It works perfectly and does exactly what we need. Thank you very much for adding this feature.

— Reply to this email directly, view it on GitHub https://github.com/dmorse/pscfpp/issues/107#issuecomment-1730238176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOB4IF2SKA6QJVL3XMUUR3X3SN63ANCNFSM6AAAAAAWGRVX4A . You are receiving this because you modified the open/close state.Message ID: @.***>