Fix maxvalence calculation in FarMeshFactory

The lowest max valence should always be 4: even a triangle
generates 4 quads.

fixes #249
This commit is contained in:
manuelk 2013-12-20 15:24:14 -08:00
parent 69ebcb8cc3
commit d41cb5cd1f

View File

@ -591,7 +591,7 @@ FarMeshFactory<T,U>::FarMeshFactory( HbrMesh<T> * mesh, int maxlevel, bool adapt
_numVertices(-1),
_numCoarseVertices(-1),
_numFaces(-1),
_maxValence(3),
_maxValence(4),
_numPtexFaces(-1),
_facesList(maxlevel+1)
{