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
6fbf95bc
Commit
6fbf95bc
authored
18 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
msh files should be opened in binary mode (on f&*%^ing Windows)
parent
3484b617
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Geo/GModelIO.cpp
+2
-2
2 additions, 2 deletions
Geo/GModelIO.cpp
configure
+29
-0
29 additions, 0 deletions
configure
configure.in
+9
-1
9 additions, 1 deletion
configure.in
with
40 additions
and
3 deletions
Geo/GModelIO.cpp
+
2
−
2
View file @
6fbf95bc
// $Id: GModelIO.cpp,v 1.2
8
2006-08-
19 19:46:07
geuzaine Exp $
// $Id: GModelIO.cpp,v 1.2
9
2006-08-
24 16:55:28
geuzaine Exp $
//
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -309,7 +309,7 @@ static void createElementMSH(GModel *m, int num, int type, int physical,
int
GModel
::
readMSH
(
const
std
::
string
&
name
)
{
FILE
*
fp
=
fopen
(
name
.
c_str
(),
"r"
);
FILE
*
fp
=
fopen
(
name
.
c_str
(),
"r
b
"
);
if
(
!
fp
){
Msg
(
GERROR
,
"Unable to open file '%s'"
,
name
.
c_str
());
return
0
;
...
...
This diff is collapsed.
Click to expand it.
configure
+
29
−
0
View file @
6fbf95bc
...
...
@@ -4129,6 +4129,35 @@ fi
fi
fi
echo
"
$as_me
:
$LINENO
: checking for ./contrib/FourierModel/model.cpp"
>
&5
echo
$ECHO_N
"checking for ./contrib/FourierModel/model.cpp...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_file___contrib_FourierModel_model_cpp
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
test
"
$cross_compiling
"
=
yes
&&
{
{
echo
"
$as_me
:
$LINENO
: error: cannot check for file existence when cross compiling"
>
&5
echo
"
$as_me
: error: cannot check for file existence when cross compiling"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
if
test
-r
"./contrib/FourierModel/model.cpp"
;
then
ac_cv_file___contrib_FourierModel_model_cpp
=
yes
else
ac_cv_file___contrib_FourierModel_model_cpp
=
no
fi
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_file___contrib_FourierModel_model_cpp
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_file___contrib_FourierModel_model_cpp
"
>
&6
if
test
$ac_cv_file___contrib_FourierModel_model_cpp
=
yes
;
then
FOURIER
=
"yes"
else
FOURIER
=
"no"
fi
if
test
"x
${
FOURIER
}
"
=
"xyes"
;
then
GMSH_DIRS
=
"
${
GMSH_DIRS
}
contrib/FourierModel"
GMSH_LIBS
=
"
${
GMSH_LIBS
}
-Lcontrib/FourierModel -lFourierModel"
FLAGS
=
"-DHAVE_FOURIER_MODEL
${
FLAGS
}
"
fi
fi
if
test
"x
$enable_gsl
"
!=
"xno"
;
then
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
9
−
1
View file @
6fbf95bc
dnl $Id: configure.in,v 1.10
0
2006-08-
12 19:34:14
geuzaine Exp $
dnl $Id: configure.in,v 1.10
1
2006-08-
24 16:55:28
geuzaine Exp $
dnl
dnl Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
dnl
...
...
@@ -457,6 +457,14 @@ if test "x$enable_contrib" != "xno"; then
fi
fi
dnl Check for FourierModel
AC_CHECK_FILE(./contrib/FourierModel/model.cpp, FOURIER="yes", FOURIER="no")
if test "x${FOURIER}" = "xyes"; then
GMSH_DIRS="${GMSH_DIRS} contrib/FourierModel"
GMSH_LIBS="${GMSH_LIBS} -Lcontrib/FourierModel -lFourierModel"
FLAGS="-DHAVE_FOURIER_MODEL ${FLAGS}"
fi
fi
dnl Check for GSL
...
...
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