Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
marty
marty-public
Commits
295cbe14
Commit
295cbe14
authored
Sep 22, 2021
by
Grégoire Uhlrich
Browse files
Corrected gaugino-interaction last time
parent
5ae568a1
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
528 additions
and
526 deletions
+528
-526
csl/src/indicial.cpp
csl/src/indicial.cpp
+3
-1
marty/include/MSSM.h
marty/include/MSSM.h
+1
-0
marty/models/include/pmssm_lem.h
marty/models/include/pmssm_lem.h
+0
-1
marty/models/src/pmssm_content.cpp
marty/models/src/pmssm_content.cpp
+0
-1
marty/models/src/pmssm_interaction.cpp
marty/models/src/pmssm_interaction.cpp
+495
-515
marty/src/MSSM.cpp
marty/src/MSSM.cpp
+25
-4
marty/src/NMFV.cpp
marty/src/NMFV.cpp
+2
-2
marty/src/PMSSM.cpp
marty/src/PMSSM.cpp
+2
-2
No files found.
csl/src/indicial.cpp
View file @
295cbe14
...
...
@@ -478,7 +478,9 @@ vector<vector<int>> ContractionChain::getPermutations(
if
(
IsIndicialTensor
(
contractedTensors
[
i
])
and
IsIndicialTensor
(
other
.
contractedTensors
[
j
])
and
contractedTensors
[
i
]
->
getParent
()
==
other
.
contractedTensors
[
j
]
->
getParent
())
{
==
other
.
contractedTensors
[
j
]
->
getParent
()
and
contractedTensors
[
i
]
->
isComplexConjugate
()
==
other
.
contractedTensors
[
j
]
->
isComplexConjugate
())
{
for
(
const
auto
&
perm
:
permutations
)
{
auto
pos
=
find
(
perm
.
begin
(),
perm
.
end
(),
...
...
marty/include/MSSM.h
View file @
295cbe14
...
...
@@ -341,6 +341,7 @@ protected:
void
diagonalizeNeutralinos
();
void
diagonalizeCharginos
();
void
promoteMajoranas
();
static
void
sortSfermions
(
std
::
vector
<
mty
::
Particle
>
&
parts
);
void
diagonalizeSFermions
();
void
renameSFermions
();
void
generateDiracFermions
();
...
...
marty/models/include/pmssm_lem.h
View file @
295cbe14
...
...
@@ -208,7 +208,6 @@ protected:
void
initInteractions159
();
void
initInteractions160
();
void
initInteractions161
();
void
initInteractions162
();
void
initSpectrum
();
protected:
...
...
marty/models/src/pmssm_content.cpp
View file @
295cbe14
...
...
@@ -919,7 +919,6 @@ void PMSSM_LEM::initInteractions()
initInteractions159
();
initInteractions160
();
initInteractions161
();
initInteractions162
();
}
void
PMSSM_LEM
::
initSpectrum
()
...
...
marty/models/src/pmssm_interaction.cpp
View file @
295cbe14
This source diff could not be displayed because it is too large. You can
view the blob
instead.
marty/src/MSSM.cpp
View file @
295cbe14
...
...
@@ -404,7 +404,7 @@ void MSSM_Model::initGauginoInteractions(
csl
::
Expr
scal
=
(
isLeft
)
?
cc
(
scalar
(
s_index
))
:
scalar
(
s_index
);
csl
::
Expr
ferm
=
(
isLeft
)
?
fermion
(
f_index
)
:
cc
(
fermion
(
f_index
));
csl
::
Expr
connexion
=
(
isLeft
)
?
dirac4
.
C_matrix
({
a
,
b
})
:
dirac4
.
getDelta
()({
a
,
b
});
dirac4
.
C_matrix
({
a
,
b
})
:
-
dirac4
.
getDelta
()({
a
,
b
});
addLagrangianTerm
(
csl
::
DeepRefreshed
(
csl
::
prod_s
({
-
csl
::
sqrt_s
(
2
),
coupling
,
T
({
A
,
i
,
j
}),
...
...
@@ -441,8 +441,6 @@ void MSSM_Model::initU1GauginoInteractions(
bool
isLeft
=
(
fermion
->
getChirality
()
==
Chirality
::
Left
);
csl
::
Expr
scal
=
(
isLeft
)
?
cc
(
scalar
(
s_index
))
:
scalar
(
s_index
);
csl
::
Expr
ferm
=
(
isLeft
)
?
fermion
(
f_index
)
:
cc
(
fermion
(
f_index
));
// Minus sign here if right-handed because the charge changes sign,
// this sign is not present for non-abelian couplings T^A
csl
::
Expr
connexion
=
(
isLeft
)
?
dirac4
.
C_matrix
({
a
,
b
})
:
-
dirac4
.
getDelta
()({
a
,
b
});
addLagrangianTerm
(
...
...
@@ -1414,6 +1412,28 @@ void MSSM_Model::promoteMajoranas()
promoteToMajorana
(
"N_4"
);
}
void
MSSM_Model
::
sortSfermions
(
std
::
vector
<
mty
::
Particle
>
&
parts
)
{
const
static
std
::
string
order
=
"uct dsb emt"
;
auto
comp
=
[
&
](
Particle
const
&
A
,
Particle
const
&
B
)
{
auto
nameA
=
A
->
getName
();
auto
nameB
=
B
->
getName
();
if
(
nameA
.
size
()
<
2
)
return
true
;
if
(
nameB
.
size
()
<
2
)
return
true
;
bool
A_left
=
nameA
.
find
(
'L'
)
!=
std
::
string
::
npos
;
bool
B_left
=
nameB
.
find
(
'L'
)
!=
std
::
string
::
npos
;
if
(
A_left
&
!
B_left
)
return
true
;
if
(
!
A_left
&
B_left
)
return
false
;
size_t
A_order
=
order
.
find
(
nameA
[
1
]);
size_t
B_order
=
order
.
find
(
nameB
[
1
]);
if
(
A_order
!=
std
::
string
::
npos
&&
B_order
!=
std
::
string
::
npos
)
{
return
A_order
<
B_order
;
}
return
nameA
<
nameB
;
};
std
::
sort
(
parts
.
begin
(),
parts
.
end
(),
comp
);
}
void
MSSM_Model
::
diagonalizeSFermions
()
{
bool
diagonalizedSymbolically
;
...
...
@@ -1427,12 +1447,13 @@ void MSSM_Model::diagonalizeSFermions()
{
return
A
.
particles
.
size
()
>
B
.
particles
.
size
();
});
for
(
const
auto
&
block
:
massBlocks
)
{
for
(
auto
&
block
:
massBlocks
)
{
mty
::
QuantumField
firstField
(
L
.
mass
[
block
.
positions
[
0
]]
->
getContent
()[
0
]);
if
(
firstField
.
getSpinDimension
()
!=
1
)
continue
;
if
(
block
.
particles
.
size
()
>=
2
)
{
sortSfermions
(
block
.
particles
);
std
::
cout
<<
"Diagonalizing block of size "
<<
block
.
particles
.
size
()
<<
" : "
<<
std
::
endl
;
for
(
const
auto
&
part
:
block
.
particles
)
...
...
marty/src/NMFV.cpp
View file @
295cbe14
...
...
@@ -29,8 +29,8 @@ NMFV_Model::NMFV_Model(
std
::
cout
<<
"Getting to low energy Lagrangian ..."
<<
std
::
endl
;
getToLowEnergyLagrangian
();
std
::
cout
<<
"Checking Hermiticity ..."
<<
std
::
endl
;
checkHermiticity
();
//
std::cout << "Checking Hermiticity ..." << std::endl;
//
checkHermiticity();
}
void
NMFV_Model
::
getToLowEnergyLagrangian
()
...
...
marty/src/PMSSM.cpp
View file @
295cbe14
...
...
@@ -53,8 +53,8 @@ PMSSM_Model::PMSSM_Model(
approximateInputMatrices
();
std
::
cout
<<
"Getting to low energy Lagrangian ..."
<<
std
::
endl
;
getToLowEnergyLagrangian
();
std
::
cout
<<
"Checking Hermiticity ..."
<<
std
::
endl
;
checkHermiticity
();
//
std::cout << "Checking Hermiticity ..." << std::endl;
//
checkHermiticity();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment