Code Monkey home page Code Monkey logo

pscf's Introduction

PSCF - Polymer Self-Consistent Field Theory

Copyright (2002-2017) Regents of the University of Minnesota

PSCF is a program for numerically solving the polymer self-consistent field theory (SCFT) for spatially periodic structures formed by block copolymer melts and mixtures of block copolymers with linear homopolymers and/or small molecule solvents.

The version of the PSCF package provided here is the original version, which was written in Fortran 90. A newer C++/Cuda version that allows use of GPU acceleration, is available in a separate github repository at https://github.com/dmorse/pscfpp. Currently, the C++/Cuda version and Fortran versions of PSCF each contain a few features that are not available in the other code.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. A copy of this license is included in the LICENSE file in the top-level PSCF directory.

Dependencies

PSCF depends upon the FFTW fast Fourier transform library and the LAPACK linear algebra library. These packages must be installed before attempting to compile the program from source.

User Documentation

A web user manual is available at https://pscf.readthedocs.io

Instructions for compiling the program from source, as well how to install a precompiled executable on some systems, are given in the user maual.

The source files for the user manual are text files that are stored in the doc/user-man directory. The relevant files have file extension .rst.

We recommend that users also refer to the 2016 reference article from the journal Macromolecules, cited below. This article provides a brief introduction to SCFT, discusses some of the algorithms and file formats used in the PSCF program, and discusses some issues and questions faced by first time users.

Developer Documentation

A local copy of the developer API documentation, which includes documentation for all modules, subroutines and public variables, may be regenerated by following instructions given in the file doc/README. The resulting html pages are installed in the doc/devel-man directory.

Reference Article

If you use either version of PSCF in published work, we request that you cite the paper:

"Broadly Accessible Self-Consistent Field Theory for Block Copolymer Materials Discovery", A. Arora, J. Qin, D.C. Morse, K.T. Delaney, G.H. Fredrickson, F.S. Bates and K.D. Dorfman, Macromolecules 49, 4675 (2016)

available electronically at http://pubs.acs.org/doi/10.1021/acs.macromol.6b00107

Examples

A library of examples is provided in a separate github repository, located at https://github.com/dmorse/pscf-examples

Links

Travis

Repository Directory Structure

src/                          - Fortran 90 source files
doc/                          - documentation files
doc/user-man                  - - user manual source files
tools/                        - Tools for processing output and source
tools/matlab                  - - matlab scripts for visualization
tools/python                  - - python modules
make/                         - build directory for make

An annotated list of source files is given in the file src/SRC_FILES. Before modifying any fortran files, see the note at the end of that file regarding the use of preprocessor to generate some files.

Contributors

  • David Morse
  • Chris Tyler
  • Jian Qin
  • Amit Ranjan
  • Raghuram Thiagarajan
  • Akash Arora

Support

Development of PSCF has been supported by National Science Foundation grants NSF-DMR097338 and NSF-DMR130436.

pscf's People

Contributors

dmorse avatar bollig avatar akasharora123 avatar gjacquenot avatar benmagruder avatar jsbtic avatar amlrg 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.