Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
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
mantidproject
mantid
Commits
5d7bd2f4
Commit
5d7bd2f4
authored
5 years ago
by
Ayomide Bamidele
Browse files
Options
Downloads
Patches
Plain Diff
Removed temporay placeholder in inHollowCylinder. Refs: #25595
parent
b4a54c16
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
Framework/Geometry/src/RandomPoint.cpp
+1
-2
1 addition, 2 deletions
Framework/Geometry/src/RandomPoint.cpp
with
1 addition
and
2 deletions
Framework/Geometry/src/RandomPoint.cpp
+
1
−
2
View file @
5d7bd2f4
...
...
@@ -105,9 +105,8 @@ Kernel::V3D inHollowCylinder(const detail::ShapeInfo &shapeInfo,
const
double
c2
=
geometry
.
radius
*
geometry
.
radius
;
const
double
r
{
std
::
sqrt
(
c1
+
(
c2
-
c1
)
*
r2
)};
const
double
z
{
geometry
.
height
*
r3
};
const
Kernel
::
V3D
basis1
{
geometry
.
axis
};
const
Kernel
::
V3D
alongAxis
{
geometry
.
axis
*
z
};
auto
localPoint
=
localPointInCylinder
(
bas
is
1
,
alongAxis
,
polar
,
r
);
auto
localPoint
=
localPointInCylinder
(
geometry
.
ax
is
,
alongAxis
,
polar
,
r
);
return
localPoint
+
geometry
.
centreOfBottomBase
;
}
...
...
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