Skip to content
Snippets Groups Projects
Commit 6b6b6b25 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

added missing #ifdef HAVE_FLTK

parent c8c30d8c
No related branches found
No related tags found
No related merge requests found
...@@ -448,8 +448,10 @@ void StructuralSolver :: addPhysicalLine (int id) ...@@ -448,8 +448,10 @@ void StructuralSolver :: addPhysicalLine (int id)
lines[id] = info; lines[id] = info;
#endif #endif
} }
void StructuralSolver :: addPhysicalPoint (int id) void StructuralSolver :: addPhysicalPoint (int id)
{ {
#ifdef HAVE_FLTK
PhysicalPointInfo info; PhysicalPointInfo info;
info.disp[0] = _choice[POINT_X_] ->value(); info.disp[0] = _choice[POINT_X_] ->value();
...@@ -469,11 +471,10 @@ void StructuralSolver :: addPhysicalPoint (int id) ...@@ -469,11 +471,10 @@ void StructuralSolver :: addPhysicalPoint (int id)
if (info.disp[2] == 0) if (info.disp[2] == 0)
MAX_FORCE = (MAX_FORCE>info.val[2])?MAX_FORCE:info.val[2]; MAX_FORCE = (MAX_FORCE>info.val[2])?MAX_FORCE:info.val[2];
points[id] = info; points[id] = info;
#endif
} }
void StructuralSolver :: writeSolverFile ( const char *geom_file ) const void StructuralSolver :: writeSolverFile ( const char *geom_file ) const
{ {
char name[256]; char name[256];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment