PSCF
v1.1
src
fd1d
domain
GeometryMode.h
1
#ifndef FD1D_GEOMETRY_MODE_H
2
#define FD1D_GEOMETRY_MODE_H
3
4
/*
5
* Simpatico - Simulation Package for Polymeric and Molecular Liquids
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 <util/archives/serialize.h>
12
#include <iostream>
13
14
namespace
Pscf
{
15
namespace
Fd1d
16
{
17
30
enum
GeometryMode
{Planar, Cylindrical, Spherical};
31
39
std::istream&
operator >>
(std::istream& in,
GeometryMode
& mode);
40
48
std::ostream&
operator <<
(std::ostream& out,
GeometryMode
mode);
49
57
template
<
class
Archive>
58
void
serialize(Archive& ar,
GeometryMode
& mode,
const
unsigned
int
version)
59
{
serializeEnum
(ar, mode, version); }
60
61
}
62
}
63
#endif
Pscf::Fd1d::GeometryMode
GeometryMode
Enumeration of geometrical modes for functions of one coordinate.
Definition:
GeometryMode.h:30
Util::serializeEnum
void serializeEnum(Archive &ar, T &data, const unsigned int version=0)
Serialize an enumeration value.
Definition:
serialize.h:42
Pscf
C++ namespace for polymer self-consistent field theory (PSCF).
Definition:
BlockDescriptor.cpp:11
Util::operator>>
std::istream & operator>>(std::istream &in, Pair< Data > &pair)
Input a Pair from an istream.
Definition:
Pair.h:44
Util::operator<<
std::ostream & operator<<(std::ostream &out, const Pair< Data > &pair)
Output a Pair to an ostream, without line breaks.
Definition:
Pair.h:57
Generated on Wed Sep 20 2023 00:52:45 for PSCF by
1.9.5