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
54e9371f
Commit
54e9371f
authored
2 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
rank() moved up
parent
28f4ec01
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1557
common member m_axes moved to ICoordSyst (#71)
Pipeline
#94915
passed
2 years ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Device/Coord/CoordSystem1D.h
+0
-3
0 additions, 3 deletions
Device/Coord/CoordSystem1D.h
Device/Coord/CoordSystem2D.h
+0
-2
0 additions, 2 deletions
Device/Coord/CoordSystem2D.h
Device/Coord/ICoordSystem.h
+1
-1
1 addition, 1 deletion
Device/Coord/ICoordSystem.h
with
1 addition
and
6 deletions
Device/Coord/CoordSystem1D.h
+
0
−
3
View file @
54e9371f
...
@@ -41,9 +41,6 @@ public:
...
@@ -41,9 +41,6 @@ public:
double
calculateMax
(
size_t
i_axis
,
Coords
units
)
const
override
;
double
calculateMax
(
size_t
i_axis
,
Coords
units
)
const
override
;
protected:
protected:
//! Returns dimensionality of converted canvas.
size_t
rank
()
const
override
{
return
1u
;
}
//! Returns translating functional (rads --> output units)
//! Returns translating functional (rads --> output units)
virtual
std
::
function
<
double
(
double
)
>
getTraslatorTo
(
Coords
units
)
const
=
0
;
virtual
std
::
function
<
double
(
double
)
>
getTraslatorTo
(
Coords
units
)
const
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Device/Coord/CoordSystem2D.h
+
0
−
2
View file @
54e9371f
...
@@ -40,8 +40,6 @@ public:
...
@@ -40,8 +40,6 @@ public:
IAxis
*
createConvertedAxis
(
size_t
i_axis
,
Coords
units
)
const
override
;
IAxis
*
createConvertedAxis
(
size_t
i_axis
,
Coords
units
)
const
override
;
size_t
rank
()
const
override
{
return
m_axes
.
size
();
}
protected:
protected:
CoordSystem2D
(
const
CoordSystem2D
&
other
);
CoordSystem2D
(
const
CoordSystem2D
&
other
);
...
...
This diff is collapsed.
Click to expand it.
Device/Coord/ICoordSystem.h
+
1
−
1
View file @
54e9371f
...
@@ -43,7 +43,7 @@ public:
...
@@ -43,7 +43,7 @@ public:
ICoordSystem
*
clone
()
const
override
=
0
;
ICoordSystem
*
clone
()
const
override
=
0
;
virtual
size_t
rank
()
const
=
0
;
size_t
rank
()
const
{
return
m_axes
.
size
();
}
virtual
double
calculateMin
(
size_t
i_axis
,
Coords
units
)
const
=
0
;
virtual
double
calculateMin
(
size_t
i_axis
,
Coords
units
)
const
=
0
;
virtual
double
calculateMax
(
size_t
i_axis
,
Coords
units
)
const
=
0
;
virtual
double
calculateMax
(
size_t
i_axis
,
Coords
units
)
const
=
0
;
...
...
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