PSCF v1.1
pscf_pc1.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 <pspc/System.h>
9
10int main(int argc, char **argv)
11{
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 for SCFT simulation of one system.
Definition: pspc/System.h:76
void readCommands(std::istream &in)
Read command script from a file.
void setOptions(int argc, char **argv)
Process command line options.
virtual void readParam(std::istream &in)
Read input parameters (with opening and closing lines).