Code Monkey home page Code Monkey logo

lattice_dynamics's People

Contributors

marcushock avatar mrshirts avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

thonmaker

lattice_dynamics's Issues

pdb files and numerical errors

When using a pdb file, the properties recorded can get messed up due to rounding error. Things like volume and lattice parameter should be used directly from the spline and not pulled from the pdb file.

Add some more documentation on the README.md about calls

Give some examples in the README about how to call the programs to do particular calculations, so that I (or other users) can replicate your results. You can give example results in an example file so that people can check they are using the code correctly to replicate results.

Better implimentation for wavenumber tolerance

There should be more consistent warning when the wave numbers are bad.
Tolerance of wavenumbers shouldn't just be a "more negative" criterion. They should be inclusive of just a general tolerance from zero (ie. catch positive ones as well).

Organization of numerical_checks.out

When running Runge-Kutta, the final gradient at T_max does not receive the same output as previous runs and is not separated nicely.
When running Euler there is no separation between gradient calculations, which makes it hard to read.

System sensitvity only updates the .yaml file with the anisotropic numerical step size

In the input.yaml file, if 'vol_fraction' and 'matrix_fractions' is unspecified, than the program will run a sensitivity analysis to determine the appropriate step size. These step sizes are used in the numerical calculation of the crystals thermal expansion when using the gradient approach.

The 'matrix_fractions' value is automatically updated in the .yaml file once they are determined. That is not the case for 'vol_fraction' and there is no place to save the lambda values. This would increase computational speed when re-running the simulation.

Gradient: Maximum T and T step

Right now, there are no flags or errors thrown if NumAnalysis_step is larger than Gradient_MaxTemp. Python returns an error, but the user wouldn't know what to do with this.

Gradient check at maximum temperature

If one were to run 1D GaQg than the user would know if the lambda value is minimized, but it would be nice to know that it's at a minimum in 6D. A simple check at Tmax could be run to determine if the final structure is truly at a 6D minimum or just at a 1D minimum.

0README.txt to README.md

Suggest changing the current 0README.txt to Markdown formatting and renaming it to README.md, so it pops up automatically in the GitHub web page.

Temperatures out different then specified

During gradient runs, if we set:
Temperature = 0,100
But the numerical step size is 50, the output properties will be 0, 50, 100. Not the specified temperatures.

Error if no property is selected

All properties are saved in the _raw.npy file, so sometimes we won't need the specific Gibbs free energy files or volume files. If output properties are left blank, than an error is raised. The _raw.npy file is still given.

Change paths of gradient calls

Right now isotropic gradient, anisotropic gradient, and 1D-anisotropic gradient follow three separate paths.

  1. Isotropic expansion can be written in terms of lattice parameters.
  2. There are parts where the code can overlay better.

EoS for the gradient methods

The EoS are only set-up to work for the pressure setup. They need to be implemented in the gradient approach.

General output files should also include the output name tag

The following files have general names during output:
numerical_checks.out, minimization.out, GRU_wvn.npy, GRU_eigen.npy

These should include the output tag '_' at the beginning so they aren't overwritten or re-used when user are trying to do multiple runs in a single directory.

Too many 0 temperatures added

If there are temperatures in 'Temperature' higher than 'Gradient_MaxTemp' then the outputed data will include extra 0 values at the of the array, after Tmax.
This make plotting difficult and should be corrected (most likely in the spline section).

*_Gru_organized_wavenumbers scripts can be condensed

The *_Gru_organized_wavenumbers scripts can be condensed together. Also, the name is misleading, this doesn't have to do anything with the Gruneisen parameter specifically (it's just used in the process, but it can be multi-functional).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.