Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
MostafaMollaali
dynamic
Commits
c9abfb8c
Commit
c9abfb8c
authored
7 years ago
by
Dmitry Yu. Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[PL] Fix warning: Cast number of processes to int.
parent
3c9b386a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ProcessLib/Output.cpp
+6
-4
6 additions, 4 deletions
ProcessLib/Output.cpp
with
6 additions
and
4 deletions
ProcessLib/Output.cpp
+
6
−
4
View file @
c9abfb8c
...
...
@@ -182,8 +182,9 @@ void Output::doOutputAlways(Process const& process,
+
".vtu"
;
std
::
string
const
output_file_path
=
BaseLib
::
joinPaths
(
_output_directory
,
output_file_name
);
const
bool
make_out
=
!
(
process_id
<
_single_process_data
.
size
()
-
1
&&
!
(
process
.
isMonolithicSchemeUsed
()));
const
bool
make_out
=
!
(
process_id
<
static_cast
<
int
>
(
_single_process_data
.
size
())
-
1
&&
!
(
process
.
isMonolithicSchemeUsed
()));
if
(
make_out
)
DBUG
(
"output to %s"
,
output_file_path
.
c_str
());
...
...
@@ -261,8 +262,9 @@ void Output::doOutputNonlinearIteration(Process const& process,
+
".vtu"
;
std
::
string
const
output_file_path
=
BaseLib
::
joinPaths
(
_output_directory
,
output_file_name
);
DBUG
(
"output iteration results to %s"
,
output_file_path
.
c_str
());
const
bool
make_out
=
!
(
process_id
<
_single_process_data
.
size
()
-
1
&&
!
(
process
.
isMonolithicSchemeUsed
()));
const
bool
make_out
=
!
(
process_id
<
static_cast
<
int
>
(
_single_process_data
.
size
())
-
1
&&
!
(
process
.
isMonolithicSchemeUsed
()));
doProcessOutput
(
output_file_path
,
make_out
,
_output_file_compression
,
_output_file_data_mode
,
t
,
x
,
process
.
getMesh
(),
process
.
getDOFTable
(),
process
.
getProcessVariables
(),
...
...
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