Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 633b7f8
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 19 20:15:24 2024 +0200

    Bump JamesIves/github-pages-deploy-action from 4.6.3 to 4.6.4 (#167)

    Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.3 to 4.6.4.
    - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
    - [Commits](JamesIves/github-pages-deploy-action@v4.6.3...v4.6.4)

    ---
    updated-dependencies:
    - dependency-name: JamesIves/github-pages-deploy-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 54fe4b4
Author: Philipp Basler <[email protected]>
Date:   Wed Sep 4 16:57:29 2024 +0200

    Create Doxygen documentation on PR as artifact (#164)

    * Split doxygen in two jobs

    * try test upload

    * fix name

    * add checkout action

    * only upload on push to master

commit 7302d69
Author: Lisa Biermann <[email protected]>
Date:   Wed Sep 4 15:12:54 2024 +0200

    Fix numerical threshold for ReduceVEV and corrected output (#162)

    * Implemented Dilogarithm/Spencer's funtion and unit tests for it.

    * Espinosa-Konstandin - Example A

    * Espinosa-Konstandin - Example B

    * Correct typo

    * Fix wrong sign in numerical derivative of analytical solution when d2Vdl < 0 and alpha = 3 (O(4)-symmetric solution)

    * Fix recursive step that assumed l0 = 0.

    * Protect against infinite recursion in "BounceActionInt::ExactSolutionLin()"

    * Espinosa-Konstandin - Example D

    * Include "gsl_sf_expint" in tests

    * Espinosa-Konstandin - Example C

    * Espinosa-Konstandin - Example E

    * Espinosa-Konstandin - Example 2D

    * adjust output column names

    * correct output text Pf -> I(T)

    * add numerical threshold for ReduceVEV

    * add functional include

    * write false vacuum fraction to logginglevel

    * Version bump

    * Apply suggestions from code review

    * restore file

    ---------

    Co-authored-by: João Viana <[email protected]>
    Co-authored-by: Philipp Basler <[email protected]>

commit 2b49797
Author: Lisa Biermann <[email protected]>
Date:   Fri Aug 2 08:55:02 2024 +0200

    Match convention with ClassPotentialSM.cpp (#163)

    * match convention with ClassPotentialSM.cpp

    * Add doxygen documentation for SM

commit d7af21d
Author: João Viana <[email protected]>
Date:   Wed Jul 31 06:59:21 2024 +0100

    Fix logic calc temps (#160)

    * Fix logic

    * Version bump

    ---------

    Co-authored-by: Philipp Basler <[email protected]>

commit 76a1c88
Author: João Viana <[email protected]>
Date:   Wed Jul 31 06:13:55 2024 +0100

    Fix tunneling path standalone (#153)

    * Fix bug, missing "&"

    * Version bump

    * Convert loop to const auto &BAInt

    * Another version bump

    * Apply suggestions from code review

    ---------

    Co-authored-by: Philipp Basler <[email protected]>

commit d4e7f55
Author: João Viana <[email protected]>
Date:   Wed Jul 31 05:39:14 2024 +0100

    Add options Build.py (#158)

    * Add options to Build.py

    * Force CMake to refresh cache. Previously if you tried to recompile with different options nothing would happen. Needs cmake v3.24

    * Version bump

    * Options syntax can be "-o [option1] -o [option2]" or "-o [option1] [option2]"

    * Removed debugging line.

commit 23f8808
Author: Philipp Basler <[email protected]>
Date:   Wed Jul 17 09:40:48 2024 +0200

    Rephrase contact mode (#156)

commit 493a240
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Jul 11 20:54:43 2024 +0200

    Bump JamesIves/github-pages-deploy-action from 4.6.1 to 4.6.3 (#152)

    Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.1 to 4.6.3.
    - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
    - [Commits](JamesIves/github-pages-deploy-action@v4.6.1...v4.6.3)

    ---
    updated-dependencies:
    - dependency-name: JamesIves/github-pages-deploy-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit cd5569b
Author: João Viana <[email protected]>
Date:   Sat Jun 29 16:42:31 2024 +0100

    Fix logic on CalcTempAtFalseVacFraction() (#149)

    * Fix logic on "CalcTempAtFalseVacFraction()"

    * Bump version

    * Fix "magic number"

    * Increase version one more since there was a fix before the PR being approved.

    * Another version bump

commit ee97823
Author: Lisa Biermann <[email protected]>
Date:   Thu Jun 27 15:18:15 2024 +0200

    Fix transition history for multi-step transitions (#151)

    * reset completion temperature tmp storage

    * Bump version number

commit 96c6df2
Author: Lisa Biermann <[email protected]>
Date:   Wed Jun 26 12:07:53 2024 +0200

    Fix typo in SM.py (#150)

    * fix typo in SM.py

    * Bump version number

    ---------

    Co-authored-by: João Viana <[email protected]>

commit 4b17e8a
Author: João Viana <[email protected]>
Date:   Thu May 23 22:29:11 2024 +0100

    Add functional.h to utility.h (#147)

    * Add functional.h to utility.h

    * Automatically applied linter

    * Update minor version

    ---------

    Co-authored-by: Viana Joao <[email protected]>
    Co-authored-by: GitHub Actions Bot <>

commit 88b1e64
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon May 20 16:14:40 2024 +0200

    Bump JamesIves/github-pages-deploy-action from 4.6.0 to 4.6.1 (#146)

    Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.0 to 4.6.1.
    - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
    - [Commits](JamesIves/github-pages-deploy-action@v4.6.0...v4.6.1)

    ---
    updated-dependencies:
    - dependency-name: JamesIves/github-pages-deploy-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit d1d5687
Author: João Viana <[email protected]>
Date:   Sun May 19 08:31:56 2024 +0100

    Added testing for the O(4) symmetric potentials. (#144)

    * Implemented Dilogarithm/Spencer's funtion and unit tests for it.

    * Espinosa-Konstandin - Example A

    * Espinosa-Konstandin - Example B

    * Correct typo

    * Fix wrong sign in numerical derivative of analytical solution when d2Vdl < 0 and alpha = 3 (O(4)-symmetric solution)

    * Fix recursive step that assumed l0 = 0.

    * Protect against infinite recursion in "BounceActionInt::ExactSolutionLin()"

    * Espinosa-Konstandin - Example D

    * Include "gsl_sf_expint" in tests

    * Espinosa-Konstandin - Example C

    * Espinosa-Konstandin - Example E

    * Espinosa-Konstandin - Example 2D

    * Espinosa-Konstandin - Example 3D

    * Delete test.txt (#142)

    * Conan use default profile (#140)

    * Use conan's default profile is no profile matches

    * Check if default profile already exists.

    * Windows support

    * Force "compiler.cppstd" to gnu17/17

    * Add additional c++ version check

    ---------

    Co-authored-by: Philipp Basler <[email protected]>
    Co-authored-by: Philipp Basler <[email protected]>

    * Add GSL to CmakeLists.txt of GenericTests

    * Add GSL to CMakeLists.txt of utility

    * Changed "Li2()", instead of sum starting with sum=1e-100 and k = 1, it starts at sum = x and k = 2.

    * Impose threshold instead of relying on numerical precision errors for checks.

    * Update minor version

    ---------

    Co-authored-by: Philipp Basler <[email protected]>
    Co-authored-by: Philipp Basler <[email protected]>

commit 558aa79
Author: João Viana <[email protected]>
Date:   Thu May 16 23:24:06 2024 +0100

    Conan: Different profiles for different clang versions. (#145)

    * Conan: Different profiles for different clang versions.

    * "get_gcc_version" -> "get_compiler_version"

    ---------

    Co-authored-by: Philipp Basler <[email protected]>

commit 486fc37
Author: João Viana <[email protected]>
Date:   Fri May 10 09:03:16 2024 +0100

    Conan use default profile (#140)

    * Use conan's default profile is no profile matches

    * Check if default profile already exists.

    * Windows support

    * Force "compiler.cppstd" to gnu17/17

    * Add additional c++ version check

    ---------

    Co-authored-by: Philipp Basler <[email protected]>
    Co-authored-by: Philipp Basler <[email protected]>

commit 5bad00e
Author: Philipp Basler <[email protected]>
Date:   Tue May 7 19:42:02 2024 +0200

    Delete test.txt (#142)

commit 81aca2e
Author: Philipp Basler <[email protected]>
Date:   Tue May 7 00:22:26 2024 +0200

    Add --build-missing to doxygen workflow

commit de18540
Author: Philipp Basler <[email protected]>
Date:   Tue May 7 00:13:29 2024 +0200

    Fix doxygen start page (#141)

    * Fix doxygen start page

    * add build missing for codecov

    * Add --build-missing to codeql

    ---------

    Co-authored-by: Philipp Basler <[email protected]>

commit 3980d76
Author: Lisa Biermann <[email protected]>
Date:   Wed May 1 22:49:26 2024 +0200

    add v3 to readme and add manual (#139)

commit 857306f
Author: Lisa Biermann <[email protected]>
Date:   Tue Apr 30 21:33:00 2024 +0200

    Update BSMPT to version 3 (#127)

    * initial commit of BSMPT v3

    * Automated commit of cmake-format changes.

    * move constants to SMparam.h

    * more const correctness, pragma once and repair sh

    * Partially extract NegativeBosonSpline.h into a cpp.

    * Automated commit of cmake-format changes.

    * enum on action status

    * Removed saving the path deformation iterations

    * Removed "to_format" function

    * Updated information about "h2OmSens()"

    * Convert "WarpPath()" to const function

    * "Potencial" -> "Potential"

    * Remove unnecessary TODO

    * assert -> throw on vector addition

    * Fixed additional asserts -> throw

    * Update include/BSMPT/utility/utility.h

    Co-authored-by: Philipp Basler <[email protected]>

    * try to fix M_PI for windows

    * add numeric library

    * Added unit tests to dot product and matrix multiplication

    * rename slice points to start/end

    * Fix windows compilation

    * Remove legacy code of negative J_boson

    * Remove default constructor of "BounceActionInt"

    * trackPhase -> TrackPhase

    * Removed "experimental/filesystem"

    * Move include inside ifndef

    * add algorithm to utility.h

    * Fix windows tests when potential and grad where not passed by reference.

    * Removed unused variable "count" in minimum_tracer.cpp

    * Remove unused function "ClearFolder()"

    * Added GW spectrum to unit tests.

    * Remove unused function "GradientIncreases()"

    * Add "/standalone/" to the codecov ignore list.

    * Tests for EW symmetry restoration

    * Fix naming convention to "PascalCase". Fixed some "[i]" -> ".at[i]"

    * Removed "nHiggsGauge"

    * Use "enum class" in action_calculation

    * Removed coment.

    * Remove comment about hessians

    * Const correctness in "split()"

    * Moved constants into "ISMConstants"

    * Remove TODO and converted into issue

    * Removed documentation from .cpp files

    * Converted "std::endl" -> "\n"

    * Removed useless variable

    * Improve names of some variables, added support for T = 0 bounce solver and added unit tests for it.

    * Moved some documentation and definitions to the headers

    * Remove TODO on finite differences

    * Add some files to COVERAGE_EXCLUDES

    * Const correctness in "TrackPhase()"

    * Remove TODO in UnderShoot/Overshoot

    * Removed unused function from "action_calculation.cpp"

    * Function to get status of logger. If statement to see if it is worth calculate the output of logger

    * Remove legacy comments from "const_velocity_spline.cpp" and use analytical version of the derivative instead.

    * Added test for J_1 and increases accuracy required.

    * Const correctness on "Phase" class constructors.

    * Const correctness on "LocateMinimum()"

    * Const correctness on "ConvertToNonFlatDirections()"

    * Added unit tests for the SM. Thanks @lisabiermann

    * -1 acts as a flag outside class "BounceActionInt"

    * Added tests for the different vwalls.

    * Removed unused function in class "BounceActionInt()"

    * Added test the case of a low number of solutions.

    * Remove unused function

    * Add tests for Mode 0 [BP3] / Mode 1 [SM] and Mode 2 [SM] of the phase tracker.

    * Update "example_point_SM" in tests

    * Remove unused function

    * Left Logger on "Test-gw.cpp" by mistake

    * Remove TODO on "ExactSolutionLin()"

    * Split error and catch if path is backwards on the bounce solver.

    * Add tests when initial scan fails

    * Print action when it is calculated successfully.

    * Const correctness of class "BounceSolution" and added "NumberOfInitialScanTemperatures"

    * Prevent situation where solution without overshoot/undershot was accepted.

    * Improved case of a single bounce solution in the whole temperature range.

    * Modified test to also check "GWScanTowardsLowAction" and "GWScanTowardsHighAction"

    * Remove "_USE_MATH_DEFINES" in favour of "gsl/gsl_math.h" for M_PI

    * Try local linter workflow

    * Adjust ref in checkout

    * Add git configuration for workflow

    * Automatically applied linter

    * Remove exit 1

    * Restored copyright to "GenerateTestCompares/R2HDM.h"

    * Const correctness in "GWInitialScan()" and "CalculateActionAt()"

    * Remove placeholder for the manual's arxiv ref.

    * Moved "Transpose()" into "utility.cpp". Removed "cvspline" namespace. Added documentation to class "cvspline"

    * Added tests for "Transpose()" and "L2NormVector()" functions.

    * Const correctness on class "cvspline"

    * " " -> sep in function "vec_to_string()"

    * Convert error codes to enum

    * use std::optional<double> instead of setting double to NANs

    * Add "#include <optional>" not needed on Mac

    * Const correctness on "NablaNumerical()" and "HessianNumerical()"

    * Const correctness in "RK5_step()"

    * Const correctness in "CalculateKineticTermAction()" and "CalculatePotentialTermAction()"

    * Remove class "BounceSolution" default constructor.

    * Const correctness on class "BounceSolution" constructors

    * Additional const correctness on "BounceSolution" constructors.

    * Remove unused function "ExactSolutionCons()".

    * Const correctness in "NormalForce()" and "NormalForceBernstein()"

    * Const correctness in "AuxFunctionDev()"

    * Remove TODO in "BackwardsPropagation()"

    * Const correctness of "MinimumTracer" constructor

    * Consistence initial value for all temps.

    * Comment on the small constant added to the "SmallestEigenvalue"

    * Correct typo on argument of "NablaNumerical()"

    * Remove some static declaration on class "BounceActionInt"

    * Moved "tk::spline" and "asciiplotter" into seperate folders.

    * Automated commit of cmake-format changes.

    * CMake changes

    * Automated commit of cmake-format changes.

    * Fix closing )

    * remove static derivatives (#133)

    * replace static derivatives through free function

    * avoid copy in referenced function

    * trigger workflow

    * use correct header

    * fix tests by keeping both Hessian methods

    * Use only one version of "NumericalHessian()" and remove "dim" from "NablaNumerical()" and "NumericalHessian()"

    * Increase diagonal shift of the Hessian in "LocateMinimum()"

    * HessianDiagonalShift : 1e-2 -> 1e-3

    * Update .github/workflows/test.yml

    ---------

    Co-authored-by: Philipp Basler <[email protected]>
    Co-authored-by: João Viana <[email protected]>

    * Automated commit of cmake-format changes.

    * Added commit message to tk::spline and aciiplotter README

    * Clean up ".gitignore"

    * "--logginglevel::complete" behaves like other logginglevels

    * Fix typo from PTPlot papers. Corrected in LISA documents

    * Remove "_USE_MATH_DEFINES" from tk::spline

    * Removed commented out code.

    * Restore FileCopyrightText file

    * Rewrite and correct bug on "BackwardsPropagation()"

    * Add missing gsl math include for windows

    * Remove changes in spline.cpp

    * Include _USE_MATH_DEFINES for spline

    * Automated commit of cmake-format changes.

    * Use simplified formula for diagonal elements

    * Update .github/workflows/test.yml

    * Formated the "HessianNumerical()" diagonal part

    * Bug found slighly chaned some test values.

    * Increse SNR maximum error to 5% on the unit tests

    * Remove "NoSignFlip()" as we have better functions

    * Ignore example

    * New testing. Might take a long time

    * Run tests

    * More tests and removed part of function never used

    * Add test to check enum to string conversion

    * Automatically applied linter

    * Update .github/workflows/test.yml

    * Removed commented out code.

    * Class "BounceActionInt" default constructor had an additional ";"

    * add bracket for readability

    * Automatically applied linter

    ---------

    Co-authored-by: lisabiermann <[email protected]>
    Co-authored-by: João Viana <[email protected]>
    Co-authored-by: vollous <[email protected]>
    Co-authored-by: Philipp Basler <[email protected]>
    Co-authored-by: vollous <[email protected]>
    Co-authored-by: GitHub Actions Bot <>
    Co-authored-by: Philipp Basler <[email protected]>
    Co-authored-by: phbasler <[email protected]>

commit 51985f6
Author: Philipp Basler <[email protected]>
Date:   Sat Apr 27 19:41:32 2024 +0200

    Add check if the desired profile exist and add Setup argument for custom profile (#135)

    Co-authored-by: Philipp Basler <[email protected]>

commit 829317f
Author: Philipp Basler <[email protected]>
Date:   Sat Apr 27 18:52:10 2024 +0200

    Fix ubuntu 20.04 build with gcc9 (#128)

    * Add arm profiles

    * Add check depending on arch

    * Bump benchmark version

    * Fix "aarch64" -> "arm64" on conan Setup.py

    * Fix RPi support

    * Add  	ubuntu-20.04 to test.yml

    * Update everything to c++17

    * change naming convention of profiles and adjust build script

    * Rename profiles

    * Get gcc version from command line

    * add gcc 9 profiles

    * Add gcc 13 profiles

    * add build missing to workflow and build script

    * run conan profile detect

    * use arm preset on mac

    ---------

    Co-authored-by: Philipp Basler <[email protected]>
    Co-authored-by: João Viana <[email protected]>

commit 54de6bd
Author: Philipp Basler <[email protected]>
Date:   Sat Apr 27 02:24:50 2024 +0200

    Fix conan on arm (#125)

    * Add arm profiles

    * Add check depending on arch

    * Bump benchmark version

    * Fix "aarch64" -> "arm64" on conan Setup.py

    * Fix RPi support

    ---------

    Co-authored-by: Philipp Basler <[email protected]>
    Co-authored-by: João Viana <[email protected]>

commit a7682be
Author: Philipp Basler <[email protected]>
Date:   Thu Apr 25 08:49:44 2024 +0200

    Add Joao to CodeOwner (#131)

commit ddbaed4
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Apr 22 22:10:02 2024 +0200

    Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.0 (#126)

    Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.5.0 to 4.6.0.
    - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
    - [Commits](JamesIves/github-pages-deploy-action@v4.5.0...v4.6.0)

    ---
    updated-dependencies:
    - dependency-name: JamesIves/github-pages-deploy-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit bc1a936
Author: Philipp Basler <[email protected]>
Date:   Thu Apr 18 10:36:11 2024 +0200

    Use conan 2 for setting up (#124)

    * add basic setup with conan

    * basic setup

    * Add linux profiles

    * Fix profiles

    * add options to conan file

    * trigger conan workflow

    * only have toolchain in method

    * fix typo in found

    * run tests

    * disable coverage by  default

    * try matrix setup

    * add other systems

    * add profile

    * add mac

    * adjust compiler version

    * adjust profile

    * fix name

    * adjust doxygen

    * Adjust codeql

    * add option to script

    * remove unnecessary build

    * install lcov through conan

    * Automated commit of cmake-format changes.

    * set options to empty list

    * use elvis operator

    * change name of matrix job

    * adjust python notes

    * fix indent

    * add concurrency group

    * Trigger on Setup change

    * Fix option

    * Fix missing s

    * Install conan in wotkflow

    * Update codecov.yml

    * fix coverage exclusion

    * Automated commit of cmake-format changes.

    * add conan part to readme

    * add codecov token

    ---------

    Co-authored-by: Philipp Basler <[email protected]>
    Co-authored-by: phbasler <[email protected]>

commit 0956b01
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sun Apr 7 20:22:00 2024 +0200

    Bump codecov/codecov-action from 3 to 4 (#123)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@v3...v4)

    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit db78bf5
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Dec 21 04:59:48 2023 +0000

    Bump actions/upload-artifact from 3 to 4 (#121)

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v3...v4)

    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit a579f34
Merge: e83dc91 56f31ca
Author: Philipp Basler <[email protected]>
Date:   Thu Dec 21 05:50:04 2023 +0100

    Merge pull request #122 from phbasler/dependabot/github_actions/github/codeql-action-3

    Bump github/codeql-action from 2 to 3

commit 56f31ca
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 18 11:36:28 2023 +0000

    Bump github/codeql-action from 2 to 3

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@v2...v3)

    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit e83dc91
Merge: 39a3abc 7b57ed2
Author: Philipp Basler <[email protected]>
Date:   Mon Dec 11 13:32:38 2023 +0100

    Merge pull request #120 from phbasler/dependabot/github_actions/actions/setup-python-5

    Bump actions/setup-python from 4 to 5

commit 7b57ed2
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 11 11:06:05 2023 +0000

    Bump actions/setup-python from 4 to 5

    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@v4...v5)

    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 39a3abc
Merge: 302e044 9123313
Author: Philipp Basler <[email protected]>
Date:   Mon Dec 4 12:25:58 2023 +0100

    Merge pull request #119 from phbasler/dependabot/github_actions/JamesIves/github-pages-deploy-action-4.5.0

    Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0

commit 9123313
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 4 11:13:44 2023 +0000

    Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0

    Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.4.3 to 4.5.0.
    - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
    - [Commits](JamesIves/github-pages-deploy-action@v4.4.3...v4.5.0)

    ---
    updated-dependencies:
    - dependency-name: JamesIves/github-pages-deploy-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 302e044
Merge: cf3eaad 042eb15
Author: Philipp Basler <[email protected]>
Date:   Mon Oct 9 14:02:13 2023 +0200

    Merge pull request #118 from phbasler/dependabot/github_actions/stefanzweifel/git-auto-commit-action-5

    Bump stefanzweifel/git-auto-commit-action from 4 to 5

commit 042eb15
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 9 11:18:31 2023 +0000

    Bump stefanzweifel/git-auto-commit-action from 4 to 5

    Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4 to 5.
    - [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
    - [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
    - [Commits](stefanzweifel/git-auto-commit-action@v4...v5)

    ---
    updated-dependencies:
    - dependency-name: stefanzweifel/git-auto-commit-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit cf3eaad
Merge: cc9bcb1 f09c14f
Author: Philipp Basler <[email protected]>
Date:   Tue Sep 12 22:24:29 2023 +0200

    Merge pull request #113 from phbasler/dependabot/github_actions/JamesIves/github-pages-deploy-action-4.4.3

    Bump JamesIves/github-pages-deploy-action from 4.4.2 to 4.4.3

commit f09c14f
Merge: 71e48d3 cc9bcb1
Author: Philipp Basler <[email protected]>
Date:   Tue Sep 12 22:05:18 2023 +0200

    Merge branch 'master' into dependabot/github_actions/JamesIves/github-pages-deploy-action-4.4.3

commit cc9bcb1
Merge: 39aef2f 0f03dc1
Author: Philipp Basler <[email protected]>
Date:   Tue Sep 12 09:48:24 2023 +0200

    Merge pull request #114 from phbasler/dependabot/github_actions/PuneetMatharu/cmake-format-lint-action-1.0.4

    Bump PuneetMatharu/cmake-format-lint-action from 1.0.2 to 1.0.4

commit 71e48d3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Sep 12 07:44:05 2023 +0000

    Bump JamesIves/github-pages-deploy-action from 4.4.2 to 4.4.3

    Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.4.2 to 4.4.3.
    - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
    - [Commits](JamesIves/github-pages-deploy-action@v4.4.2...v4.4.3)

    ---
    updated-dependencies:
    - dependency-name: JamesIves/github-pages-deploy-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 0f03dc1
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Sep 12 07:35:05 2023 +0000

    Bump PuneetMatharu/cmake-format-lint-action from 1.0.2 to 1.0.4

    Bumps [PuneetMatharu/cmake-format-lint-action](https://github.com/puneetmatharu/cmake-format-lint-action) from 1.0.2 to 1.0.4.
    - [Release notes](https://github.com/puneetmatharu/cmake-format-lint-action/releases)
    - [Commits](puneetmatharu/cmake-format-lint-action@v1.0.2...v1.0.4)

    ---
    updated-dependencies:
    - dependency-name: PuneetMatharu/cmake-format-lint-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 39aef2f
Merge: 4918d23 32b0c12
Author: Philipp Basler <[email protected]>
Date:   Tue Sep 12 09:33:36 2023 +0200

    Merge pull request #115 from phbasler/dependabot/github_actions/SimenB/github-actions-cpu-cores-2

    Bump SimenB/github-actions-cpu-cores from 1 to 2

commit 32b0c12
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Sep 12 07:15:26 2023 +0000

    Bump SimenB/github-actions-cpu-cores from 1 to 2

    Bumps [SimenB/github-actions-cpu-cores](https://github.com/simenb/github-actions-cpu-cores) from 1 to 2.
    - [Release notes](https://github.com/simenb/github-actions-cpu-cores/releases)
    - [Commits](SimenB/github-actions-cpu-cores@v1...v2)

    ---
    updated-dependencies:
    - dependency-name: SimenB/github-actions-cpu-cores
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 4918d23
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Sep 12 07:14:33 2023 +0000

    Bump actions/checkout from 3 to 4 (#116)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v3...v4)

    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit ede9755
Merge: 2d4e463 abb9645
Author: Philipp Basler <[email protected]>
Date:   Tue Sep 12 08:53:46 2023 +0200

    Merge pull request #117 from phbasler/phbasler-patch-1

    Remove refresh env

commit abb9645
Author: Philipp Basler <[email protected]>
Date:   Tue Sep 12 08:28:15 2023 +0200

    Remove refresh env

commit 2d4e463
Merge: f908312 45d2fac
Author: Philipp Basler <[email protected]>
Date:   Mon May 29 14:42:35 2023 +0200

    Merge pull request #112 from phbasler/dependabot/github_actions/JamesIves/github-pages-deploy-action-4.4.2

    Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.2

commit 45d2fac
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon May 29 11:58:58 2023 +0000

    Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.2

    Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.4.1 to 4.4.2.
    - [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
    - [Commits](JamesIves/github-pages-deploy-action@v4.4.1...v4.4.2)

    ---
    updated-dependencies:
    - dependency-name: JamesIves/github-pages-deploy-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit f908312
Merge: cc87ed0 d030da0
Author: Philipp Basler <[email protected]>
Date:   Mon Apr 10 14:20:47 2023 +0200

    Merge pull request #109 from phbasler/dependabot/github_actions/PuneetMatharu/cmake-format-lint-action-1.0.2

    Bump PuneetMatharu/cmake-format-lint-action from 1.0.1 to 1.0.2

commit d030da0
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Apr 10 11:58:46 2023 +0000

    Bump PuneetMatharu/cmake-format-lint-action from 1.0.1 to 1.0.2

    Bumps [PuneetMatharu/cmake-format-lint-action](https://github.com/PuneetMatharu/cmake-format-lint-action) from 1.0.1 to 1.0.2.
    - [Release notes](https://github.com/PuneetMatharu/cmake-format-lint-action/releases)
    - [Commits](puneetmatharu/cmake-format-lint-action@v1.0.1...v1.0.2)

    ---
    updated-dependencies:
    - dependency-name: PuneetMatharu/cmake-format-lint-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit cc87ed0
Merge: e926240 0e65e59
Author: Philipp Basler <[email protected]>
Date:   Thu Apr 6 19:20:34 2023 +0200

    Merge pull request #108 from phbasler/codeowners

    Create CODEOWNERS

commit 0e65e59
Author: Philipp Basler <[email protected]>
Date:   Thu Apr 6 18:51:09 2023 +0200

    Create CODEOWNERS

commit e926240
Author: Philipp Basler <[email protected]>
Date:   Thu Apr 6 17:08:52 2023 +0200

    Feature/sm as input and add unit test for Debye calculations (#107)

    * Add struct containing all SM constants

    * Increase version to 2.6

    * Adjust all models to get constants from member

    * Get everything to compile with API adjustment

    * Adjust all tests to new api

    * Add test to check for SM debye correction

    * Add tests to docu and add description for new test

    * Add overloads and deprecated message to old api

    * Set self coupling in test to zero to only have yt^2 contribution

    * Add comments

    * Update Test-origin.cpp

commit dfaeb8e
Merge: 234781f 6b1b5f3
Author: Philipp Basler <[email protected]>
Date:   Fri Mar 3 10:30:40 2023 +0100

    Merge pull request #105 from phbasler/Catch332

    Bump catch to 3.3.2

commit 6b1b5f3
Author: Philipp Basler <[email protected]>
Date:   Tue Feb 28 10:39:39 2023 +0100

    fix conan to 1.x

commit fa17a48
Author: Philipp Basler <[email protected]>
Date:   Tue Feb 28 09:16:05 2023 +0100

    Bump catch to 3.3.2

commit 234781f
Author: Philipp Basler <[email protected]>
Date:   Fri Feb 17 15:50:36 2023 +0100

    increase version in readme

commit 1202f90
Author: Lisa Biermann <[email protected]>
Date:   Fri Feb 17 15:47:42 2023 +0100

    Deal with negative TanBeta in R2HDM (#104)

    * set sign of SinBeta same as TanBeta

    * add unit test for sign of sin/cos of beta in r2hdm

    * add second point with negative TanBeta

    * split trig sign-test into four tests

    * increase version number

commit 47caaff
Merge: 955f979 bfaaff2
Author: Philipp Basler <[email protected]>
Date:   Tue Jan 10 22:55:13 2023 +0100

    Merge pull request #102 from phbasler/SecurityFixes

    Security fixes

commit bfaaff2
Author: Philipp Basler <[email protected]>
Date:   Tue Jan 10 20:15:15 2023 +0100

    Fix ql

commit 99ab153
Author: Philipp Basler <[email protected]>
Date:   Tue Jan 10 19:51:15 2023 +0100

    Fix high alerts

commit dc43c2f
Author: Philipp Basler <[email protected]>
Date:   Tue Jan 10 19:32:33 2023 +0100

    Disable CMAES build as codeql also scans the cmaes files

commit 955f979
Merge: 33428ee 9241e98
Author: Philipp Basler <[email protected]>
Date:   Mon Jan 9 18:42:37 2023 +0100

    Merge pull request #101 from phbasler/testcodeql

    Fix codeql build

commit 9241e98
Author: Philipp Basler <[email protected]>
Date:   Mon Jan 9 17:34:01 2023 +0100

    Update codeql.yml

commit 8536003
Author: Philipp Basler <[email protected]>
Date:   Mon Jan 9 05:43:01 2023 +0100

    Add config file and exclude cmake-format.py

commit 608be5b
Author: Philipp Basler <[email protected]>
Date:   Mon Jan 9 05:30:34 2023 +0100

    Update codeql.yml

commit 5fcba05
Author: Philipp Basler <[email protected]>
Date:   Mon Jan 9 05:18:10 2023 +0100

    Add install packages

commit 33428ee
Merge: f24ba97 7243e62
Author: Philipp Basler <[email protected]>
Date:   Mon Jan 9 05:09:42 2023 +0100

    Merge pull request #100 from lgtm-migrator/codeql

    Add CodeQL workflow for GitHub code scanning

commit 7243e62
Author: LGTM Migrator <[email protected]>
Date:   Thu Dec 8 17:07:42 2022 +0000

    Add CodeQL workflow for GitHub code scanning

commit f24ba97
Author: Philipp Basler <[email protected]>
Date:   Sat Nov 5 10:56:25 2022 +0100

    Rework of the CLI argument parser and add the option to define inputs through a JSON file (#93)

    * Add first parser attempt

    * Use argparser

    * Convert all execs to use new argparser

    * Add json option and example files for all parameters

    * Include json in dependencies

    * Add json to readme

    * Bump version

    * Bump version

    * Fix missing json check and add install to workflows

    * Run ubuntu on 22.04

    * Add unit tests and documentation for parser

    * Fix unit test

    * Use template function to convert value in types

    * Fix windows uint problem and get catch2 through conan

    * Unify spelling

    * Unify spelling of arguments

    * Update cpp-linter.yml

    * Update cpp-linter.yml

    * apply cmake-format

    * Automated commit of cmake-format changes.

    * logger docu

    * Apply suggestions from code review

    Co-authored-by: Lisa Biermann <[email protected]>

    * Remove duplicate cmakedefs

    * Fix missing install on mac

    * Only print help output once

    * Update CMakeLists.txt

    Co-authored-by: Lisa Biermann <[email protected]>

    * Fix openmp missing on

    * opt openmp

    * link to openmp target

    Co-authored-by: phbasler <[email protected]>
    Co-authored-by: Lisa Biermann <[email protected]>

commit 2822628
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 17 20:14:33 2022 +0200

    Bump JamesIves/github-pages-deploy-action from 4.4.0 to 4.4.1 (#97)

    Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.4.0 to 4.4.1.
    - [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
    - [Commits](JamesIves/github-pages-deploy-action@v4.4.0...v4.4.1)

    ---
    updated-dependencies:
    - dependency-name: JamesIves/github-pages-deploy-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit bc7166e
Author: Philipp Basler <[email protected]>
Date:   Fri Oct 14 21:35:57 2022 +0200

    Add cmake-format and autoformating action (#95)

commit 0032f03
Author: Philipp Basler <[email protected]>
Date:   Thu Oct 13 08:45:41 2022 +0200

    Linter (#96)

    * clang-format

    * Update linter action

    * Apply clang-format to all files and only trigger workflow on PR

    * Add .clang-tidy and apply it

    * Fix typo

    * disable tidy checks

    * Use .clang-tidy file

    * Disable clang-tidy

commit f868f98
Merge: 2b861f5 3469aa6
Author: Philipp Basler <[email protected]>
Date:   Mon Jul 25 20:38:28 2022 +0200

    Merge pull request #92 from phbasler/dependabot/github_actions/JamesIves/github-pages-deploy-action-4.4.0

    Bump JamesIves/github-pages-deploy-action from 4.3.4 to 4.4.0

commit 3469aa6
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 25 11:31:35 2022 +0000

    Bump JamesIves/github-pages-deploy-action from 4.3.4 to 4.4.0

    Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.4 to 4.4.0.
    - [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
    - [Commits](JamesIves/github-pages-deploy-action@v4.3.4...v4.4.0)

    ---
    updated-dependencies:
    - dependency-name: JamesIves/github-pages-deploy-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 2b861f5
Merge: 144663a 3da99ba
Author: Philipp Basler <[email protected]>
Date:   Mon Jul 18 10:12:22 2022 +0200

    Merge pull request #91 from phbasler/develop

    RC 2.4
  • Loading branch information
vollous committed Nov 5, 2024
1 parent 7ede574 commit 9dd29e5
Show file tree
Hide file tree
Showing 237 changed files with 32,928 additions and 7,828 deletions.
46 changes: 46 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
Checks: 'clang-diagnostic-*,clang-analyzer-*,readability-braces-around-statements'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
User: user
CheckOptions:
- key: llvm-else-after-return.WarnOnConditionVariables
value: 'false'
- key: modernize-loop-convert.MinConfidence
value: reasonable
- key: modernize-replace-auto-ptr.IncludeStyle
value: llvm
- key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons
value: 'false'
- key: google-readability-namespace-comments.ShortNamespaceLines
value: '10'
- key: cert-err33-c.CheckedFunctions
value: '::aligned_alloc;::asctime_s;::at_quick_exit;::atexit;::bsearch;::bsearch_s;::btowc;::c16rtomb;::c32rtomb;::calloc;::clock;::cnd_broadcast;::cnd_init;::cnd_signal;::cnd_timedwait;::cnd_wait;::ctime_s;::fclose;::fflush;::fgetc;::fgetpos;::fgets;::fgetwc;::fopen;::fopen_s;::fprintf;::fprintf_s;::fputc;::fputs;::fputwc;::fputws;::fread;::freopen;::freopen_s;::fscanf;::fscanf_s;::fseek;::fsetpos;::ftell;::fwprintf;::fwprintf_s;::fwrite;::fwscanf;::fwscanf_s;::getc;::getchar;::getenv;::getenv_s;::gets_s;::getwc;::getwchar;::gmtime;::gmtime_s;::localtime;::localtime_s;::malloc;::mbrtoc16;::mbrtoc32;::mbsrtowcs;::mbsrtowcs_s;::mbstowcs;::mbstowcs_s;::memchr;::mktime;::mtx_init;::mtx_lock;::mtx_timedlock;::mtx_trylock;::mtx_unlock;::printf_s;::putc;::putwc;::raise;::realloc;::remove;::rename;::scanf;::scanf_s;::setlocale;::setvbuf;::signal;::snprintf;::snprintf_s;::sprintf;::sprintf_s;::sscanf;::sscanf_s;::strchr;::strerror_s;::strftime;::strpbrk;::strrchr;::strstr;::strtod;::strtof;::strtoimax;::strtok;::strtok_s;::strtol;::strtold;::strtoll;::strtoul;::strtoull;::strtoumax;::strxfrm;::swprintf;::swprintf_s;::swscanf;::swscanf_s;::thrd_create;::thrd_detach;::thrd_join;::thrd_sleep;::time;::timespec_get;::tmpfile;::tmpfile_s;::tmpnam;::tmpnam_s;::tss_create;::tss_get;::tss_set;::ungetc;::ungetwc;::vfprintf;::vfprintf_s;::vfscanf;::vfscanf_s;::vfwprintf;::vfwprintf_s;::vfwscanf;::vfwscanf_s;::vprintf_s;::vscanf;::vscanf_s;::vsnprintf;::vsnprintf_s;::vsprintf;::vsprintf_s;::vsscanf;::vsscanf_s;::vswprintf;::vswprintf_s;::vswscanf;::vswscanf_s;::vwprintf_s;::vwscanf;::vwscanf_s;::wcrtomb;::wcschr;::wcsftime;::wcspbrk;::wcsrchr;::wcsrtombs;::wcsrtombs_s;::wcsstr;::wcstod;::wcstof;::wcstoimax;::wcstok;::wcstok_s;::wcstol;::wcstold;::wcstoll;::wcstombs;::wcstombs_s;::wcstoul;::wcstoull;::wcstoumax;::wcsxfrm;::wctob;::wctrans;::wctype;::wmemchr;::wprintf_s;::wscanf;::wscanf_s;'
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
value: 'false'
- key: cert-dcl16-c.NewSuffixes
value: 'L;LL;LU;LLU'
- key: google-readability-braces-around-statements.ShortStatementLines
value: '1'
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: 'true'
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '2'
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-pass-by-value.IncludeStyle
value: llvm
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: llvm-qualified-auto.AddConstToQualified
value: 'false'
- key: modernize-loop-convert.NamingStyle
value: CamelCase
- key: llvm-else-after-return.WarnOnUnfixable
value: 'false'
- key: google-readability-function-size.StatementThreshold
value: '800'
...

241 changes: 241 additions & 0 deletions .cmake-format.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
# ----------------------------------
# Options affecting listfile parsing
# ----------------------------------
with section("parse"):

# Specify structure for custom cmake functions
additional_commands = { 'foo': { 'flags': ['BAR', 'BAZ'],
'kwargs': {'DEPENDS': '*', 'HEADERS': '*', 'SOURCES': '*'}}}

# Override configurations per-command where available
override_spec = {}

# Specify variable tags.
vartags = []

# Specify property tags.
proptags = []

# -----------------------------
# Options affecting formatting.
# -----------------------------
with section("format"):

# Disable formatting entirely, making cmake-format a no-op
disable = False

# How wide to allow formatted cmake files
line_width = 80

# How many spaces to tab for indent
tab_size = 2

# If true, lines are indented using tab characters (utf-8 0x09) instead of
# <tab_size> space characters (utf-8 0x20). In cases where the layout would
# require a fractional tab character, the behavior of the fractional
# indentation is governed by <fractional_tab_policy>
use_tabchars = False

# If <use_tabchars> is True, then the value of this variable indicates how
# fractional indentions are handled during whitespace replacement. If set to
# 'use-space', fractional indentation is left as spaces (utf-8 0x20). If set
# to `round-up` fractional indentation is replaced with a single tab character
# (utf-8 0x09) effectively shifting the column to the next tabstop
fractional_tab_policy = 'use-space'

# If an argument group contains more than this many sub-groups (parg or kwarg
# groups) then force it to a vertical layout.
max_subgroups_hwrap = 2

# If a positional argument group contains more than this many arguments, then
# force it to a vertical layout.
max_pargs_hwrap = 6

# If a cmdline positional group consumes more than this many lines without
# nesting, then invalidate the layout (and nest)
max_rows_cmdline = 2

# If true, separate flow control names from their parentheses with a space
separate_ctrl_name_with_space = False

# If true, separate function names from parentheses with a space
separate_fn_name_with_space = False

# If a statement is wrapped to more than one line, than dangle the closing
# parenthesis on its own line.
dangle_parens = False

# If the trailing parenthesis must be 'dangled' on its on line, then align it
# to this reference: `prefix`: the start of the statement, `prefix-indent`:
# the start of the statement, plus one indentation level, `child`: align to
# the column of the arguments
dangle_align = 'prefix'

# If the statement spelling length (including space and parenthesis) is
# smaller than this amount, then force reject nested layouts.
min_prefix_chars = 4

# If the statement spelling length (including space and parenthesis) is larger
# than the tab width by more than this amount, then force reject un-nested
# layouts.
max_prefix_chars = 10

# If a candidate layout is wrapped horizontally but it exceeds this many
# lines, then reject the layout.
max_lines_hwrap = 2

# What style line endings to use in the output.
line_ending = 'unix'

# Format command names consistently as 'lower' or 'upper' case
command_case = 'canonical'

# Format keywords consistently as 'lower' or 'upper' case
keyword_case = 'unchanged'

# A list of command names which should always be wrapped
always_wrap = []

# If true, the argument lists which are known to be sortable will be sorted
# lexicographicall
enable_sort = True

# If true, the parsers may infer whether or not an argument list is sortable
# (without annotation).
autosort = False

# By default, if cmake-format cannot successfully fit everything into the
# desired linewidth it will apply the last, most agressive attempt that it
# made. If this flag is True, however, cmake-format will print error, exit
# with non-zero status code, and write-out nothing
require_valid_layout = False

# A dictionary mapping layout nodes to a list of wrap decisions. See the
# documentation for more information.
layout_passes = {}

# ------------------------------------------------
# Options affecting comment reflow and formatting.
# ------------------------------------------------
with section("markup"):

# What character to use for bulleted lists
bullet_char = '*'

# What character to use as punctuation after numerals in an enumerated list
enum_char = '.'

# If comment markup is enabled, don't reflow the first comment block in each
# listfile. Use this to preserve formatting of your copyright/license
# statements.
first_comment_is_literal = False

# If comment markup is enabled, don't reflow any comment block which matches
# this (regex) pattern. Default is `None` (disabled).
literal_comment_pattern = None

# Regular expression to match preformat fences in comments default=
# ``r'^\s*([`~]{3}[`~]*)(.*)$'``
fence_pattern = '^\\s*([`~]{3}[`~]*)(.*)$'

# Regular expression to match rulers in comments default=
# ``r'^\s*[^\w\s]{3}.*[^\w\s]{3}$'``
ruler_pattern = '^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$'

# If a comment line matches starts with this pattern then it is explicitly a
# trailing comment for the preceeding argument. Default is '#<'
explicit_trailing_pattern = '#<'

# If a comment line starts with at least this many consecutive hash
# characters, then don't lstrip() them off. This allows for lazy hash rulers
# where the first hash char is not separated by space
hashruler_min_length = 10

# If true, then insert a space between the first hash char and remaining hash
# chars in a hash ruler, and normalize its length to fill the column
canonicalize_hashrulers = True

# enable comment markup parsing and reflow
enable_markup = True

# ----------------------------
# Options affecting the linter
# ----------------------------
with section("lint"):

# a list of lint codes to disable
disabled_codes = []

# regular expression pattern describing valid function names
function_pattern = '[0-9a-z_]+'

# regular expression pattern describing valid macro names
macro_pattern = '[0-9A-Z_]+'

# regular expression pattern describing valid names for variables with global
# (cache) scope
global_var_pattern = '[A-Z][0-9A-Z_]+'

# regular expression pattern describing valid names for variables with global
# scope (but internal semantic)
internal_var_pattern = '_[A-Z][0-9A-Z_]+'

# regular expression pattern describing valid names for variables with local
# scope
local_var_pattern = '[a-z][a-z0-9_]+'

# regular expression pattern describing valid names for privatedirectory
# variables
private_var_pattern = '_[0-9a-z_]+'

# regular expression pattern describing valid names for public directory
# variables
public_var_pattern = '[A-Z][0-9A-Z_]+'

# regular expression pattern describing valid names for function/macro
# arguments and loop variables.
argument_var_pattern = '[a-z][a-z0-9_]+'

# regular expression pattern describing valid names for keywords used in
# functions or macros
keyword_pattern = '[A-Z][0-9A-Z_]+'

# In the heuristic for C0201, how many conditionals to match within a loop in
# before considering the loop a parser.
max_conditionals_custom_parser = 2

# Require at least this many newlines between statements
min_statement_spacing = 1

# Require no more than this many newlines between statements
max_statement_spacing = 2
max_returns = 6
max_branches = 12
max_arguments = 5
max_localvars = 15
max_statements = 50

# -------------------------------
# Options affecting file encoding
# -------------------------------
with section("encode"):

# If true, emit the unicode byte-order mark (BOM) at the start of the file
emit_byteorder_mark = False

# Specify the encoding of the input file. Defaults to utf-8
input_encoding = 'utf-8'

# Specify the encoding of the output file. Defaults to utf-8. Note that cmake
# only claims to support utf-8 so be careful when using anything else
output_encoding = 'utf-8'

# -------------------------------------
# Miscellaneous configurations options.
# -------------------------------------
with section("misc"):

# A dictionary containing any per-command configuration overrides. Currently
# only `command_case` is supported.
per_command = {}

6 changes: 6 additions & 0 deletions .codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ ignore:
- "src/models/ClassPotentialOrigin_deprecated.cpp"
- "src/models/ClassTemplate.cpp"
- "src/WallThickness/WallThickness1D.cpp"
- "standalone/**"
- "src/utility/spline/spline.cpp"
- "src/utility/asciiplotter/asciiplotter.cpp"
- "example/**"
- ".github"
- "**/README.md"
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @phbasler @lisabiermann @JonasMueller1991 @vollous
16 changes: 16 additions & 0 deletions .github/GetProfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import os
import sys

current = os.path.dirname(os.path.realpath(__file__))
parent = os.path.dirname(current)
sys.path.append(parent)

import Build

if __name__ == "__main__":

env_file = os.getenv('GITHUB_ENV')
with open(env_file, "a") as myfile:
myfile.write(f"GeneratedCMakeProfile={Build.get_preset()}")

print(f"Setting GeneratedCMakeProfile={Build.get_preset()}")
3 changes: 3 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
paths-ignore:
- build
- '.cmake-format.py'
10 changes: 7 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ on:
push:
branches: [master]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name : installPackages
run : sudo apt-get update && sudo apt-get install --no-install-recommends --yes libgsl-dev libeigen3-dev libnlopt-dev libnlopt-cxx-dev libboost-all-dev libbenchmark-dev
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v1
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores
- name: cmake
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release
Expand All @@ -26,7 +30,7 @@ jobs:
- name: run benchmarks
run: cd build && ./bin/benchmarks --benchmark_format=json --benchmark_out=benchmark_result.json
- name: Archive benchmark results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: benchmark_result
path: build/benchmark_result.json
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/benchmark_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,21 @@ on:
- '**.h'
- '**.hpp'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
PRbenchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name : installPackages
run : sudo apt-get update && sudo apt-get install --no-install-recommends --yes libgsl-dev libeigen3-dev libnlopt-dev libnlopt-cxx-dev libboost-all-dev libbenchmark-dev
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v1
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores
- name: cmake
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release
Expand All @@ -31,7 +35,7 @@ jobs:
- name: run benchmarks
run: cd build && ./bin/benchmarks --benchmark_format=json --benchmark_out=benchmark_result.json
- name: Archive benchmark results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: benchmark_result
path: build/benchmark_result.json
Expand Down
Loading

0 comments on commit 9dd29e5

Please sign in to comment.