28 void clear()
final override;
This class provides a lightweight logger.
Abstract base class for mapping of data from one mesh to another.
Constraint
Specifies additional constraints for a mapping.
std::vector< Eigen::VectorXd > _offsetsMatched
void clear() final override
Removes a computed mapping.
std::string mappingName
NearestNeighborMapping or NearestNeighborGradientMapping.
virtual void onMappingComputed(mesh::PtrMesh origins, mesh::PtrMesh searchSpace)
std::string mappingNameShort
nn or nng
std::vector< int > _vertexIndices
Computed output vertex indices to map data from input vertices to.
void tagMeshSecondRound() final override
Method used by partition. Tags vertices that can be filtered out.
void computeMapping() final override
Computes the mapping coefficients from the in- and output mesh.
NearestNeighborBaseMapping(Constraint constraint, int dimensions, bool hasGradient, std::string mappingName, std::string mappingNameShort)
Constructor.
void tagMeshFirstRound() final override
Method used by partition. Tags vertices that could be owned by this rank.
Main namespace of the precice library.