1#ifndef PRDC_FIELD_HEADER_H
2#define PRDC_FIELD_HEADER_H
11#include <pscf/math/IntVec.h>
15 template <
int D>
class Mesh;
18 template <
int D>
class Basis;
67 std::string
const & groupName,
100#include "fieldHeader.tpp"
An IntVec<D, T> is a D-component vector of elements of integer type T.
Description of a regular grid of points in a periodic domain.
Symmetry-adapted Fourier basis for pseudo-spectral SCFT.
Base template for UnitCell<D> classes, D=1, 2 or 3.
void writeFieldHeader(std::ostream &out, int ver1, int ver2, UnitCell< D > const &cell, std::string const &groupName, int nMonomer)
Write common part of field header (fortran PSCF format).
void readFieldHeader(std::istream &in, int &ver1, int &ver2, UnitCell< D > &cell, std::string &groupName, int &nMonomer)
Read common part of field header (fortran PSCF format).
void writeMeshDimensions(std::ostream &out, IntVec< D > const &meshDimensions)
Write mesh dimensions to a field file header.
void readMeshDimensions(std::istream &in, IntVec< D > const &meshDimensions)
Read mesh dimensions from a field file header.
Periodic fields and crystallography.
PSCF package top-level namespace.