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
29fafce4
Commit
29fafce4
authored
4 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
prefer IdentityRotation over RotationZ(0)
parent
8bc8e6fe
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Sample/Scattering/Rotations.cpp
+2
-2
2 additions, 2 deletions
Sample/Scattering/Rotations.cpp
auto/Wrap/libBornAgainBase_wrap.cpp
+35249
-0
35249 additions, 0 deletions
auto/Wrap/libBornAgainBase_wrap.cpp
auto/Wrap/libBornAgainBase_wrap.h
+18
-0
18 additions, 0 deletions
auto/Wrap/libBornAgainBase_wrap.h
with
35269 additions
and
2 deletions
Sample/Scattering/Rotations.cpp
+
2
−
2
View file @
29fafce4
...
...
@@ -52,7 +52,7 @@ IRotation* IRotation::createRotation(const Transform3D& transform)
IRotation
*
IRotation
::
createIdentity
()
{
return
new
Rotation
Z
(
0.0
)
;
return
new
Identity
Rotation
;
}
kvector_t
IRotation
::
transformed
(
const
kvector_t
&
v
)
const
...
...
@@ -91,7 +91,7 @@ IdentityRotation::IdentityRotation()
Transform3D
IdentityRotation
::
getTransform3D
()
const
{
return
Transform3D
::
createIdentity
()
;
return
{}
;
}
// ************************************************************************** //
...
...
This diff is collapsed.
Click to expand it.
auto/Wrap/libBornAgainBase_wrap.cpp
+
35249
−
0
View file @
29fafce4
This diff is collapsed.
Click to expand it.
auto/Wrap/libBornAgainBase_wrap.h
+
18
−
0
View file @
29fafce4
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIG_libBornAgainBase_WRAP_H_
#define SWIG_libBornAgainBase_WRAP_H_
#include
<map>
#include
<string>
#endif
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