Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-uggrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
staging
dune-uggrid
Commits
2630be23
Commit
2630be23
authored
7 years ago
by
Ansgar Burchardt
Browse files
Options
Downloads
Patches
Plain Diff
[cleanup] InitParallel: remove `argc` and `argv` parameters
parent
577cd2a6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!98
Cleanup
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
initug.cc
+1
-1
1 addition, 1 deletion
initug.cc
parallel/initparallel.cc
+2
-6
2 additions, 6 deletions
parallel/initparallel.cc
parallel/initparallel.h
+1
-1
1 addition, 1 deletion
parallel/initparallel.h
with
4 additions
and
8 deletions
initug.cc
+
1
−
1
View file @
2630be23
...
...
@@ -146,7 +146,7 @@ INT NS_DIM_PREFIX InitUg (int *argcp, char ***argvp)
/* init parallelization module */
#ifdef ModelP
PRINTDEBUG
(
init
,
1
,
(
" InitParallel()...
\n
"
))
if
((
err
=
InitParallel
(
argcp
,
argvp
))
!=
0
)
if
((
err
=
InitParallel
(
))
!=
0
)
{
printf
(
"ERROR in InitUg while InitParallel (line %d): called routine line %d
\n
"
,
...
...
This diff is collapsed.
Click to expand it.
parallel/initparallel.cc
+
2
−
6
View file @
2630be23
...
...
@@ -77,11 +77,7 @@ using namespace PPIF;
InitParallel - Call of the initfunctions for all parallel modules
SYNOPSIS:
INT InitParallel (int *argcp, char ***argvp);
PARAMETERS:
. argcp - pointer to argument counter
. argvp - pointer to argument vector
INT InitParallel();
DESCRIPTION:
This function initializes.
...
...
@@ -93,7 +89,7 @@ using namespace PPIF;
D*/
/****************************************************************************/
INT
NS_DIM_PREFIX
InitParallel
(
int
*
argcp
,
char
***
argvp
)
INT
NS_DIM_PREFIX
InitParallel
(
)
{
INT
err
;
...
...
This diff is collapsed.
Click to expand it.
parallel/initparallel.h
+
1
−
1
View file @
2630be23
...
...
@@ -37,7 +37,7 @@ START_UGDIM_NAMESPACE
/****************************************************************************/
/* initialisation of the parallel modules */
INT
InitParallel
(
int
*
argcp
,
char
***
argvp
);
INT
InitParallel
(
);
INT
ExitParallel
(
void
);
END_UGDIM_NAMESPACE
...
...
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