Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
9528c867
Commit
9528c867
authored
9 years ago
by
Innocent Niyonzima
Browse files
Options
Downloads
Patches
Plain Diff
fix compile w/o mesh
parent
7704e57e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+3
-0
3 additions, 0 deletions
CMakeLists.txt
Geo/MElement.cpp
+4
-0
4 additions, 0 deletions
Geo/MElement.cpp
Numeric/MetricBasis.cpp
+2
-0
2 additions, 0 deletions
Numeric/MetricBasis.cpp
with
9 additions
and
0 deletions
CMakeLists.txt
+
3
−
0
View file @
9528c867
...
@@ -1421,6 +1421,9 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
...
@@ -1421,6 +1421,9 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
list
(
APPEND LINK_LIBRARIES
${
RT_LIB
}
)
list
(
APPEND LINK_LIBRARIES
${
RT_LIB
}
)
endif
(
RT_LIB
)
endif
(
RT_LIB
)
endif
(
HAVE_OCC
)
endif
(
HAVE_OCC
)
if
(
CMAKE_C_COMPILER_ID MATCHES
"GNU"
)
add_definitions
(
-fPIC
)
endif
(
CMAKE_C_COMPILER_ID MATCHES
"GNU"
)
endif
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Linux"
)
endif
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Linux"
)
# we could specify include dirs more selectively, but this is simpler
# we could specify include dirs more selectively, but this is simpler
...
...
This diff is collapsed.
Click to expand it.
Geo/MElement.cpp
+
4
−
0
View file @
9528c867
...
@@ -236,7 +236,11 @@ double MElement::maxDistToStraight() const
...
@@ -236,7 +236,11 @@ double MElement::maxDistToStraight() const
double
MElement
::
minAnisotropyMeasure
()
double
MElement
::
minAnisotropyMeasure
()
{
{
#if defined(HAVE_MESH)
return
jacobianBasedQuality
::
minAnisotropyMeasure
(
this
);
return
jacobianBasedQuality
::
minAnisotropyMeasure
(
this
);
#else
return
0.
;
#endif
}
}
void
MElement
::
scaledJacRange
(
double
&
jmin
,
double
&
jmax
,
GEntity
*
ge
)
const
void
MElement
::
scaledJacRange
(
double
&
jmin
,
double
&
jmax
,
GEntity
*
ge
)
const
...
...
This diff is collapsed.
Click to expand it.
Numeric/MetricBasis.cpp
+
2
−
0
View file @
9528c867
...
@@ -716,8 +716,10 @@ bool MetricBasis::validateBezierForMetricAndJacobian()
...
@@ -716,8 +716,10 @@ bool MetricBasis::validateBezierForMetricAndJacobian()
elements
[
iel
]
=
el
;
elements
[
iel
]
=
el
;
}
}
#if defined(HAVE_PLUGINS)
GMSH_AnalyseCurvedMeshPlugin
plugin
=
GMSH_AnalyseCurvedMeshPlugin
();
GMSH_AnalyseCurvedMeshPlugin
plugin
=
GMSH_AnalyseCurvedMeshPlugin
();
plugin
.
test
(
elements
,
numElem
,
dim
);
plugin
.
test
(
elements
,
numElem
,
dim
);
#endif
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment