|
PSCF v1.4.0
|
FieldState for fields in symmetry-adapted basis format. More...
#include <BasisFieldState.h>
Public Member Functions | |
| BasisFieldState () | |
| Default constructor. | |
| BasisFieldState (System< D > &system) | |
| Constructor, create association with a parent system. | |
| Public Member Functions inherited from Pscf::Rp::BasisFieldState< D, Types< D > > | |
| void | allocate () |
| Allocate all fields. | |
| void | read (const std::string &filename) |
| Read state from file. | |
| void | write (const std::string &filename) |
| Write state to file. | |
| void | getSystemState () |
| Store the current state of the associated system. | |
| void | setSystemState (bool newCellParams) |
| Set the state of the associated system to this state. | |
| Public Member Functions inherited from Pscf::Prdc::FieldState< D, FT, ST > | |
| FieldState () | |
| Default constructor. | |
| FieldState (ST &system) | |
| Constructor, creates association with a System. | |
| ~FieldState () | |
| Destructor. | |
| void | setSystem (ST &system) |
| Set association with System, after default construction. | |
| const DArray< FT > & | fields () const |
| Get array of all fields by const reference. | |
| DArray< FT > & | fields () |
| Get array of all chemical potential fields (non-const reference). | |
| const FT & | field (int monomerId) const |
| Get a field for a single monomer type by const reference. | |
| FT & | field (int monomerId) |
| Get field for a specific monomer type (non-const reference). | |
| const UnitCell< D > & | unitCell () const |
| Get UnitCell (i.e., lattice type and parameters) by const reference. | |
| UnitCell< D > & | unitCell () |
| Get the UnitCell by non-const reference. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Pscf::Rp::BasisFieldState< D, Types< D > > | |
| BasisFieldState () | |
| Default constructor. | |
| Protected Member Functions inherited from Pscf::Prdc::FieldState< D, FT, ST > | |
| bool | hasSystem () |
| Has a system been set? | |
| ST & | system () |
| Get associated System by reference. | |
FieldState for fields in symmetry-adapted basis format.
Specializations of this template with D=1, 2, and 3 are derived from specializations of base class template Rp::BasisFieldState, and inherit their public interface and almost all of their source code from this base class.
Definition at line 32 of file /scft/sweep/BasisFieldState.h.
| Pscf::Rpg::BasisFieldState< D >::BasisFieldState | ( | ) |
Default constructor.
Definition at line 27 of file BasisFieldState.cu.
References BasisFieldState().
Referenced by BasisFieldState(), and BasisFieldState().
| Pscf::Rpg::BasisFieldState< D >::BasisFieldState | ( | System< D > & | system | ) |
Constructor, create association with a parent system.
| system | associated parent system |
Definition at line 33 of file BasisFieldState.cu.
References BasisFieldState(), and Pscf::Rp::BasisFieldState< D, Types< D > >::system().