Connects grids across element faces.
More...
#include <ConnectMeshes.hpp>
|
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.
|
|
Connects grids across element faces.
Can be connected with upto 5 elements or 4 hanging nodes along an edge.
- Note
- Currently only works for quadrilateral elements.
◆ Compute() [1/2]
Connect grids.
- Parameters
-
[in,out] | mesh | The mesh |
[in] | separationFraction | The fraction of the shortest edge to use when determining neighbour edge closeness |
- Note
- separationFraction should be in the interval (0, max], where max = DefaultMaximumSeparationFraction, If the value is outside of this range then a RangeError will be thrown.
◆ Compute() [2/2]
Connect grids.
- Parameters
-
[in,out] | mesh | The mesh |
[in] | polygon | Defines the region where the edges should be flipped |
[in] | separationFraction | The fraction of the shortest edge to use when determining neighbour edge closeness |
- Note
- separationFraction should be in the interval (0, max], where max = DefaultMaximumSeparationFraction, If the value is outside of this range then a RangeError will be thrown.
◆ minimumParallelDeviation
constexpr double meshkernel::ConnectMeshes::minimumParallelDeviation = 0.9 |
|
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.
The documentation for this class was generated from the following file:
- /home/runner/work/MeshKernel/MeshKernel/libs/MeshKernel/include/MeshKernel/ConnectMeshes.hpp