facet visualization for quads

This commit is contained in:
Joachim Schoeberl 2012-04-26 19:20:47 +00:00
parent f6142d027e
commit 679afe06b1
2 changed files with 8 additions and 4 deletions

View File

@ -1269,7 +1269,7 @@ void Ng_HPRefinement (int levels, double parameter, bool setorders,
{
NgLock meshlock (mesh->MajorMutex(), true);
Refinement & ref = const_cast<Refinement&> (ng_geometry -> GetRefinement());
HPRefinement (*mesh, &ref, levels);
HPRefinement (*mesh, &ref, levels, parameter, setorders, ref_level);
/*
Refinement * ref;

View File

@ -1340,8 +1340,12 @@ namespace netgen
double trigpts[3][2] = { { 0, 0 }, { 0, 1 }, { 1, 0} };
double trigvecs[3][2] = { { 1, 0 }, { 0, -1 }, { -1, 1} };
/*
double quadpts[4][2] = { { 0, 0 }, { 1, 0 }, { 1, 1 }, { 0, 1} };
double quadvecs[4][2] = { { 1, 0 }, { 0, 1 }, { -1, 0}, { 0, -1} };
*/
double quadpts[4][2] = { { 0, 0 }, { 1, 1 }, { 0, 1}, { 1, 0 } };
double quadvecs[4][2] = { { 1, 0 }, { -1, 0}, { 0, -1}, { 0, 1 } };
for (SurfaceElementIndex sei = 0; sei < nse; sei++)
{