Nonlocal: Raw -> Smart Pointers. Improved config of standalone dump_nonlocal_field.

This commit is contained in:
2023-10-25 17:40:56 +02:00
parent 344a5c8ba0
commit 1cb0cfd3e7
5 changed files with 78 additions and 54 deletions

View File

@@ -36,6 +36,8 @@
//#endif
#include <fftw3.h>
#include <memory>
#include "PMusr.h"
#include "PUserFcnBase.h"
#include "PNL_StartupHandler.h"
@@ -57,8 +59,8 @@ class PNL_PippardFitterGlobal
private:
Bool_t fValid{true};
PNL_StartupHandler *fStartupHandler{nullptr};
PRgeHandler *fRgeHandler{nullptr};
std::unique_ptr<PNL_StartupHandler> fStartupHandler;
std::unique_ptr<PRgeHandler> fRgeHandler;
mutable std::vector<Double_t> fPreviousParam;