Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Community
adiosFoam
Commits
642cf1e1
Commit
642cf1e1
authored
Jul 23, 2020
by
Mark Olesen
Browse files
STYLE: endsWith() -> ends_with() for OpenFOAM-1912
- a silent change, but taken in advance of C++20
parent
da201350
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/adiosFoam/controls/adiosRegionControl.C
View file @
642cf1e1
...
...
@@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2016-20
19
OpenCFD Ltd.
Copyright (C) 2016-20
20
OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -191,7 +191,7 @@ bool Foam::adiosFoam::regionControl::acceptFieldObject
(
autoWrite
()
&&
obj
.
writeOpt
()
==
IOobject
::
AUTO_WRITE
)
||
requestedFields_
.
match
(
name
)
)
&&
!
name
.
ends
W
ith
(
"_0"
)
// ignore _0 fields
&&
!
name
.
ends
_w
ith
(
"_0"
)
// ignore _0 fields
);
}
...
...
src/adiosFoam/read/adiosReader.C
View file @
642cf1e1
...
...
@@ -168,7 +168,7 @@ void Foam::adiosFoam::adiosReader::scan(bool verbose)
{
const
fileName
varName
(
iter
->
first
);
if
(
varName
.
ends
W
ith
(
"_0"
))
if
(
varName
.
ends
_w
ith
(
"_0"
))
{
// The "_0" fields are addressed separately
continue
;
...
...
src/adiosFoam/read/adiosReaderCloud.C
View file @
642cf1e1
...
...
@@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2016-20
19
OpenCFD Ltd.
Copyright (C) 2016-20
20
OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -69,7 +69,7 @@ Foam::adiosFoam::adiosReader::getCloud
{
const
fileName
varName
(
iter
->
first
);
if
(
varName
.
ends
W
ith
(
"_0"
))
if
(
varName
.
ends
_w
ith
(
"_0"
))
{
// The "_0" fields are addressed separately
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment