mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
facet visualization for quads
This commit is contained in:
parent
f6142d027e
commit
679afe06b1
@ -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;
|
||||
|
||||
|
@ -1334,14 +1334,18 @@ namespace netgen
|
||||
ArrayMem<Point<3>, 65> ptsglob(n+1);
|
||||
|
||||
/*
|
||||
double trigpts[3][2] = { { 0, 0 }, { 1, 0 }, { 0, 1} };
|
||||
double trigpts[3][2] = { { 0, 0 }, { 1, 0 }, { 0, 1} };
|
||||
double trigvecs[3][2] = { { 1, 0 }, { -1,1 }, { 0, -1} };
|
||||
*/
|
||||
double trigpts[3][2] = { { 0, 0 }, { 0, 1 }, { 1, 0} };
|
||||
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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user