Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Gibbs Monte Carlo Examples update + output file generation + Input variable container #51

Merged
merged 3 commits into from
Oct 5, 2024

Conversation

Zhaoli2042
Copy link
Contributor

  1. added NPTMC Volume move example
  2. updated NVT-Gibbs Move example for TraPPE CO2
  3. Source code modifications
    3.1 added input container struct as a buffer storage to convert any form of input to something gRASPA can read (currently works for force field parameters)
    3.2 added variables struct as a bucket for all variables used during the simulation
    3.3 small fix for tail-correction, now it should be okay to use tail_correction in force_field_mixing_rules.def for all pairs of interactions
    3.4 added Keyword "StructureFactor_Multiplier XXX" to allocate more structure factors (multiplies by initial number of structure factors in three dimensions) for Ewald summation, useful for simulations with volume moves, pre-allocate more space to prevent re-allocation during the simulation
  4. Add Output option in keywords, use "SaveOutputToFile yes" keyword in simulation.input to save output data file (RASPA-2 style)
  5. Add NPT-Gibbs example

1. added NPTMC Volume move example
2. updated NVT-Gibbs Move example for TraPPE CO2
3. Source code modifications
        3.1 added input container struct as a buffer storage to convert any form of input to something gRASPA can read (currently works for force field parameters)
        3.2 added variables struct as a bucket for all variables used during the simulation
        3.3 small fix for tail-correction, now it should be okay to use tail_correction in force_field_mixing_rules.def for all pairs of interactions
        3.4 added Keyword "StructureFactor_Multiplier XXX" to allocate more structure factors (multiplies by initial number of structure factors in three dimensions) for Ewald summation, useful for simulations with volume moves, pre-allocate more space to prevent re-allocation during the simulation
…in simulation.input to save output data file (RASPA-2 style)

   * If there is no such keyword, everything is printed to screen
2. small fix for type conversion (size_t to int) to eliminate compilation error
Add NpT-Gibbs example for TraPPE CO2
@Zhaoli2042 Zhaoli2042 merged commit dbf3d59 into snurr-group:main Oct 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant