11#include <util/containers/GArray.h>
12#include <util/containers/Pair.h>
17 class BlockDescriptor;
106 {
return outPropagatorIds_.size(); }
110 {
return inPropagatorIds_[i]; }
114 {
return outPropagatorIds_[i]; }
Description of a linear homopolymer block within a block polymer.
A junction or chain end in a block polymer.
int size() const
Get the number of attached blocks.
void setId(int id)
Set the integer identifier of this vertex.
void addBlock(BlockDescriptor const &block)
Add block to the list of attached blocks.
Pair< int > const & inPropagatorId(int i) const
Get the block and direction of an incoming propagator.
Pair< int > const & outPropagatorId(int i) const
Get the block and direction of an outgoing propagator.
int id() const
Get the id of this vertex.
An automatically growable array, analogous to a std::vector.
An array of exactly 2 objects.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.