LHAPDF  6.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Classes | Public Member Functions | List of all members
LHAPDF::LogBicubicInterpolator Class Reference

Implementation of bicubic interpolation. More...

#include <LogBicubicInterpolator.h>

Inheritance diagram for LHAPDF::LogBicubicInterpolator:
LHAPDF::Interpolator

Classes

struct  Q2Cache
 A single set of cached Q2-variables. More...
 
struct  Q2Caches
 A multi-level Q2-variable cache for a single subgrid hash. More...
 
struct  XCache
 A single set of cached x-variables. More...
 
struct  XCaches
 A multi-level x-variable cache for a single subgrid hash. More...
 

Public Member Functions

double _interpolateXQ2 (const KnotArray1F &subgrid, double x, size_t ix, double q2, size_t iq2) const
 Implementation of (x,Q2) interpolation.
 
- Public Member Functions inherited from LHAPDF::Interpolator
virtual ~Interpolator ()
 Destructor to allow inheritance.
 
void bind (const GridPDF *pdf)
 Bind to a GridPDF.
 
void unbind ()
 Unbind from GridPDF.
 
bool hasPDF ()
 Identify whether this Interpolator has an associated PDF.
 
const GridPDF & pdf () const
 Get the associated GridPDF.
 
double interpolateXQ (int id, double x, double q) const
 Interpolate a single-point in (x,Q)
 
double interpolateXQ2 (int id, double x, double q2) const
 Interpolate a single-point in (x,Q2)
 

Static Public Member Functions

static XCache & _getCacheX (const KnotArray1F &subgrid, double x, size_t ix)
 Get and update the current caching structs for interpolation params. More...
 
static Q2Cache & _getCacheQ2 (const KnotArray1F &subgrid, double q2, size_t iq2)
 

Additional Inherited Members

Detailed Description

Implementation of bicubic interpolation.

This class will interpolate in 2D using a bicubic hermite spline.

Member Function Documentation

static XCache& LHAPDF::LogBicubicInterpolator::_getCacheX ( const KnotArray1F &  subgrid,
double  x,
size_t  ix 
)
static

Get and update the current caching structs for interpolation params.

Note
Caches are handled separately for x and Q since they can be sampled very differently.

The documentation for this class was generated from the following file: