MeshKernel
|
Connects grids across element faces. More...
#include <ConnectMeshes.hpp>
Static Public Member Functions | |
static std::unique_ptr< meshkernel::UndoAction > | Compute (Mesh2D &mesh, const double separationFraction=DefaultMaximumSeparationFraction) |
Connect grids. More... | |
Static Public Attributes | |
static constexpr double | DefaultMaximumSeparationFraction = 0.4 |
The default and maximum value of the fraction of the edge length used to determine if edges are adjacent. | |
static constexpr double | minimumParallelDeviation = 0.9 |
The cos of the minimum angle between two lines to be considered parallel or almost parallel. More... | |
Connects grids across element faces.
Can be connected with upto 5 elements or 4 hanging nodes along an edge.
|
static |
Connect grids.
[in,out] | mesh | The mesh |
[in] | separationFraction | The fraction of the shortest edge to use when determining neighbour edge closeness |
|
staticconstexpr |
The cos of the minimum angle between two lines to be considered parallel or almost parallel.
The angle may be close to 0 or pi.