31 virtual void execute()
override;
61 std::vector<std::pair<Point, DofObject *>> & local_entities,
62 std::vector<unsigned int> & local_comps,
std::map< std::pair< unsigned int, dof_id_type >, unsigned int > & _cached_from_inds
MultiAppNearestNodeTransfer(const InputParameters ¶meters)
Real bboxMaxDistance(const Point &p, const BoundingBox &bbox)
Return the distance between the given point and the farthest corner of the given bounding box...
const std::vector< Node * > & getTargetLocalNodes(const unsigned int to_problem_id)
Get the local nodes on the target boundary for the transfer.
std::vector< Node * > _target_local_nodes
Target local nodes for receiving a nodal variable.
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
Real bboxMinDistance(const Point &p, const BoundingBox &bbox)
Return the distance between the given point and the nearest corner of the given bounding box...
bool usesMooseAppCoordTransform() const override
Whether this transfer handles non-translation-based transformations, e.g.
Copy the value to the target domain from the nearest node in the source domain.
virtual void execute() override
Execute the transfer.
std::map< processor_id_type, std::vector< dof_id_type > > & _cached_dof_ids
std::map< dof_id_type, Real > & _distance_map
Used to cache distances.
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Transfers variables on possibly different meshes while conserving a user defined property (Postproces...
std::map< processor_id_type, std::vector< unsigned int > > & _cached_froms
std::map< dof_id_type, Node * > & _node_map
Used to cache nodes.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()
void getLocalEntitiesAndComponents(MooseMesh *mesh, std::vector< std::pair< Point, DofObject *>> &local_entities, std::vector< unsigned int > &local_comps, bool nodal, bool constant)
Get nearest node candidates.
std::map< std::pair< unsigned int, dof_id_type >, unsigned int > & _cached_qp_inds
bool _fixed_meshes
If true then node connections will be cached.