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
Wiki
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Giacomo Castiglioni
Nektar
Commits
84e76975
Commit
84e76975
authored
8 years ago
by
Douglas Serson
Browse files
Options
Downloads
Patches
Plain Diff
Use flooe to make code clearer
parent
900ac603
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
library/SolverUtils/Filters/FilterHistoryPoints.cpp
+4
-4
4 additions, 4 deletions
library/SolverUtils/Filters/FilterHistoryPoints.cpp
with
4 additions
and
4 deletions
library/SolverUtils/Filters/FilterHistoryPoints.cpp
+
4
−
4
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
);
...
...
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