diff --git a/xolotl/core/include/xolotl/core/network/impl/PSIReactionNetwork.tpp b/xolotl/core/include/xolotl/core/network/impl/PSIReactionNetwork.tpp index abd53c3ae..6a1c00090 100644 --- a/xolotl/core/include/xolotl/core/network/impl/PSIReactionNetwork.tpp +++ b/xolotl/core/include/xolotl/core/network/impl/PSIReactionNetwork.tpp @@ -65,6 +65,10 @@ void PSIReactionNetwork::initializeExtraDOFs( const options::IOptions& options) { + if (!this->_enableSink) { + return; + } + this->_clusterData.h_view().setHeliumDisloId(this->_numDOFs); this->_clusterData.h_view().setHeliumGBId(this->_numDOFs + 1); this->_numDOFs += 2;