mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +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;
|
||||
|
||||
|
@ -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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user