Incidence optimization. More...
#include "SimpMeshRed.h"
#include "flip.h"
#include "geometry.h"
#include "../../../ads/algorithm/min_max.h"
#include "../../../numerical/constants.h"
#include "inc_opt.ipp"
Go to the source code of this file.
Functions | |
template<int N, typename T , template< class > class Node, template< class > class Cell, template< class, class > class Cont> | |
BEGIN_NAMESPACE_GEOM int | incidenceOptimize (SimpMeshRed< N, 2, T, Node, Cell, Cont > *mesh, int norm, int numSweeps=0) |
Modify the topology to optimize the cell-node incidences. |
Incidence optimization.
BEGIN_NAMESPACE_GEOM int incidenceOptimize | ( | SimpMeshRed< N, 2, T, Node, Cell, Cont > * | mesh, | |
int | norm, | |||
int | numSweeps = 0 | |||
) | [inline] |
Modify the topology to optimize the cell-node incidences.
mesh | The simplicial mesh. | |
norm | The norm used in incidence optimization. May be 0, 1, or 2. | |
numSweeps | The number of sweeps over the faces. By default, the number of sweeps is not limited. |