|
PSCF v1.4.0
|
Sweep in which parameters vary linearly with sweep variable s. More...
#include <LinearSweep.h>
Public Member Functions | |
| void | readParameters (std::istream &in) |
| Read parameters from param file. | |
| void | setup () |
| Setup operation at the beginning of a sweep. | |
| void | setParameters (double s) |
| Set state parameters before solving an SCFT problem. | |
| void | outputSummary (std::ostream &out) |
| Output data to a running summary. | |
Protected Member Functions | |
| LinearSweep (typename T::System &system) | |
| Constructor. | |
Sweep in which parameters vary linearly with sweep variable s.
Definition at line 29 of file rp/scft/sweep/LinearSweep.h.
|
protected |
| void Pscf::Rp::LinearSweep< D, T >::readParameters | ( | std::istream & | in | ) |
Read parameters from param file.
| in | parameter file input stream |
Definition at line 24 of file LinearSweep.tpp.
References Pscf::SweepTmpl< BasisFieldStateT >::parameterTypes_, and Util::ParamComposite::read().
| void Pscf::Rp::LinearSweep< D, T >::setup | ( | ) |
Setup operation at the beginning of a sweep.
Gets and stores initial values of individual swept parameters.
Definition at line 54 of file LinearSweep.tpp.
| void Pscf::Rp::LinearSweep< D, T >::setParameters | ( | double | s | ) |
Set state parameters before solving an SCFT problem.
Called by SweepTmpl::sweep() for each state in a sweep.
| s | path length coordinate, in [0,1] |
Definition at line 70 of file LinearSweep.tpp.
| void Pscf::Rp::LinearSweep< D, T >::outputSummary | ( | std::ostream & | out | ) |
Output data to a running summary.
| out | output file, open for writing |
Definition at line 81 of file LinearSweep.tpp.