-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix of the sign convention of rotation matrices #172
base: develop
Are you sure you want to change the base?
Changes from all commits
50c1f88
904c0e1
447a15b
a912bc5
5004581
322549c
4d24c93
cc1db38
a81ffaf
720373f
1ef271e
3a7f73c
7e1583a
b8e54b5
8e69431
25acde2
b53eea1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ jobs: | |
name: documentation | ||
path: documentation | ||
- name: Deploy | ||
uses: JamesIves/[email protected].4 | ||
uses: JamesIves/[email protected].9 | ||
with: | ||
branch: gh-pages # The branch the action should deploy to. | ||
folder: documentation # The folder the action should deploy. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
name: cpp-linter | ||
name: Run all linters | ||
|
||
on: | ||
on: | ||
pull_request: | ||
branches: [master] | ||
|
||
branches: [ master, develop ] | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
cpp-linter: | ||
linter: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.LINTER_PAT }} | ||
|
||
- name: Install clang-format | ||
if: inputs.apply_clang_format | ||
|
@@ -28,6 +30,12 @@ jobs: | |
run: | ||
echo "branchName=$GITHUB_BASE_REF" >> $GITHUB_OUTPUT | ||
|
||
- name: Format CMake files | ||
id: cmake-format | ||
uses: PuneetMatharu/[email protected] | ||
with: | ||
args: --config-files .cmake-format.py --in-place | ||
|
||
- name: Define base git diff args | ||
id: git-diff-args | ||
run: | | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,6 +99,10 @@ class Class_Potential_N2HDM : public Class_Potential_Origin | |
double NDus = 0, NDL6 = 0, NDL7 = 0, NDL8 = 0, NDvs = 0, NDTS = 0; | ||
double DTCharged = 0; | ||
|
||
int pos_G0, pos_G1, pos_G2, pos_H1, pos_H2; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using the sufixes G1 = Gp instead? |
||
int pos_h1, pos_h2, pos_h3, pos_A; | ||
int pos_h_SM, pos_h_l, pos_h_H; | ||
|
||
void ReadAndSet(const std::string &linestr, | ||
std::vector<double> &par) override; | ||
std::vector<std::string> addLegendCT() const override; | ||
|
@@ -125,6 +129,7 @@ class Class_Potential_N2HDM : public Class_Potential_Origin | |
void set_CT_Pot_Par(const std::vector<double> &par) override; | ||
void write() const override; | ||
|
||
void AdjustRotationMatrix() override; | ||
void TripleHiggsCouplings() override; | ||
std::vector<double> calc_CT() const override; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,6 +90,9 @@ class Class_Potential_R2HDM : public Class_Potential_Origin | |
int Type = 0; | ||
double CTempC1 = 0, CTempC2 = 0, CTempCS = 0; | ||
|
||
int pos_G1, pos_G2, pos_H1, pos_H2, pos_G0, pos_A, pos_H, pos_h; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using the sufixes G1 = Gp instead? |
||
int pos_h_SM, pos_h_H; | ||
|
||
void ReadAndSet(const std::string &linestr, | ||
std::vector<double> &par) override; | ||
std::vector<std::string> addLegendCT() const override; | ||
|
@@ -112,6 +115,7 @@ class Class_Potential_R2HDM : public Class_Potential_Origin | |
void set_CT_Pot_Par(const std::vector<double> &par) override; | ||
void write() const override; | ||
|
||
void AdjustRotationMatrix() override; | ||
void TripleHiggsCouplings() override; | ||
std::vector<double> calc_CT() const override; | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the sufixes
1
as+
and2
as-
might be a bit confusing, particular whenh1
exists.Could we use
G1 = Gp
G2 = Gm
H1 = Hp
H2 = Hm
instead?