lhapdf
is hosted by
Hepforge
,
IPPP Durham
LHAPDF
6.5.4
Main page
PDF sets
Class hierarchy
Functions
Examples
More...
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Groups
Pages
include
LHAPDF
LogBicubicInterpolator.h
1
// -*- C++ -*-
2
//
3
// This file is part of LHAPDF
4
// Copyright (C) 2012-2023 The LHAPDF collaboration (see AUTHORS for details)
5
//
6
#pragma once
7
#ifndef LHAPDF_LogBicubicInterpolator_H
8
#define LHAPDF_LogBicubicInterpolator_H
9
10
#include "LHAPDF/Interpolator.h"
11
12
namespace
LHAPDF {
13
14
18
class
LogBicubicInterpolator
:
public
Interpolator
{
19
20
public
:
21
LogBicubicInterpolator
(){
setType
(
"logcubic"
); }
22
24
double
_interpolateXQ2
(
const
KnotArray
& subgrid,
double
x,
size_t
ix,
double
q2,
size_t
iq2,
int
id
)
const
;
25
26
void
_interpolateXQ2
(
const
KnotArray
& subgrid,
double
x,
size_t
ix,
double
q2,
size_t
iq2, std::vector<double>& ret)
const
;
27
28
29
};
30
31
}
32
33
#endif
LHAPDF::KnotArray
Internal storage class for PDF data point grids.
Definition:
KnotArray.h:46
LHAPDF::LogBicubicInterpolator
Implementation of bicubic interpolation.
Definition:
LogBicubicInterpolator.h:18
LHAPDF::LogBicubicInterpolator::_interpolateXQ2
double _interpolateXQ2(const KnotArray &subgrid, double x, size_t ix, double q2, size_t iq2, int id) const
Implementation of (x,Q2) interpolation.
LHAPDF::Interpolator
The general interface for interpolating between grid points.
Definition:
Interpolator.h:21
LHAPDF::Interpolator::setType
void setType(std::string t)
Set the interpolation type.
Definition:
Interpolator.h:71
Generated by
1.8.5