43 void clear()
override;
53 void mapConservative(const time::Sample &inData, Eigen::VectorXd &outData) override;
56 void mapConsistent(const time::Sample &inData, Eigen::VectorXd &outData) override;
59 mutable logging::Logger
_log{
"mapping::RadialGeoMultiscaleMapping"};
Abstract base class for mapping of data from one mesh to another.
Constraint
Specifies additional constraints for a mapping.
Geometric multiscale mapping in radial direction.
std::vector< size_t > _vertexIndicesCollect
MultiscaleType
Geometric multiscale type of the mapping (spread or collect).
RadialGeoMultiscaleMapping(Constraint constraint, int dimensions, MultiscaleType type, MultiscaleAxis axis)
Constructor.
std::vector< size_t > _vertexCounter
counts number of vertices between midpoints for averaging
MultiscaleAxis _axis
main axis along which radial geometric multiscale coupling happens
void tagMeshFirstRound() override
Method used by partition. Tags vertices that could be owned by this rank.
std::vector< size_t > _vertexIndicesSpread
computed vertex indices to map data from input vertices to output vertices and vice versa
std::string getName() const final override
Returns name of the mapping.
MultiscaleType _type
type of mapping, namely spread or collect
void clear() override
Removes a computed mapping.
void tagMeshSecondRound() override
Method used by partition. Tags vertices that can be filtered out.
void mapConservative(const time::Sample &inData, Eigen::VectorXd &outData) override
Maps data using a conservative constraint.
void computeMapping() override
Takes care of compute-heavy operations needed only once to set up the mapping.
void mapConsistent(const time::Sample &inData, Eigen::VectorXd &outData) override
Maps data using a consistent constraint.
Main namespace of the precice library.