Skip to content
Snippets Groups Projects
Commit 5479d000 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

resolve last split blocks

parent 4740e0be
No related branches found
No related tags found
1 merge request!2188Add some code layout checks (no more than one include, using, fwd decl block)
......@@ -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)
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment