Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
integration-cfmesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Community
integration-cfmesh
Commits
d894273a
Commit
d894273a
authored
Nov 22, 2017
by
Mark Olesen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: downgrade a few methods to compile with 1706
parent
0c893278
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
6 deletions
+20
-6
meshLibrary/utilities/helperFunctions/helperFunctionsGeometryQueriesI.H
...ilities/helperFunctions/helperFunctionsGeometryQueriesI.H
+2
-2
meshLibrary/utilities/helperFunctions/helperFunctionsPar.C
meshLibrary/utilities/helperFunctions/helperFunctionsPar.C
+14
-2
utilities/scaleMesh/scaleMesh.C
utilities/scaleMesh/scaleMesh.C
+2
-1
utilities/scaleSurfaceMesh/scaleSurfaceMesh.C
utilities/scaleSurfaceMesh/scaleSurfaceMesh.C
+2
-1
No files found.
meshLibrary/utilities/helperFunctions/helperFunctionsGeometryQueriesI.H
View file @
d894273a
...
...
@@ -1916,8 +1916,8 @@ inline label numberOfEdgeGroups
for
(
const
label
edgei
:
containedEdges
)
{
const
edge
&
e
=
edges
[
edgei
];
const
point
&
sp
=
points
[
e
.
firs
t
()];
const
point
&
ep
=
points
[
e
.
seco
nd
()];
const
point
&
sp
=
points
[
e
.
star
t
()];
const
point
&
ep
=
points
[
e
.
e
nd
()];
const
point
p
=
nearestPointOnTheEdgeExact
(
sp
,
ep
,
centre
);
if
(
magSqr
(
p
-
centre
)
<
rangeSq
)
...
...
meshLibrary/utilities/helperFunctions/helperFunctionsPar.C
View file @
d894273a
...
...
@@ -276,7 +276,13 @@ void exchangeMap
}
// receive data from processors with greater ids
forAllConstReverseIters
(
m
,
riter
)
// forAllConstReverseIters(m, riter)
for
(
auto
riter
=
m
.
rbegin
();
riter
!=
m
.
rend
();
++
riter
)
{
if
(
riter
->
first
<=
Pstream
::
myProcNo
())
{
...
...
@@ -297,7 +303,13 @@ void exchangeMap
}
// send data to processors with lower ids
forAllConstReverseIters
(
m
,
riter
)
// forAllConstReverseIters(m, riter)
for
(
auto
riter
=
m
.
rbegin
();
riter
!=
m
.
rend
();
++
riter
)
{
if
(
riter
->
first
>=
Pstream
::
myProcNo
())
{
...
...
utilities/scaleMesh/scaleMesh.C
View file @
d894273a
...
...
@@ -42,7 +42,8 @@ int main(int argc, char *argv[])
# include "setRootCase.H"
# include "createTime.H"
const
scalar
scalingFactor
(
readScalar
(
args
[
1
]));
// const scalar scalingFactor(readScalar(args[1]));
const
scalar
scalingFactor
(
args
.
argRead
<
scalar
>
(
1
));
Info
<<
"Scaling mesh vertices by a factor "
<<
scalingFactor
<<
endl
;
...
...
utilities/scaleSurfaceMesh/scaleSurfaceMesh.C
View file @
d894273a
...
...
@@ -49,7 +49,8 @@ int main(int argc, char *argv[])
const
fileName
inFileName
(
args
[
1
]);
const
fileName
outFileName
(
args
[
2
]);
const
scalar
scalingFactor
(
readScalar
(
args
[
3
]));
// const scalar scalingFactor(readScalar(args[3]));
const
scalar
scalingFactor
(
args
.
argRead
<
scalar
>
(
3
));
// read the surface mesh
triSurf
surface
(
inFileName
);
...
...
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