56 UTIL_THROW(
"Error: Equal vertex indices in edge");
60 propagatorId[0] = edge.
id();
63 outPropagatorIds_.append(propagatorId);
65 inPropagatorIds_.append(propagatorId);
69 outPropagatorIds_.append(propagatorId);
71 inPropagatorIds_.append(propagatorId);
73 UTIL_THROW(
"Neither edge vertex id matches this vertex");
Descriptor for a block within a block polymer.
int id() const
Get the id of this block (unique within the polymer).
int vertexId(int i) const
Get the id of one associated vertex.
void setId(int id)
Set the integer identifier of this vertex.
void addEdge(Edge const &block)
Add block to the list of attached blocks.
int id() const
Get the id of this vertex.
An array of exactly 2 objects.
File containing preprocessor macros for error handling.
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
PSCF package top-level namespace.