PSCF v1.5.0
Pscf::Rp - Real Periodic Fields

Class templates for use SCFT and PS-FTS with real fields. More...

Topics

 Environment
 Masks and external fields.
 Fields
 Field containers, field I/O and spatial domain.
 Field Theoretic Simulation (FTS)
 Classes for partial saddle-point field theoretic simulations (PS-FTS).
 Self-Consistent Field Theory (SCFT)
 SCFT for periodic systems.
 Solvers
 MDE solvers for periodic systems.
 System
 Classes that define an entire physical system.

Functions

int main (int argc, char **argv)
 Main pscf_rpg program.
template<int D, class T>
int Pscf::Rp::run (int argc, char **argv)
 Function template for main pscf_rp* programs.

Detailed Description

Class templates for use SCFT and PS-FTS with real fields.

The Pscf::Rp namespace contains class templates that implement SCFT and PS-FTS calculations for real-valued periodic fields. This namespace contains a set of class templates that each take the dimension of space D and a backend type class as parameters. Specializations of these templates with T=CPT and T=CPT are used to construct the pscf_rpc and pscf_rpg programs, respectively.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Main pscf_rpg program.

Parameters
argcnumber of command line arguments
argvarray of command line arguments

Definition at line 20 of file pscf_rpc.cpp.

References main(), and Pscf::Rp::run().

◆ run()

template<int D, class T>
int Pscf::Rp::run ( int argc,
char ** argv )

Function template for main pscf_rp* programs.

Parameters
argcnumber of command line parameters
argvarray of command line parameter strings
Returns
0 if no command failed, 1 otherwise (exit status)

Definition at line 23 of file run.h.

References Pscf::Rp::System< D, T >::readCommands(), Pscf::Rp::System< D, T >::readParam(), run(), and Pscf::Rp::System< D, T >::setOptions().

Referenced by main(), and run().