-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WQ Merge branch 'development' into math_library_example
- Loading branch information
Showing
104 changed files
with
15,171 additions
and
13,795 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
BasedOnStyle: Google # You can use LLVM, Google, Mozilla, or any other base style | ||
IndentWidth: 4 # Number of spaces per indentation level | ||
UseTab: Never # Do not use tabs, only spaces | ||
TabWidth: 4 # Number of spaces per tab | ||
ColumnLimit: 80 | ||
BreakBeforeBraces: Allman | ||
PenaltyBreakBeforeFirstCallParameter: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.ipynb linguist-detectable=false | ||
*.md linguist-documentation=true | ||
|
||
*.cpp linguist-language=C++ | ||
*.H linguist-language=C++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
thi | ||
PTD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: codespell | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.head_ref }}-codespell | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
codespell: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install codespell | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y --no-install-recommends python3-pip | ||
pip3 install --user codespell | ||
- name: Run codespell | ||
run: codespell --ignore-words .github/workflows/codespell-ignore.txt --skip "*.py,*.ipynb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Style | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.head_ref }}-style | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
tabs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Tabs | ||
run: .github/workflows/style/check_tabs.sh | ||
|
||
trailing_whitespaces: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Trailing Whitespaces | ||
run: .github/workflows/style/check_trailing_whitespaces.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eu -o pipefail | ||
|
||
find . -type d \( -name .git \ | ||
-o -path ./paper \ | ||
-o -name build -o -name install \ | ||
-o -name tmp_build_dir -o -name tmp_install_dir \ | ||
\) -prune -o \ | ||
-type f \( \( -name "*.H" -o -name "*.h" -o -name "*.hh" -o -name "*.hpp" \ | ||
-o -name "*.c" -o -name "*.cc" -o -name "*.cpp" -o -name "*.cxx" \ | ||
-o -name "*.f" -o -name "*.F" -o -name "*.f90" -o -name "*.F90" \ | ||
-o -name "*.py" \ | ||
-o -name "*.md" -o -name "*.rst" \ | ||
-o -name "*.sh" \ | ||
-o -name "*.tex" \ | ||
-o -name "*.txt" \ | ||
-o -name "*.yml" \) \ | ||
-a \( ! -name "*.tab.h" -a ! -name "*.tab.nolint.H" \ | ||
-a ! -name "*.lex.h" -a ! -name "*.lex.nolint.H" \) \ | ||
\) \ | ||
-exec grep -Iq . {} \; \ | ||
-exec sed -i 's/\t/\ \ \ \ /g' {} + | ||
|
||
gitdiff=`git diff` | ||
|
||
if [ -z "$gitdiff" ] | ||
then | ||
exit 0 | ||
else | ||
echo -e "\nTabs are not allowed. Changes suggested by" | ||
echo -e " ${0}\n" | ||
git --no-pager diff | ||
echo "" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eu -o pipefail | ||
|
||
find . -type d \( -name .git \ | ||
-o -path ./paper \ | ||
-o -name build -o -name install \ | ||
-o -name tmp_build_dir -o -name tmp_install_dir \ | ||
\) -prune -o \ | ||
-type f \( \( -name "*.H" -o -name "*.h" -o -name "*.hh" -o -name "*.hpp" \ | ||
-o -name "*.c" -o -name "*.cc" -o -name "*.cpp" -o -name "*.cxx" \ | ||
-o -name "*.f" -o -name "*.F" -o -name "*.f90" -o -name "*.F90" \ | ||
-o -name "*.py" \ | ||
-o -name "*.rst" \ | ||
-o -name "*.sh" \ | ||
-o -name "*.tex" \ | ||
-o -name "*.txt" \ | ||
-o -name "*.yml" \) \ | ||
-a \( ! -name "*.tab.h" -a ! -name "*.tab.nolint.H" \ | ||
-a ! -name "*.lex.h" -a ! -name "*.lex.nolint.H" \) \ | ||
\) \ | ||
-exec grep -Iq . {} \; \ | ||
-exec sed -i 's/[[:blank:]]\+$//g' {} + | ||
|
||
gitdiff=`git diff` | ||
|
||
if [ -z "$gitdiff" ] | ||
then | ||
exit 0 | ||
else | ||
echo -e "\nTrailing whitespaces at the end of a line are not allowed. Changes suggested by" | ||
echo -e " ${0}\n" | ||
git --no-pager diff | ||
echo "" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Exascale-Enabled Models and Algorithms for Microelectronics Applications (MicroEleX) | ||
Copyright (c) 2024, The Regents of the University of California, | ||
through Lawrence Berkeley National Laboratory (subject to receipt of any | ||
required approvals from the U.S. Dept. of Energy). All rights reserved. | ||
|
||
If you have questions about your rights to use or distribute this software, | ||
please contact Berkeley Lab's Intellectual Property Office at | ||
[email protected]. | ||
|
||
NOTICE. This Software was developed under funding from the U.S. Department | ||
of Energy and the U.S. Government consequently retains certain rights. As | ||
such, the U.S. Government has been granted for itself and others acting on | ||
its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the | ||
Software to reproduce, distribute copies to the public, prepare derivative | ||
works, and perform publicly and display publicly, and to permit others to do so. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.