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
5479d000
Commit
5479d000
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
resolve last split blocks
parent
4740e0be
No related branches found
No related tags found
1 merge request
!2188
Add some code layout checks (no more than one include, using, fwd decl block)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Resample/Slice/SliceStack.h
+5
-5
5 additions, 5 deletions
Resample/Slice/SliceStack.h
Resample/Specular/ComputeFluxMagnetic.cpp
+0
-2
0 additions, 2 deletions
Resample/Specular/ComputeFluxMagnetic.cpp
with
5 additions
and
7 deletions
Resample/Slice/SliceStack.h
+
5
−
5
View file @
5479d000
...
...
@@ -19,12 +19,8 @@
#define BORNAGAIN_RESAMPLE_SLICE_SLICESTACK_H
#include
"Resample/Slice/Slice.h"
// TODO move back to cpp file
#include
<heinz/Vectors3D.h>
// - either get rid of m_roughness_model
// - or of inheritance from std::vector
#include
"Sample/Multilayer/RoughnessModels.h"
#include
<heinz/Vectors3D.h>
#include
<vector>
class
LayerRoughness
;
...
...
@@ -33,6 +29,10 @@ class Slice;
//! A stack of Slice%s.
// TODO
// - either get rid of m_roughness_model
// - or of inheritance from std::vector
class
SliceStack
:
public
std
::
vector
<
Slice
>
{
public:
SliceStack
(
const
RoughnessModel
roughness_model
)
...
...
This diff is collapsed.
Click to expand it.
Resample/Specular/ComputeFluxMagnetic.cpp
+
0
−
2
View file @
5479d000
...
...
@@ -33,8 +33,6 @@ constexpr double magnetic_prefactor = PhysConsts::m_n * PhysConsts::g_factor_n *
/
PhysConsts
::
h_bar
/
PhysConsts
::
h_bar
/
4.
/
pi
*
1e-18
;
using
std
::
numbers
::
pi
;
//! Returns refraction matrix blocks s_{ab}^+-.
//! See PhysRef, chapter "Polarized", section "InterTR_ace with tanh profile".
std
::
pair
<
SpinMatrix
,
SpinMatrix
>
refractionMatrixBlocksTanh
(
const
MatrixFlux
&
TR_a
,
...
...
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