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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
e30d06c7
Commit
e30d06c7
authored
15 years ago
by
Jean-François Remacle
Browse files
Options
Downloads
Patches
Plain Diff
check contrib/DiscreteIntegration
parent
d768ec1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Common/GmshConfig.h.in
+1
-0
1 addition, 0 deletions
Common/GmshConfig.h.in
Geo/MElementCut.cpp
+5
-5
5 additions, 5 deletions
Geo/MElementCut.cpp
configure
+1805
-1443
1805 additions, 1443 deletions
configure
configure.in
+15
-0
15 additions, 0 deletions
configure.in
with
1826 additions
and
1448 deletions
Common/GmshConfig.h.in
+
1
−
0
View file @
e30d06c7
...
...
@@ -10,6 +10,7 @@
#undef HAVE_ANN
#undef HAVE_BLAS
#undef HAVE_CHACO
#undef HAVE_DINTEGRATION
#undef HAVE_FLTK
#undef HAVE_FOURIER_MODEL
#undef HAVE_GMM
...
...
This diff is collapsed.
Click to expand it.
Geo/MElementCut.cpp
+
5
−
5
View file @
e30d06c7
...
...
@@ -7,9 +7,9 @@
#include
"MElement.h"
#include
"MElementCut.h"
//#define HAVE_
LEVELSET
//#define HAVE_
DINTEGRATION
#if defined(HAVE_
LEVELSET
)
#if defined(HAVE_
DINTEGRATION
)
#include
"DILevelset.h"
#include
"Integration3D.h"
#endif
...
...
@@ -180,7 +180,7 @@ void MPolygon::getIntegrationPoints(int pOrder, int *npts, IntPt **pts) const
//---------------------------------------- CutMesh ----------------------------
#if defined(HAVE_
LEVELSET
)
#if defined(HAVE_
DINTEGRATION
)
int
getElementVertexNum
(
DI_Point
p
,
MElement
*
e
)
{
...
...
@@ -587,8 +587,8 @@ GModel *buildCutMesh(GModel *gm, gLevelset *ls,
std
::
map
<
int
,
MVertex
*>
&
vertexMap
,
std
::
map
<
int
,
std
::
map
<
int
,
std
::
string
>
>
physicals
[
4
])
{
#if defined(HAVE_
LEVELSET
)
GModel
*
cutGM
=
new
GModel
;
#if defined(HAVE_
DINTEGRATION
)
GModel
*
cutGM
=
new
GModel
;
printf
(
"have levelset"
);
std
::
map
<
int
,
std
::
vector
<
MElement
*>
>
border
[
2
];
std
::
vector
<
MVertex
*>
newVertices
;
...
...
This diff is collapsed.
Click to expand it.
configure
+
1805
−
1443
View file @
e30d06c7
This diff is collapsed.
Click to expand it.
configure.in
+
15
−
0
View file @
e30d06c7
...
...
@@ -112,6 +112,9 @@ AC_ARG_ENABLE(matheval,
AC_ARG_ENABLE(kbipack,
AC_HELP_STRING([--enable-kbipack],
[compile kbipack if available (default=yes)]))
AC_ARG_ENABLE(dintegration,
AC_HELP_STRING([--enable-dintegration],
[compile Discrete Integration if available (default=yes)]))
AC_ARG_ENABLE(gmm,
AC_HELP_STRING([--enable-gmm],
[use gmm++ if available (default=yes)]))
...
...
@@ -159,6 +162,7 @@ if test "x$enable_minimal" = "xyes"; then
enable_tetgen=no;
enable_matheval=no;
enable_kbipack=no;
enable_dintegration=no;
enable_gmm=no;
enable_ann=no;
enable_metis=no;
...
...
@@ -540,6 +544,17 @@ if test "x$enable_contrib" != "xno"; then
fi
fi
dnl Check for DiscreteIntegration
if test "x$enable_dintegration" != "xno"; then
AC_CHECK_FILE(./contrib/DiscreteIntegration/Integration3D.cpp,DINTEGRATION="yes")
if test "x${DINTEGRATION}" = "xyes"; then
GMSH_DIRS="${GMSH_DIRS} contrib/DiscreteIntegration"
GMSH_LIBS="${GMSH_LIBS} -lGmshDIntegration"
AC_DEFINE(HAVE_DINTEGRATION)
BO="${BO} DIntegration"
fi
fi
fi
dnl Check for OpenCascade
...
...
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