PSCF v1.2
fieldHeader.h
1#ifndef PRDC_FIELD_HEADER_H
2#define PRDC_FIELD_HEADER_H
3
4/*
5* PSCF - Polymer Self-Consistent Field Theory
6*
7* Copyright 2016 - 2022, The Regents of the University of Minnesota
8* Distributed under the terms of the GNU General Public License.
9*/
10
11#include "UnitCell.h"
12#include <iostream>
13#include <iomanip>
14
15namespace Pscf {
16namespace Prdc {
17
18 using namespace Util;
19
34 template <int D>
35 void readFieldHeader(std::istream& in, int& ver1, int& ver2,
36 UnitCell<D>& cell, std::string& groupName,
37 int& nMonomer);
38
53 template <int D>
54 void writeFieldHeader(std::ostream &out, int ver1, int ver2,
55 UnitCell<D> const & cell,
56 std::string const & groupName,
57 int nMonomer);
58
59}
60}
61#include "fieldHeader.tpp"
62#endif
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).
PSCF package top-level namespace.
Definition param_pc.dox:1
Utility classes for scientific computation.