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);
Base class for working with KDTrees in transfers, whether for interpolation or extrapolation.
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.
const InputParameters & parameters() const
Get the parameters of the object.
std::vector< bool > _source_is_nodes
Whether the source of the values is at nodes (true) or centroids (false) for each variable...
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
MultiAppGeneralFieldNearestLocationTransfer(const InputParameters ¶meters)
static InputParameters validParams()
void evaluateInterpValuesNearestNode(const std::vector< std::pair< Point, unsigned int >> &incoming_points, std::vector< std::pair< Real, Real >> &outgoing_vals)
Performs a geometric interpolation based on the values at the nearest nodes to a target location in t...
void buildKDTrees(const unsigned int var_index) override
void initialSetup() override
Method called at the beginning of the simulation for checking integrity or doing one-time setup...