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
b054fdde
Commit
b054fdde
authored
23 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
#define MAXSOLVERS
parent
0af80377
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Fltk/Callbacks.cpp
+8
-3
8 additions, 3 deletions
Fltk/Callbacks.cpp
Fltk/Solvers.cpp
+2
-2
2 additions, 2 deletions
Fltk/Solvers.cpp
Fltk/Solvers.h
+7
-5
7 additions, 5 deletions
Fltk/Solvers.h
doc/VERSIONS
+5
-5
5 additions, 5 deletions
doc/VERSIONS
with
22 additions
and
15 deletions
Fltk/Callbacks.cpp
+
8
−
3
View file @
b054fdde
// $Id: Callbacks.cpp,v 1.12
0
2002-05-0
1 21:11:53
geuzaine Exp $
// $Id: Callbacks.cpp,v 1.12
1
2002-05-0
7 05:32:20
geuzaine Exp $
#include
<sys/types.h>
#include
<sys/types.h>
#include
<signal.h>
#include
<signal.h>
...
@@ -1699,8 +1699,13 @@ void mesh_define_transfinite_volume_cb(CALLBACK_ARGS){
...
@@ -1699,8 +1699,13 @@ void mesh_define_transfinite_volume_cb(CALLBACK_ARGS){
void
solver_cb
(
CALLBACK_ARGS
){
void
solver_cb
(
CALLBACK_ARGS
){
char
file
[
256
],
tmp
[
256
];
char
file
[
256
],
tmp
[
256
];
static
int
first
[
5
]
=
{
1
,
1
,
1
,
1
,
1
};
static
int
init
=
0
,
first
[
MAXSOLVERS
];
int
num
=
(
int
)
data
;
int
i
,
num
=
(
int
)
data
;
if
(
!
init
){
for
(
i
=
0
;
i
<
MAXSOLVERS
;
i
++
)
first
[
i
]
=
1
;
init
=
1
;
}
if
(
first
[
num
]){
if
(
first
[
num
]){
first
[
num
]
=
0
;
first
[
num
]
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Fltk/Solvers.cpp
+
2
−
2
View file @
b054fdde
// $Id: Solvers.cpp,v 1.
9
2002-0
1
-0
3 10:25:06
geuzaine Exp $
// $Id: Solvers.cpp,v 1.
10
2002-0
5
-0
7 05:32:20
geuzaine Exp $
#include
"Gmsh.h"
#include
"Gmsh.h"
#include
"GmshClient.h"
#include
"GmshClient.h"
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
extern
Context_T
CTX
;
extern
Context_T
CTX
;
extern
GUI
*
WID
;
extern
GUI
*
WID
;
SolverInfo
SINFO
[
5
]
;
SolverInfo
SINFO
[
MAXSOLVERS
]
;
int
Solver
(
int
num
,
char
*
args
){
int
Solver
(
int
num
,
char
*
args
){
int
sock
,
type
,
stop
=
0
,
i
,
j
,
n
;
int
sock
,
type
,
stop
=
0
,
i
,
j
,
n
;
...
...
This diff is collapsed.
Click to expand it.
Fltk/Solvers.h
+
7
−
5
View file @
b054fdde
#ifndef _SOLVERS_H_
#ifndef _SOLVERS_H_
#define _SOLVERS_H_
#define _SOLVERS_H_
#define MAXSOLVERS 5
typedef
struct
{
typedef
struct
{
char
name
[
256
],
extension
[
32
],
executable_name
[
256
];
char
name
[
256
],
extension
[
32
],
executable_name
[
256
];
char
mesh_name
[
256
],
mesh_command
[
256
];
char
mesh_name
[
256
],
mesh_command
[
256
];
char
button_name
[
5
][
32
],
button_command
[
5
][
256
];
char
button_name
[
MAXSOLVERS
][
32
],
button_command
[
MAXSOLVERS
][
256
];
char
option_name
[
5
][
256
],
option_command
[
256
];
char
option_name
[
MAXSOLVERS
][
256
],
option_command
[
256
];
char
option
[
5
][
100
][
256
];
char
option
[
MAXSOLVERS
][
100
][
256
];
int
nboptions
,
nbval
[
5
];
int
nboptions
,
nbval
[
MAXSOLVERS
];
char
*
help
;
char
*
help
;
int
client_server
,
popup_messages
,
merge_views
;
int
client_server
,
popup_messages
,
merge_views
;
int
pid
;
int
pid
;
}
SolverInfo
;
}
SolverInfo
;
extern
SolverInfo
SINFO
[
5
]
;
extern
SolverInfo
SINFO
[
MAXSOLVERS
]
;
int
Solver
(
int
num
,
char
*
args
);
int
Solver
(
int
num
,
char
*
args
);
...
...
This diff is collapsed.
Click to expand it.
doc/VERSIONS
+
5
−
5
View file @
b054fdde
$Date: 2002-0
4-24 00:22:54
$
$Date: 2002-0
5-07 05:32:20
$
New in 1.35: Graphical user interface upgraded to FLTK 1.1 (tooltips,
New in 1.35: Graphical user interface upgraded to FLTK 1.1 (tooltips,
new file chooser with multiple selection, full keyboard navigation,
new file chooser with multiple selection, full keyboard navigation,
etc.); colors can be now be directly assigned to
mesh entities;
cut/paste of messages,
etc.); colors can be now be directly assigned to
initial tensor visaulization; new keyboard animation
(righ/left arrow
mesh entities;
initial tensor visaulization; new keyboard animation
for time steps; up/down arrow for view cycling); new
VRML output
(righ/left arrow
for time steps; up/down arrow for view cycling); new
format for surface meshes; small bug fixes;
VRML output
format for surface meshes; small bug fixes;
New in 1.34: Improved surface mesh of non-plane surfaces; fixed
New in 1.34: Improved surface mesh of non-plane surfaces; fixed
orientation of elements in 2D anisotropic algorithm; minor user
orientation of elements in 2D anisotropic algorithm; minor user
...
...
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