33 const std::vector<std::pair<Point, unsigned int>> & incoming_points,
34 std::vector<std::pair<Real, Real>> & outgoing_vals)
override;
37 void buildKDTrees(
const unsigned int var_index)
override;
45 const std::vector<std::pair<Point, unsigned int>> & incoming_points,
46 std::vector<std::pair<Real, Real>> & outgoing_vals);
const InputParameters & parameters() const
Get the parameters of the object.
Base class for working with KDTrees in transfers, whether for interpolation or extrapolation.
Performs a geometric interpolation based on the values at the nearest nodes to a target location in t...
virtual void evaluateInterpValues(const unsigned int, const std::vector< std::pair< Point, unsigned int > > &incoming_points, std::vector< std::pair< Real, Real > > &outgoing_vals) override
std::vector< bool > _source_is_nodes
Whether the source of the values is at nodes (true) or centroids (false) for each variable.
void evaluateInterpValuesNearestNode(const std::vector< std::pair< Point, unsigned int > > &incoming_points, std::vector< std::pair< Real, Real > > &outgoing_vals)
void initialSetup() override
Method called at the beginning of the simulation for checking integrity or doing one-time setup.
void buildKDTrees(const unsigned int var_index) override
static InputParameters validParams()
std::vector< bool > _use_zero_dof_for_value
Whether we can just use the local zero-indexed dof to get the value from the solution.