Skip to content

Commit

Permalink
Only create the additional DOFs when sinks are in use (ORNL-Fusion#112).
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie Blondel committed Jul 13, 2023
1 parent bce7a9d commit aafa913
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ void
PSIReactionNetwork<TSpeciesEnum>::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;
Expand Down

0 comments on commit aafa913

Please sign in to comment.