some more work towards nonlocal fitting. Not functional yet.
This commit is contained in:
21
src/external/Nonlocal/PNL_PippardFitter.h
vendored
21
src/external/Nonlocal/PNL_PippardFitter.h
vendored
@@ -32,6 +32,8 @@
|
||||
#ifndef _PNL_PIPPARDFITTER_H_
|
||||
#define _PNL_PIPPARDFITTER_H_
|
||||
|
||||
#include <fftw3.h>
|
||||
|
||||
#include "PUserFcnBase.h"
|
||||
#include "PNL_StartupHandler.h"
|
||||
#include "PNL_RgeHandler.h"
|
||||
@@ -48,6 +50,25 @@ class PNL_PippardFitter : public PUserFcnBase
|
||||
PNL_StartupHandler *fStartupHandler;
|
||||
PNL_RgeHandler *fRgeHandler;
|
||||
|
||||
mutable std::vector<Double_t> fPreviousParam;
|
||||
|
||||
Double_t f_dx; // dx = xiPT dq
|
||||
mutable Double_t f_dz; // spatial step size
|
||||
|
||||
mutable Bool_t fPlanPresent;
|
||||
mutable fftw_plan fPlan;
|
||||
mutable fftw_complex *fFieldq; // (xiPT x)/(x^2 + xiPT^2 K(x,T)), x = q xiPT
|
||||
mutable fftw_complex *fFieldB; // field calculated for specular boundary conditions
|
||||
mutable Int_t fShift; // shift needed to pick up fFieldB at the maximum for B->0
|
||||
|
||||
virtual Bool_t NewParameters(const std::vector<Double_t> ¶m) const;
|
||||
virtual void CalculateField(const std::vector<Double_t> ¶m) const;
|
||||
virtual void CalculatePolarization(const std::vector<Double_t> ¶m) const;
|
||||
|
||||
virtual Double_t DeltaBCS(const Double_t t) const;
|
||||
virtual Double_t LambdaL_T(const Double_t lambdaL, const Double_t t) const;
|
||||
virtual Double_t XiP_T(const Double_t xi0, const Double_t meanFreePath, Double_t t) const;
|
||||
|
||||
ClassDef(PNL_PippardFitter, 1)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user