-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into Helmholtz
- Loading branch information
Showing
72 changed files
with
5,224 additions
and
649 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,47 @@ | ||
name: Build and Deploy | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build-n-test: | ||
uses: ./.github/workflows/build-n-test.yml | ||
with: | ||
target: E2Etests | ||
|
||
coverage-monitor: | ||
uses: ./.github/workflows/coverage-monitor.yml | ||
|
||
deploy-docs: | ||
needs: [coverage-monitor, build-n-test] | ||
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v3 | ||
|
||
- name: Getting Doxygen | ||
run: | | ||
sudo apt-get install --yes doxygen | ||
- name: Getting dot | ||
run: | | ||
sudo apt-get install --yes graphviz | ||
- name: Creating Documentation | ||
run: | | ||
doxygen Doxyfile | ||
- name: Download Coverage Report | ||
uses: actions/download-artifact@v4 | ||
with: | ||
path: coverage | ||
|
||
- name: Deploy 🚀 | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: . |
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
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,66 @@ | ||
name: Coverage Monitor | ||
|
||
on: | ||
workflow_call: | ||
|
||
permissions: | ||
contents: write | ||
|
||
env: | ||
BUILD_TYPE: Coverage | ||
|
||
jobs: | ||
coverage-monitor: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Configure system | ||
run: sudo apt-get update | ||
|
||
- name: Install Eigen3 | ||
run: sudo apt-get install --yes libeigen3-dev | ||
|
||
- name: Install Gcovr | ||
run: sudo pip install gcovr | ||
|
||
- name: Configure CMake | ||
# Use a bash shell so we can use the same syntax for environment variable | ||
# access regardless of the host operating system | ||
shell: bash | ||
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -B build | ||
|
||
- name: Build | ||
shell: bash | ||
run: cmake --build build --config $BUILD_TYPE -j 2 --target unittests | ||
|
||
- name: Run Unittests | ||
working-directory: ${{github.workspace}}/build | ||
shell: bash | ||
run: ctest -C $BUILD_TYPE -L unittests --output-on-failure | ||
|
||
- name: Create Coverage Report | ||
working-directory: ${{github.workspace}}/build | ||
shell: bash | ||
run: | | ||
mkdir ../coverage | ||
gcovr -r ../ -f ../Bembel --html --html-details --output ../coverage/report.html | ||
- name: Create Coverage Badge | ||
working-directory: ${{github.workspace}}/build | ||
shell: bash | ||
run: | | ||
npm install -g badge-maker | ||
gcovr -r ../ -f ../Bembel > coverage.txt | ||
badge coverage "$(cat coverage.txt | grep "TOTAL" | awk '{print $(NF-0)}')" :green > ../coverage/coverage.svg | ||
- name: Upload Report | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: report | ||
path: coverage |
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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,34 @@ | ||
// This file is part of Bembel, the higher order C++ boundary element library. | ||
// | ||
// Copyright (C) 2022 see <http://www.bembel.eu> | ||
// | ||
// It was written as part of a cooperation of J. Doelz, H. Harbrecht, S. Kurz, | ||
// M. Multerer, S. Schoeps, and F. Wolf at Technische Universitaet Darmstadt, | ||
// Universitaet Basel, and Universita della Svizzera italiana, Lugano. This | ||
// source code is subject to the GNU General Public License version 3 and | ||
// provided WITHOUT ANY WARRANTY, see <http://www.bembel.eu> for further | ||
// information. | ||
|
||
#ifndef BEMBEL_HOMOGENISEDLAPLACEOPERATOR_MODULE_ | ||
#define BEMBEL_HOMOGENISEDLAPLACEOPERATOR_MODULE_ | ||
|
||
/** | ||
* \defgroup HomogenisedLaplace HomogenisedLaplace | ||
* \brief The HomogenisedLaplace module provides some specializations to solve | ||
* a homogenised Laplace problem. | ||
**/ | ||
|
||
#include <functional> | ||
|
||
#include <Eigen/Dense> | ||
|
||
#include "LinearOperator" | ||
#include "Potential" | ||
|
||
#include "src/util/Sphericals.hpp" | ||
|
||
#include "src/HomogenisedLaplace/Coefficients.hpp" | ||
#include "src/HomogenisedLaplace/SingleLayerOperator.hpp" | ||
#include "src/HomogenisedLaplace/SingleLayerPotential.hpp" | ||
|
||
#endif |
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
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.