PSCF v1.1
pscf_fd.cpp
1/*
2* PSCF - Polymer Self-Consistent Field Theory
3*
4* Copyright 2016 - 2022, The Regents of the University of Minnesota
5* Distributed under the terms of the GNU General Public License.
6*/
7
8#include <fd1d/System.h>
9
10int main(int argc, char **argv)
11{
12 Pscf::Fd1d::System system;
13
14 // Process command line options
15 system.setOptions(argc, argv);
16
17 // Read parameters from default parameter file
18 system.readParam();
19
20 // Read command script to run system
21 system.readCommands();
22
23 return 0;
24}
Main class in SCFT simulation of one system.
Definition: fd1d/System.h:63
virtual void readParam(std::istream &in)
Read input parameters (with opening and closing lines).
void setOptions(int argc, char **argv)
Process command line options.
Definition: fd1d/System.cpp:99
void readCommands(std::istream &in)
Read command script.