Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
cc6b0eaa
Commit
cc6b0eaa
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
rm unused RectangularPixel::createAxis
parent
68e63d1d
No related branches found
No related tags found
1 merge request
!2006
restore coverage tool, and remove some unused code
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Base/Pixel/RectangularPixel.cpp
+0
-10
0 additions, 10 deletions
Base/Pixel/RectangularPixel.cpp
Base/Pixel/RectangularPixel.h
+0
-2
0 additions, 2 deletions
Base/Pixel/RectangularPixel.h
with
0 additions
and
12 deletions
Base/Pixel/RectangularPixel.cpp
+
0
−
10
View file @
cc6b0eaa
...
...
@@ -75,13 +75,3 @@ double RectangularPixel::calculateSolidAngle() const
double
length
=
position
.
mag
();
return
std
::
abs
(
position
.
dot
(
m_normal
))
/
std
::
pow
(
length
,
3
);
}
Scale
*
RectangularPixel
::
createAxis
(
size_t
n
)
const
{
const
auto
k00
=
getPosition
(
0.0
,
0.0
);
const
auto
k01
=
getPosition
(
0.0
,
1.0
);
const
double
alpha_f_min
=
(
pi
/
2
)
-
R3Util
::
theta
(
k00
);
const
double
alpha_f_max
=
(
pi
/
2
)
-
R3Util
::
theta
(
k01
);
return
newEquiDivision
(
"alpha_f (rad)"
,
alpha_f_min
,
alpha_f_max
,
n
);
}
This diff is collapsed.
Click to expand it.
Base/Pixel/RectangularPixel.h
+
0
−
2
View file @
cc6b0eaa
...
...
@@ -35,8 +35,6 @@ public:
double
integrationFactor
(
double
x
,
double
y
)
const
override
;
double
solidAngle
()
const
override
;
Scale
*
createAxis
(
size_t
n
)
const
;
private:
R3
normalizeLength
(
R3
direction
,
double
length
)
const
;
double
calculateSolidAngle
()
const
;
...
...
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