Coder Social home page Coder Social logo

plin1112 / structure_factor_fft Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmcdaniel43/structure_factor_fft

0.0 0.0 0.0 7.15 MB

This code computes structure factors using the PME approach. Either the electron density structure factor can be computed for X-ray scattering (uses form factors), or the total charge density can be computed (uses input force field charges) to evaluate sum rules

License: GNU General Public License v3.0

Shell 1.71% Fortran 96.52% Perl 1.77%

structure_factor_fft's Introduction

we keep two different branches of this code,
which share common subroutines.
We try to minimize the code files in the
different branches, and keep as much overlap as possbile in
the common subroutines.  The reason we have two different
branches is that the data structures get messy when
computing correlation functions such as S(q,t)

1) Sq_Average_FFT:
   computes average structure factor, either charge density or number density
   structure factor.  For charge density, can be split into cation, anion, and
   total contribution.  For number density, can be split into partial atomic
   structure factors.  This code returns 3D structure factors, S(qvec), which
   may be used for analysis of anisotropic systems, or subsequently averaged
   as a function of |qvec| using perl scripts.
   

2) Sq_Ct_FFT:
   In addition to computing averaged structure factors, this branch computes correlation
   functions, e.g. S(q,t) for structure factors.  In this code we assume isotropic system
   so that we don't have correlation functions for all qvecs, and thus we internally average
   over qvecs to output S(|qvec|,t)  

Both of these branches share code in
"source_shared" directory

structure_factor_fft's People

Contributors

jmcdaniel43 avatar

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.