inc_opt.h File Reference

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.

Detailed Description

Incidence optimization.


Function Documentation

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 
) [inline]

Modify the topology to optimize the cell-node incidences.

Parameters:
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.
Returns:
the number of edges flipped.
Generated on Thu Jun 30 02:14:57 2016 for Computational Geometry Package by  doxygen 1.6.3