Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Nektar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
Leilei Ji
Nektar
Commits
6a38d4b4
Commit
6a38d4b4
authored
1 year ago
by
Jacques Xing
Committed by
Dave Moxey
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Tidy-up parallel-in-time processing in FieldConvert
parent
8b289f7c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
utilities/FieldConvert/FieldConvert.cpp
+5
-12
5 additions, 12 deletions
utilities/FieldConvert/FieldConvert.cpp
with
6 additions
and
12 deletions
CHANGELOG.md
+
1
−
0
View file @
6a38d4b4
...
...
@@ -77,6 +77,7 @@ v5.3.0
-
Fix segmentation fault when no time integration method specified for unsteady problem (!1526)
-
Set adjacent elements for m_bndcondExpansions for both CG and DG (!1491)
-
Fix inconsisten treatment of 1D and 2D/3D expansions in DisContField::v_GetBoundaryToElmtMap (!1491)
-
Tidy-up parallel-in-time processing in FieldConvert (!1529)
**Python**
-
Add wrappers for Interpreter and Equation classes (!1329)
...
...
This diff is collapsed.
Click to expand it.
utilities/FieldConvert/FieldConvert.cpp
+
5
−
12
View file @
6a38d4b4
...
...
@@ -270,20 +270,13 @@ int main(int argc, char *argv[])
{
fs
::
path
ftype
=
inpath
.
extension
();
string
filename
=
inpath
.
stem
().
string
();
size_t
start
=
0U
;
size_t
end
=
filename
.
find
(
"_"
);
while
(
end
!=
std
::
string
::
npos
)
{
start
=
end
+
1
;
end
=
filename
.
find
(
"_"
,
start
);
}
size_t
start
=
filename
.
find_last_of
(
"_"
)
+
1
;
int
index
=
atoi
(
filename
.
substr
(
start
,
filename
.
size
()).
c_str
());
outpath
+=
fs
::
path
(
"/"
);
outpath
+=
fs
::
path
(
filename
.
substr
(
0
,
start
));
outpath
+=
fs
::
path
(
boost
::
lexical_cast
<
std
::
string
>
(
index
+
f
->
m_comm
->
GetRank
()
%
vm
[
"npt"
].
as
<
int
>
()));
outpath
+=
ftype
;
outpath
/=
filename
.
substr
(
0
,
start
)
+
std
::
to_string
(
index
+
f
->
m_comm
->
GetRank
()
%
vm
[
"npt"
].
as
<
int
>
())
+
ftype
.
string
();
io
=
outpath
.
string
();
}
}
...
...
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