Skip to content

Commit 388ba80

Browse files
committed
Format all code with clang
1 parent bc4008f commit 388ba80

File tree

429 files changed

+53804
-40620
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

429 files changed

+53804
-40620
lines changed

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ A clear and concise description of any alternative solutions or features you've
2020
Add any other context or screenshots about the feature request here.
2121

2222
**Internal**
23-
For CADET Team members: Please assign a label, an assignee, and a topic in the project.
23+
For CADET Team members: Please assign a label, an assignee, and a topic in the project.

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,3 @@ jobs:
203203
${INSTALL_PREFIX}/bin/cadet-cli --version || true
204204
${INSTALL_PREFIX}/bin/createLWE
205205
${INSTALL_PREFIX}/bin/cadet-cli LWE.h5 || true
206-

BUILD-OSX.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ brew install eigen
3131

3232
### LAPACK
3333

34-
You can either use the native LAPACK implementation provided by Mac OS X (vecLib, Accelerate)
34+
You can either use the native LAPACK implementation provided by Mac OS X (vecLib, Accelerate)
3535
or install the freely available [Intel MKL](https://software.intel.com/sites/campaigns/nest/) which is very fast and probably faster than Accelerate.
3636

3737
## Build CADET
@@ -41,10 +41,9 @@ or install the freely available [Intel MKL](https://software.intel.com/sites/cam
4141

4242
* If using Intel MKL, execute `export MKLROOT=/opt/intel/mkl`
4343
* Using standard LAPACK: Execute `cmake -DCMAKE_INSTALL_PREFIX="<ROOT>/install" ../`
44-
44+
4545
Using MKL (sequential): Execute `cmake -DCMAKE_INSTALL_PREFIX="<ROOT>/install" -DBLA_VENDOR=Intel10_64lp_seq ../`
46-
46+
4747
Using MKL (parallel): Execute `cmake -DCMAKE_INSTALL_PREFIX="<ROOT>/install" -DBLA_VENDOR=Intel10_64lp ../`
4848
* Execute `make`
4949
* Execute `make install`
50-

BUILD-WINDOWS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
* Optional: Git
66
* Optional but not generally recommended*: Intel OneAPI TBB
77

8-
*For most use-cases it is more efficient to parallelize by running multiple CADET simulations instead
8+
*For most use-cases it is more efficient to parallelize by running multiple CADET simulations instead
99
of parallelizing within one CADET simulation. Including the parallelization code in CADET can lead to performance
10-
losses, even if parallelization within CADET is not used.
11-
Therefore, we recommend not including the parallelization library TBB
10+
losses, even if parallelization within CADET is not used.
11+
Therefore, we recommend not including the parallelization library TBB
1212
unless you know your simulations are large enough to benefit from it.
1313

1414
Assumed directory structure:
@@ -46,7 +46,7 @@ We are using Visual Studio because it is the easiest way to install all required
4646

4747
## Prepare CADET code
4848

49-
- Clone the CADET source code into a `CADET` folder:
49+
- Clone the CADET source code into a `CADET` folder:
5050
- `git clone https://github.com/modsim/CADET.git CADET`
5151
- Create the directories `CADET\build` and `CADET\install`
5252

@@ -78,15 +78,15 @@ We are using Visual Studio because it is the easiest way to install all required
7878
execute `set TBBROOT="C:/Program Files (x86)/Intel/oneAPI/tbb/latest"` and
7979
- `cmake -DCMAKE_INSTALL_PREFIX=..\out\install\aRELEASE -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%VCPKG_ROOT%/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-static -DENABLE_STATIC_LINK_LAPACK=ON -DENABLE_STATIC_LINK_DEPS=ON -DBLA_VENDOR=Intel10_64lp --fresh ../`
8080
- `msbuild.exe INSTALL.vcxproj /p:Configuration=Release;Platform=x64`
81-
81+
8282
- For PowerShell:
8383
- `cd CADET\build`
8484
- `vcpkg integrate install` (this only needs to be run _once_ and will require admin privileges)
8585
- `$ENV:MKLROOT = "C:\Program Files (x86)\Intel\oneAPI\mkl\latest"`
8686
- `cmake -DCMAKE_INSTALL_PREFIX="..\out\install\aRELEASE" -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$ENV:VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-static -DENABLE_STATIC_LINK_LAPACK=ON -DENABLE_STATIC_LINK_DEPS=ON -DBLA_VENDOR=Intel10_64lp_seq "../" --fresh`
8787
- If you want to use parallelization and have installed TBB, instead
8888
execute `$ENV:TBBROOT = "C:\Program Files (x86)\Intel\oneAPI\tbb\latest"`
89-
and
89+
and
9090
- `cmake -DCMAKE_INSTALL_PREFIX="..\out\install\aRELEASE" -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$ENV:VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-static -DENABLE_STATIC_LINK_LAPACK=ON -DENABLE_STATIC_LINK_DEPS=ON -DBLA_VENDOR=Intel10_64lp "../" --fresh`
9191
- `msbuild.exe INSTALL.vcxproj /p:Configuration="Release;Platform=x64"`
9292
- The binaries will be located in `CADET\out\install\aRELEASE\bin`
@@ -99,4 +99,4 @@ We are using Visual Studio because it is the easiest way to install all required
9999
- `cadet-cli.exe LWE.h5`
100100
- And confirm the output of the LWE.h5 by opening it in HDF5view or loading it in CADET-Process.
101101
- If you get no printed return from the first command, run cadet-cli.exe by double-clicking it in the file explorer.
102-
This raises error messages that are not raised from a cmd or PowerShell window.
102+
This raises error messages that are not raised from a cmd or PowerShell window.

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# =============================================================================
22
# CADET
3-
#
3+
#
44
# Copyright © The CADET Authors
55
# Please see the CONTRIBUTORS.md file.
6-
#
6+
#
77
# All rights reserved. This program and the accompanying materials
88
# are made available under the terms of the GNU Public License v3.0 (or, at
99
# your option, any later version) which accompanies this distribution, and
1010
# is available at http://www.gnu.org/licenses/gpl.html
1111
# =============================================================================
12-
12+
1313
# Require a fairly new cmake version
1414
cmake_minimum_required(VERSION 3.12)
1515

@@ -308,7 +308,7 @@ if (ENABLE_CADET_TOOLS OR ENABLE_CADET_CLI)
308308
set(HDF5_SUPPORT_LIBRARIES ${HDF5_C_LIBRARIES})
309309
list(REMOVE_AT HDF5_SUPPORT_LIBRARIES 0)
310310
else()
311-
set(HDF5_MAIN_LIBRARY ${HDF5_C_LIBRARIES})
311+
set(HDF5_MAIN_LIBRARY ${HDF5_C_LIBRARIES})
312312
set(HDF5_SUPPORT_LIBRARIES)
313313
endif()
314314

@@ -546,7 +546,7 @@ set(CPACK_SOURCE_IGNORE_FILES
546546

547547
message("")
548548
message("--------------------------- Feature Summary ---------------------------")
549-
549+
550550
feature_summary(WHAT ALL)
551551

552552
# Summary

CMakeSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,4 @@
189189
]
190190
}
191191
]
192-
}
192+
}

CONTRIBUTORS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ Salah Azzouzi (Forschungszentrum Juelich GmbH, IBG-1: Biotechnology, Juelich, Ge
2222
* Johannes Schmölder has received support from the IMI2/ EU/EFPIA joint undertaking Inno4Vac (grant no. 101007799).
2323

2424
Follow the lead, become a contributor by sending a pull request or a patch.
25-

0 commit comments

Comments
 (0)