Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Nektar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Ronald
Nektar
Commits
84e76975
Commit
84e76975
authored
Apr 27, 2016
by
Douglas Serson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use flooe to make code clearer
parent
900ac603
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
library/SolverUtils/Filters/FilterHistoryPoints.cpp
library/SolverUtils/Filters/FilterHistoryPoints.cpp
+4
-4
No files found.
library/SolverUtils/Filters/FilterHistoryPoints.cpp
View file @
84e76975
...
...
@@ -172,8 +172,8 @@ void FilterHistoryPoints::v_Initialise(
int
plane
;
if
(
m_outputPlane
==
-
1
)
{
//
Convert to int to pick the previous plane closer to
the point
plane
=
(
gloCoord
[
2
]
*
nplanes
)
/
lhom
;
//
Pick plane immediately before
the point
plane
=
floor
((
gloCoord
[
2
]
*
nplanes
)
/
lhom
)
;
}
else
{
...
...
@@ -185,8 +185,8 @@ void FilterHistoryPoints::v_Initialise(
Z
=
(
Z
+
1
)
*
lhom
/
2
;
if
(
fabs
(
gloCoord
[
2
]
-
Z
)
>
NekConstants
::
kVertexTheSameDouble
)
{
cout
<<
"Reseting History point from "
<<
gloCoord
[
2
]
<<
" to "
<<
Z
<<
endl
;
cout
<<
"Reseting History point from
z =
"
<<
gloCoord
[
2
]
<<
" to
z =
"
<<
Z
<<
endl
;
}
gloCoord
[
2
]
=
Z
;
planeIDs
.
push_back
(
plane
);
...
...
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