PSCF v1.3
pscf_1d.cpp
Go to the documentation of this file.
1
2
3/*
4* PSCF - Polymer Self-Consistent Field
5*
6* Copyright 2015 - 2025, The Regents of the University of Minnesota
7* Distributed under the terms of the GNU General Public License.
8*/
9
10#include <r1d/System.h>
11
20int main(int argc, char **argv)
21{
22 Pscf::R1d::System system;
23
24 // Process command line options
25 system.setOptions(argc, argv);
26
27 // Read parameters from default parameter file
28 system.readParam();
29
30 // Read command script to run system
31 system.readCommands();
32
33 return 0;
34}
Main class in SCFT simulation of one system.
Definition r1d/System.h:65
void readCommands(std::istream &in)
Read command script.
virtual void readParam(std::istream &in)
Read input parameters (with opening and closing lines).
void setOptions(int argc, char **argv)
Process command line options.
int main(int argc, char **argv)
Main function for pscf_1d program.
Definition pscf_1d.cpp:20