#include <twoPointClusteringMapper.hpp>
Public Member Functions | |
TwoPointClusteringMapper (int direction, double start, double end, double beta, double location, double offset, std::shared_ptr< ablate::domain::Region > mappingRegion={}) | |
std::string | ToString () const override |
![]() | |
MeshMapper (std::shared_ptr< ablate::mathFunctions::MathFunction > mappingFunction, std::shared_ptr< ablate::domain::Region > mappingRegion={}) | |
void | Modify (DM &) override |
void | Modify (const std::vector< double > &in, std::vector< double > &out) const |
Additional Inherited Members | |
![]() | |
static void | ReplaceDm (DM &originalDm, DM &replaceDm) |
Performs clustering mapping using an algebraic relationship around two point using equations derived from Hoffmann, Klaus A., and Steve T. Chiang. "Computational fluid dynamics volume I. Forth Edition" Engineering education system (2000).
|
explicit |
Performs one point clustering
direction | The direction (0, 1, 2) to perform the mapping |
start | The start of the domain in direction |
end | The end of the domain in direction |
beta | The clustering factor |
location | The location to cluster center |
offset | The location to perform the clustering in direction |
mappingRegion | optional region to apply this mapper. Default is everywhere |
|
overridevirtual |
Provide name of modifier for debug/output
Reimplemented from ablate::domain::modifiers::MeshMapper.