20#ifndef LIBMESH_RADIAL_BASIS_INTERPOLATION_H
21#define LIBMESH_RADIAL_BASIS_INTERPOLATION_H
24#include "libmesh/libmesh_config.h"
25#include "libmesh/libmesh_common.h"
26#include "libmesh/meshfree_interpolation.h"
27#include "libmesh/radial_basis_functions.h"
28#include "libmesh/bounding_box.h"
42template <
unsigned int KDDim,
class RBF = WendlandRBF<KDDim, 2>>
90 virtual void clear()
override;
102 const std::vector<Point> & tgt_pts,
103 std::vector<Number> & tgt_vals)
const override;
Defines a Cartesian bounding box by the two corner extremum.
Inverse distance interpolation.
std::vector< std::string > _names
std::vector< Number > _src_vals
std::vector< Point > _src_pts
Radial Basis Function interpolation.
virtual void clear() override
Clears all internal data structures and restores to a pristine state.
RadialBasisInterpolation(const libMesh::Parallel::Communicator &comm_in, Real radius=-1)
Constructor.
virtual void interpolate_field_data(const std::vector< std::string > &field_names, const std::vector< Point > &tgt_pts, std::vector< Number > &tgt_vals) const override
Interpolate source data at target points.
Real _r_override
Diagonal override.
BoundingBox _src_bbox
Bounding box for our source points.
Real _r_bbox
Diagonal of the bounding box.
virtual void prepare_for_use() override
Prepares data structures for use.
std::vector< Number > _weights
basis coefficients.
The libMesh namespace provides an interface to certain functionality in the library.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real