9#include "GeometryMode.h"
24 if (buffer ==
"Planar" || buffer ==
"planar") {
27 if (buffer ==
"Cylindrical" || buffer ==
"cylindrical") {
30 if (buffer ==
"Spherical" || buffer ==
"spherical") {
33 UTIL_THROW(
"Invalid GeometryMode value input");
46 if (mode == Cylindrical) {
49 if (mode == Spherical) {
File containing preprocessor macros for error handling.
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
GeometryMode
Enumeration of geometrical modes for functions of one coordinate.
SCFT with real 1D fields.
PSCF package top-level namespace.
std::istream & operator>>(std::istream &in, Pair< Data > &pair)
Input a Pair from an istream.
std::ostream & operator<<(std::ostream &out, const Pair< Data > &pair)
Output a Pair to an ostream, without line breaks.