preCICE v3.2.0
Loading...
Searching...
No Matches
NearestProjectionMapping.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "logging/Logger.hpp"
6
7namespace precice::mapping {
8
14public:
16 NearestProjectionMapping(Constraint constraint, int dimensions);
17
19 void computeMapping() final override;
20
22 std::string getName() const final override;
23
24private:
25 logging::Logger _log{"mapping::NearestNeighborProjectionMapping"};
26};
27
28} // namespace precice::mapping
This class provides a lightweight logger.
Definition Logger.hpp:17
BarycentricBaseMapping(Constraint constraint, int dimensions)
Constraint
Specifies additional constraints for a mapping.
Definition Mapping.hpp:30
std::string getName() const final override
name of the np mapping
void computeMapping() final override
Computes the projections and interpolation relations.
NearestProjectionMapping(Constraint constraint, int dimensions)
Constructor, taking mapping constraint.
contains data mapping from points to meshes.