diff --git a/src/gravity/selfGravity.cpp b/src/gravity/selfGravity.cpp index 8efef800..f716a9e3 100644 --- a/src/gravity/selfGravity.cpp +++ b/src/gravity/selfGravity.cpp @@ -187,6 +187,8 @@ void SelfGravity::Init(Input &input, DataBlock *datain) { this->np_tot[IDIR]); + data->dump->RegisterVariable(this->potential, "GravPotential"); + idfx::popRegion(); }