PSCF v1.3.2
PSCF - Polymer Self-Consistent Field

PSCF is a software package for field-theoretic simulation of inhomogeneous equilibrium structures formed by polymer liquids with constituents that tend to phase separate. The current version of PSCF can perform either self-consistent field theory calculations or stochastic field theoretic simulations that use a partial saddle-point approximation.

PSCF is written primarily in C++, supplemented by CUDA to use a NVIDIA graphics processing unit if one is available. The package is only distributed in source code form, and so must be compiled by the user. PSCF is designed for a unix-like environment, and is regularly tested on Linux and Mac OS X operating systems.

PSCF is free, open source software. It is distributed under the terms of the GNU General Public License as (GPL) published by the Free Software Foundation, either version 3 of the License or (at your option) any later version. See the LICENSE file or the gnu web page for details. Development of PSCF is currently supported by the National Science Foundation program for Cyberinfrastructure for Sustained Scientific Development (CSSI) under Grant No. 2103627.

Manual Organization:

This web manual is designed to provide both thorough usage information for users who may never look at the source code, and complete aplication programming interface (API) documentation for those who do.

Information for users about how to install and run PSCF is provided in chapters 1-5 of the web manual that is outlined below. Some additional general information aimed at developers is given in chapter 6, Developer Information.

Detailed API documentation that is extracted from comments in the source code is instead accessible via the "Topics", "Namespaces", "Classes", and "Files" tabs that appear at the top of every web manual page. Clicking on a highlighted name of a function, class or class template anywhere in this web manual also links you to the technical API documentation for that entity. The "Topics" tab provides a hierarchical list of C++ classes and functions, organized by C++ namespace and, within each namespace, into named groups of functionally related classes.

The web manual for the most recent release of PSCF is available online at https://dmorse.github.io/pscfpp-man .

Manual outline:

  1. About
    1. Computational Methods
    2. Package History
    3. Programs
    4. Features
    5. Contributors
  2. Installation
    1. Requirements and Dependencies
    2. Getting the Source Code
    3. Installation Overview
    4. Environment Variables
    5. Configure Script
    6. Out-of-Source and In-Source Builds
    7. Compile Time Options
    8. Makefile targets
    9. Generating Documentation
  3. User Introduction
    1. Model and Parameters
    2. Input Files
    3. Running a Program
    4. Types of Calculation
    5. Parameter Files
    6. Command Files
    7. Examples
  4. Self-Consistent Field Theory
    1. Self-Consistent Field Theory
    2. Iteration Algorithms
    3. Parameter Sweeps
    4. Parameter Files
    5. Field Files
    6. Command Files
    7. Thermodynamic Properties
    8. Crystal Unit Cells
    9. Space Groups
    10. Environments – Confinement and External Fields
    11. Thin-Film Confinement
    12. Visualization
    13. Python Tools
    14. Appendix: Modified Diffusion Equations
    15. Appendix: Periodic Functions and Fourier Series
    16. Appendix: Space Group Symmetry
    17. Appendix: Symmetry-Adapted Bases
  5. Partial Saddle-Point Field Theoretic Simulation (PS-FTS)
    1. Fully Fluctuating Field Theory - Incompressible Systems
    2. Partial Saddle-Point Approximation
    3. Algorithms
    4. Parameter File
    5. Command File
    6. Field Trajectory Files
    7. Parameter Ramps
    8. Perturbations
  6. Developer Information
    1. Directory Structure
    2. Build System
    3. Coding Standards
    4. C++ Class Templates
    5. Parameter File I/O
    6. Unit Tests