preCICE v3.1.1
Loading...
Searching...
No Matches
LinearCellInterpolationMapping.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "logging/Logger.hpp"
5
6namespace precice {
7namespace mapping {
8
14public:
16 LinearCellInterpolationMapping(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::LinearCellInterpolationMappingMapping"};
26};
27
28} // namespace mapping
29} // namespace precice
This class provides a lightweight logger.
Definition Logger.hpp:16
Base class for interpolation based mappings, where mapping is done using a geometry-based linear comb...
Mapping using orthogonal projection to nearest triangle/edge/vertex and linear interpolation from pro...
void computeMapping() final override
Computes the projections and interpolation relations.
LinearCellInterpolationMapping(Constraint constraint, int dimensions)
Constructor, taking mapping constraint.
std::string getName() const final override
name of the lci mapping
Constraint
Specifies additional constraints for a mapping.
Definition Mapping.hpp:29
Main namespace of the precice library.