imcs-compsim / MIRCO

A shared-memory parallel BEM code for the contact of rough surfaces
MIT License
2 stars 3 forks source link

Fix formatting according to clang-format-6.0 #73

Closed RShaw026 closed 1 year ago

RShaw026 commented 1 year ago

Description and Context

In PR #70, proper formatting according to clang-format-6.0 was not followed. This PR formats all the files properly.

Related Issues and Pull Requests

How Has This Been Tested?

build and ctest.

Checklist

Additional Information

Interested Parties / Possible Reviewers

@mayrmt

RShaw026 commented 1 year ago

@mayrmt @NoraHagmeyer Do you have any ideas on how to enforce the clang format so that we can solve #20 and clean up the repository?

NoraHagmeyer commented 1 year ago

@mayrmt @NoraHagmeyer Do you have any ideas on how to enforce the clang format so that we can solve #20 and clean up the repository?

also looping in @isteinbrecher

RShaw026 commented 1 year ago

I tried setting up clang-format-check.yml in the branch 20-enforce-clang-format using the method in the following link. https://github.com/jidicula/clang-format-action

I got the following error in the workflow. Error: .github#L1 jidicula/clang-format-action@v4.9.0 is not allowed to be used in imcs-compsim/MIRCO. Actions in this workflow must be: within a repository owned by imcs-compsim or created by GitHub.