Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 1 addition & 20 deletions lib/vssolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ void VisualizationSceneSolution::NewMeshAndSolution(
PrepareLevelCurves();
PrepareBoundary();
PrepareCP();
PrepareNumbering();
PrepareOrderingCurve();
}

Expand Down Expand Up @@ -1563,16 +1564,6 @@ double VisualizationSceneSolution::GetElementLengthScale(int k)

void VisualizationSceneSolution::PrepareElementNumbering()
{
int ne = mesh -> GetNE();

if (ne > MAX_RENDER_NUMBERING)
{
cout << "Element numbering disabled when #elements > "
<< MAX_RENDER_NUMBERING << endl;
cout << "Rendering the text would be very slow." << endl;
return;
}

if (2 == shading)
{
PrepareElementNumbering2();
Expand Down Expand Up @@ -1655,16 +1646,6 @@ void VisualizationSceneSolution::PrepareElementNumbering2()

void VisualizationSceneSolution::PrepareVertexNumbering()
{
int nv = mesh->GetNV();

if (nv > MAX_RENDER_NUMBERING)
{
cout << "Vertex numbering disabled when #vertices > "
<< MAX_RENDER_NUMBERING << endl;
cout << "Rendering the text would be very slow." << endl;
return;
}

if (2 == shading)
{
PrepareVertexNumbering2();
Expand Down