1#ifndef RPG_BASIS_FIELD_STATE_H
2#define RPG_BASIS_FIELD_STATE_H
11#include "FieldState.h"
59 void read(
const std::string & filename);
66 void write(
const std::string & filename);
92 #ifndef RPG_BASIS_FIELD_STATE_TPP
FieldState for fields in symmetry-adapted basis format.
void allocate()
Allocate all fields.
void getSystemState()
Copy the current state of the associated system.
void read(const std::string &filename)
Read state from file.
BasisFieldState()
Default constructor.
~BasisFieldState()
Destructor.
void setSystemState(bool newCellParams)
Set the state of the associated system to this state.
void write(const std::string &filename)
Write state to file.
const UnitCell< D > & unitCell() const
const DArray< FT > & fields() const
void setSystem(System< D > &system)
const DArray< double > & field(int monomerId) const
Main class, representing one complete system.
Dynamically allocatable contiguous array template.
Fields, FFTs, and utilities for periodic boundary conditions (CUDA)
Periodic fields and crystallography.
SCFT and PS-FTS with real periodic fields (GPU)
PSCF package top-level namespace.