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
740b2faf
Commit
740b2faf
authored
Sep 08, 2021
by
Grégoire Uhlrich
Browse files
Fixed orderExternalFermions options
parent
c244dd03
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
90 additions
and
25 deletions
+90
-25
marty/include/modelBuilder.h
marty/include/modelBuilder.h
+76
-12
marty/include/mrtOptions.h
marty/include/mrtOptions.h
+1
-1
marty/src/model.cpp
marty/src/model.cpp
+1
-0
marty/src/modelBuilder.cpp
marty/src/modelBuilder.cpp
+12
-12
No files found.
marty/include/modelBuilder.h
View file @
740b2faf
...
...
@@ -200,35 +200,99 @@ public:
);
void
rotateFields
(
std
::
initializer_list
<
std
::
string
>
fields
,
std
::
initializer_list
<
std
::
string
>
newFields
,
std
::
vector
<
std
::
string
>
const
&
fields
,
std
::
vector
<
std
::
string
>
const
&
newFields
,
std
::
vector
<
std
::
vector
<
csl
::
Expr
>>
const
&
rotation
,
bool
diagonalizeMasses
=
false
,
int
nMassLessFields
=
0
);
void
rotateFields
(
std
::
initializer_list
<
std
::
string
>
fields1
,
std
::
initializer_list
<
std
::
string
>
newFields1
,
std
::
vector
<
std
::
string
>
const
&
fields1
,
std
::
vector
<
std
::
string
>
const
&
newFields1
,
std
::
vector
<
std
::
vector
<
csl
::
Expr
>>
const
&
rotation1
,
std
::
initializer_list
<
std
::
string
>
fields2
,
std
::
initializer_list
<
std
::
string
>
newFields2
,
std
::
vector
<
std
::
string
>
const
&
fields2
,
std
::
vector
<
std
::
string
>
const
&
newFields2
,
std
::
vector
<
std
::
vector
<
csl
::
Expr
>>
const
&
rotation2
,
int
nMassLessFields
=
0
);
void
rotateFields
(
std
::
initializer_list
<
std
::
string
>
fields
,
bool
diagonalizeMasses
=
false
,
int
nMassLessFields
=
0
std
::
initializer_list
<
std
::
string
>
const
&
fields
,
std
::
initializer_list
<
std
::
string
>
const
&
newFields
,
std
::
vector
<
std
::
vector
<
csl
::
Expr
>>
const
&
rotation
,
bool
diagonalizeMasses
=
false
,
int
nMassLessFields
=
0
)
{
return
rotateFields
(
std
::
vector
<
std
::
string
>
(
fields
),
std
::
vector
<
std
::
string
>
(
newFields
),
rotation
,
diagonalizeMasses
,
nMassLessFields
);
}
void
rotateFields
(
std
::
initializer_list
<
std
::
string
>
const
&
fields1
,
std
::
initializer_list
<
std
::
string
>
const
&
newFields1
,
std
::
vector
<
std
::
vector
<
csl
::
Expr
>>
const
&
rotation1
,
std
::
initializer_list
<
std
::
string
>
const
&
fields2
,
std
::
initializer_list
<
std
::
string
>
const
&
newFields2
,
std
::
vector
<
std
::
vector
<
csl
::
Expr
>>
const
&
rotation2
,
int
nMassLessFields
=
0
)
{
return
rotateFields
(
std
::
vector
<
std
::
string
>
(
fields1
),
std
::
vector
<
std
::
string
>
(
newFields1
),
rotation1
,
std
::
vector
<
std
::
string
>
(
fields2
),
std
::
vector
<
std
::
string
>
(
newFields2
),
rotation2
,
nMassLessFields
);
}
void
rotateFields
(
std
::
vector
<
std
::
string
>
const
&
fields
,
bool
diagonalizeMasses
=
false
,
int
nMassLessFields
=
0
);
void
birotateFields
(
std
::
initializer_list
<
std
::
string
>
fields1
,
std
::
initializer_list
<
std
::
string
>
fields2
,
int
nMassLessFields
=
0
std
::
vector
<
std
::
string
>
const
&
fields1
,
std
::
vector
<
std
::
string
>
const
&
fields2
,
int
nMassLessFields
=
0
);
void
rotateFields
(
std
::
initializer_list
<
std
::
string
>
const
&
fields
,
bool
diagonalizeMasses
=
false
,
int
nMassLessFields
=
0
)
{
return
rotateFields
(
std
::
vector
<
std
::
string
>
(
fields
),
diagonalizeMasses
,
nMassLessFields
);
}
void
birotateFields
(
std
::
initializer_list
<
std
::
string
>
const
&
fields1
,
std
::
initializer_list
<
std
::
string
>
const
&
fields2
,
int
nMassLessFields
=
0
)
{
return
birotateFields
(
std
::
vector
<
std
::
string
>
(
fields1
),
std
::
vector
<
std
::
string
>
(
fields2
),
nMassLessFields
);
}
void
applyUnitaryCondition
(
std
::
vector
<
std
::
vector
<
csl
::
Expr
>>
const
&
unitary
);
...
...
marty/include/mrtOptions.h
View file @
740b2faf
...
...
@@ -39,7 +39,7 @@ namespace mty::option {
///////////////////////////////////////////////////
inline
bool
simplifyAmplitudes
=
true
;
inline
bool
orderExternalFermions
=
tru
e
;
inline
bool
orderExternalFermions
=
fals
e
;
inline
bool
discardLowerOrders
=
true
;
inline
bool
evaluateFermionTraces
=
true
;
inline
bool
excludeTadpoles
=
true
;
...
...
marty/src/model.cpp
View file @
740b2faf
...
...
@@ -537,6 +537,7 @@ WilsonSet Model::computeWilsonCoefficients(
FeynOptions
feynOptions
)
{
feynOptions
.
orderExternalFermions
=
true
;
if
(
order
==
TreeLevel
)
{
return
computeWilsonCoefficients_default
(
order
,
insertions
,
feynOptions
...
...
marty/src/modelBuilder.cpp
View file @
740b2faf
...
...
@@ -735,8 +735,8 @@ void ModelBuilder::birotateFields(
}
void
ModelBuilder
::
rotateFields
(
std
::
initializer_list
<
std
::
string
>
fields
,
std
::
initializer_list
<
std
::
string
>
newFields
,
std
::
vector
<
std
::
string
>
const
&
fields
,
std
::
vector
<
std
::
string
>
const
&
newFields
,
std
::
vector
<
std
::
vector
<
csl
::
Expr
>>
const
&
rotation
,
bool
diagonalizeMasses
,
int
nMassLessFields
...
...
@@ -763,11 +763,11 @@ void ModelBuilder::rotateFields(
}
void
ModelBuilder
::
rotateFields
(
std
::
initializer_list
<
std
::
string
>
fields1
,
std
::
initializer_list
<
std
::
string
>
newFields1
,
std
::
vector
<
std
::
string
>
const
&
fields1
,
std
::
vector
<
std
::
string
>
const
&
newFields1
,
std
::
vector
<
std
::
vector
<
csl
::
Expr
>>
const
&
rotation1
,
std
::
initializer_list
<
std
::
string
>
fields2
,
std
::
initializer_list
<
std
::
string
>
newFields2
,
std
::
vector
<
std
::
string
>
const
&
fields2
,
std
::
vector
<
std
::
string
>
const
&
newFields2
,
std
::
vector
<
std
::
vector
<
csl
::
Expr
>>
const
&
rotation2
,
int
nMassLessFields
)
...
...
@@ -798,9 +798,9 @@ void ModelBuilder::rotateFields(
}
void
ModelBuilder
::
rotateFields
(
std
::
initializer_list
<
std
::
string
>
fields
,
bool
diagonalizeMasses
,
int
nMassLessFields
std
::
vector
<
std
::
string
>
const
&
fields
,
bool
diagonalizeMasses
,
int
nMassLessFields
)
{
std
::
vector
<
mty
::
Particle
>
fields_p
;
...
...
@@ -812,9 +812,9 @@ void ModelBuilder::rotateFields(
}
void
ModelBuilder
::
birotateFields
(
std
::
initializer_list
<
std
::
string
>
fields1
,
std
::
initializer_list
<
std
::
string
>
fields2
,
int
nMassLessFields
std
::
vector
<
std
::
string
>
const
&
fields1
,
std
::
vector
<
std
::
string
>
const
&
fields2
,
int
nMassLessFields
)
{
std
::
vector
<
mty
::
Particle
>
fields1_p
;
...
...
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