MRMD 0.4.0
Multi Resolution Molecular Dynamics
Loading...
Searching...
No Matches
interpolation.hpp File Reference
#include <limits>
#include "data/MultiHistogram.hpp"
#include "util/IsInSymmetricSlab.hpp"

Go to the source code of this file.

Namespaces

namespace  mrmd
 
namespace  mrmd::util
 

Functions

KOKKOS_INLINE_FUNCTION real_t mrmd::util::lerp (const real_t &left, const real_t &right, const real_t &factor)
 Linear interpolation between two values.
 
void mrmd::util::updateInterpolate (const data::MultiHistogram &target, const data::MultiHistogram &input)
 Linear interpolation of data contained in input MultiHistogram onto grid of target histogram, adding the interpolated data to the data already contained in target.