]> https://gitweb.dealii.org/ - dealii.git/commitdiff
[pre-commit] add and apply config and CI 17893/head
authorJan Philipp Thiele <thiele@wias-berlin.de>
Wed, 27 Nov 2024 07:45:14 +0000 (08:45 +0100)
committerJan Philipp Thiele <thiele@wias-berlin.de>
Thu, 28 Nov 2024 15:23:47 +0000 (16:23 +0100)
This adds a set of useful pre-commit hook checks
as well as a GitHub actions workflow to run these checks on each PR.

As some checks failed on the current codebase,
the fixes where applied as well.
More concretely these were
- fix trailing whitespaces
- fix EOF to one single linebreak
- typos

77 files changed:
.github/workflows/indent.yml
.github/workflows/pre-commit.yml [new file with mode: 0644]
.pre-commit-config.yaml [new file with mode: 0755]
CHANGELOG.md
CMakeLists.txt
README.md
cmake/config/CMakeLists.txt
cmake/config/ConfigGit.cmake.in
cmake/config/ConfigVersion.cmake.in
cmake/configure/TestBoostBug/polymorphic_derived2.cpp
cmake/configure/TestBoostBug/polymorphic_derived2.hpp
cmake/configure/configure_10_taskflow.cmake
cmake/configure/configure_30_kokkos.cmake
cmake/configure/configure_50_arborx.cmake
cmake/configure/configure_50_complex_values.cmake
cmake/macros/check_compiler_setup/CMakeLists.txt
cmake/macros/macro_add_flags.cmake
cmake/macros/macro_check_cxx_compiler_bug.cmake
cmake/macros/macro_check_mpi_interface.cmake
cmake/macros/macro_clear_cmake_required.cmake
cmake/macros/macro_copy_target_properties.cmake
cmake/macros/macro_deal_ii_invoke_autopilot.cmake
cmake/macros/macro_enable_if_supported.cmake
cmake/macros/macro_expand_instantiations.cmake
cmake/macros/macro_item_matches.cmake
cmake/macros/macro_print_target_properties.cmake
cmake/macros/macro_reset_cmake_required.cmake
cmake/macros/macro_strip_flag.cmake
cmake/macros/macro_strip_known_generator_expressions.cmake
cmake/modules/FindDEAL_II_TRILINOS.cmake
cmake/setup_compiler_flags_intel.cmake
cmake/setup_compiler_flags_msvc.cmake
cmake/setup_finalize.cmake
contrib/python-bindings/tests/manifold_wrapper.vtk
contrib/utilities/checkdoxygen.py
contrib/utilities/count_lines.sh
contrib/utilities/parse_ctest_output.py
contrib/utilities/relocate_libraries.py
contrib/utilities/run_clang_tidy.sh
contrib/utilities/update-copyright.sh
contrib/utilities/wrapcomments.py
doc/news/changes/README.md
doc/news/changes/minor/20241127Thiele [new file with mode: 0644]
doc/users/CMakeLists.txt.sample2
doc/users/CMakeLists.txt.sample3
examples/step-1/doc/builds-on
examples/step-11/doc/tooltip
examples/step-33/slide.inp
examples/step-57/doc/gnuplot.gpl
examples/step-58/doc/kind
examples/step-6/doc/tooltip
examples/step-60/parameters.prm
examples/step-71/doc/builds-on
examples/step-71/parameters.prm
examples/step-86/doc/results.dox
examples/step-89/CMakeLists.txt
source/differentiation/ad/ad_drivers.inst1.in
source/grid/grid_out.cc
source/grid/tria_accessor.inst.in
tests/cgal/input_grids/cube.off
tests/cgal/input_grids/hedra.off
tests/cgal/input_grids/octahedron.off
tests/cgal/input_grids/tripod.off
tests/codim_one/grids/sphere_0.inp
tests/examples/step-9.diff
tests/grid/grid_in_gmsh_03.geo
tests/grid/grid_in_gmsh_03.msh
tests/grid/grid_in_msh_02/mesh.msh
tests/grid/grid_in_ucd_02_grids/grid_2.inp
tests/grid/grid_in_ucd_02_grids/grid_3.inp
tests/grid/grid_in_vtk_1d_3d.tria1.vtk
tests/grid/grid_in_vtk_1d_3d.tria2.vtk
tests/grid/grids/abaqus/2d/2d_short_handwritten.inp
tests/grid/grids/abaqus/3d/codim_1-jagged_surface.inp
tests/grid/grids/abaqus/3d/codim_1-tube.inp
tests/grid/grids/comsol/mesh_example_with_domain_geom_info_1_7.mphtxt
tests/parameter_handler/parameter_handler_1_include_in.prm2

index 03f4a97d2280342c09067f7fa11dc00bf08d7b0a..6c276a9f3b5f66d9d311af6861aa71dfeece418c 100644 (file)
@@ -68,16 +68,3 @@ jobs:
       with:
         name: doxygen_documentation
         path: build/doc/doxygen
-
-  typos:
-    # check for typos
-
-    name: typos
-    runs-on: [ubuntu-24.04]
-
-    steps:
-    - uses: actions/checkout@v4
-    - uses: crate-ci/typos@v1.27.3
-      with:
-        files: doc examples include source tests
-        config: ./.typos.toml
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
new file mode 100644 (file)
index 0000000..54f5539
--- /dev/null
@@ -0,0 +1,19 @@
+name: pre-commit
+
+on: [push, pull_request]
+concurrency:
+  group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{github.event_name == 'pull_request'}}
+permissions:
+  contents: read
+
+env:
+  SKIP: clang-format, no-commit-to-branch
+
+jobs:
+  pre-commit:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v4
+    - uses: actions/setup-python@v5
+    - uses: pre-commit/action@v3.0.1
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100755 (executable)
index 0000000..7998454
--- /dev/null
@@ -0,0 +1,48 @@
+repos:
+- repo: https://github.com/pre-commit/pre-commit-hooks
+  rev: v5.0.0
+  hooks:
+  - id: check-added-large-files
+    args: [--maxkb=8192]
+  - id: check-merge-conflict
+  - id: check-json
+    exclude: tests/a-framework/parameter_file_3\.json
+  - id: check-toml
+  - id: check-yaml
+    args: [--allow-multiple-documents]
+  - id: end-of-file-fixer
+    exclude: |
+        (?x)(
+            \.output|
+            \.run_only|
+            \.diff|
+            ^bundled/
+        )
+  - id: no-commit-to-branch
+    args: [--branch,master]
+  - id: trailing-whitespace
+    files: |
+        (?x)(
+            \.(cc|h$|html|doc|txt)|
+            ^doc/news
+        )
+    exclude: ^bundled/
+- repo: https://github.com/gitleaks/gitleaks
+  rev: v8.21.2
+  hooks:
+  - id: gitleaks
+- repo: https://github.com/pre-commit/mirrors-clang-format
+  rev: v16.0.6
+  hooks:
+  - id: clang-format
+    files: |
+        (?x)(
+            \.inst\.in |
+            \.cc |
+            \.h
+        )$
+- repo: https://github.com/crate-ci/typos
+  rev: v1.28.1
+  hooks:
+  - id: typos
+    files: (?x) ^(doc|examples|include|source|tests)/
index a597cf015ff58da07fd3769761211a2e70e869c0..6d608475611d59d02bdc16b6419a517bf79b2c38 100644 (file)
@@ -3,4 +3,4 @@ Changes to deal.II between versions
 
 The list of changes between versions of deal.II is maintained as part of the
 regular documentation. You can find it
-[here](https://www.dealii.org/developer/doxygen/deal.II/pages.html).
\ No newline at end of file
+[here](https://www.dealii.org/developer/doxygen/deal.II/pages.html).
index 89e3d3e715d423b626000847167f46e8808e0422..1e74da92e5e6690ccef671d9a83e32a21beb2a34 100644 (file)
@@ -40,7 +40,7 @@ cmake_policy(VERSION 3.13.4)
 
 if(POLICY CMP0074)
   # Introduced in CMake 3.12: find_package(<PackageName>) also searches
-  # <PackageName>_ROOT CMake and environment variables when set to NEW. 
+  # <PackageName>_ROOT CMake and environment variables when set to NEW.
   cmake_policy(SET CMP0074 NEW)
 endif()
 
index b43140e60aec4188071fc30909ea2d1188f88775..0cc5f510090d1d1ed6ec084530b531db4cdffaca 100644 (file)
--- a/README.md
+++ b/README.md
@@ -82,4 +82,3 @@ by running, for example:
 The above command would drop you into an isolated environment, in which you 
 will find the latest version of deal.II (master development branch) installed
 under `/usr/local`.
-
index 1673b929b71be4c586cd961c01faf20811357d6a..bd1aca2318a1aad2020890c5af1224493c5ffd63 100644 (file)
@@ -192,4 +192,3 @@ install(FILES
 #
 
 message(STATUS "Setting up project configuration - Done")
-
index ac621122508af623dfbb492a5bdb117e30f817f5..1855c7aff3c176657ffc0534a1c79bf151357b1b 100644 (file)
@@ -21,4 +21,3 @@ set(DEAL_II_GIT_BRANCH "@DEAL_II_GIT_BRANCH@")
 set(DEAL_II_GIT_REVISION "@DEAL_II_GIT_REVISION@")
 set(DEAL_II_GIT_SHORTREV "@DEAL_II_GIT_SHORTREV@")
 set(DEAL_II_GIT_TAG "@DEAL_II_GIT_TAG@")
-
index 627c1bea4d1a5b4c411ee16c063f480b8f2310c7..21bf9e291f7175036280addecf59eb60d4919257 100644 (file)
@@ -14,4 +14,3 @@ else()
     set(PACKAGE_VERSION_EXACT TRUE)
   endif()
 endif()
-
index 2e445d464c38e6a7bfc76e6267c1cdccb0096a5f..9cc7780ed8bbbb6d92d3a9d674f11370b14a8432 100644 (file)
@@ -44,4 +44,4 @@ void polymorphic_derived2::serialize(
 );
 
 // note: export has to be AFTER #includes for all archive classes
-BOOST_CLASS_EXPORT_IMPLEMENT(polymorphic_derived2)
\ No newline at end of file
+BOOST_CLASS_EXPORT_IMPLEMENT(polymorphic_derived2)
index 10774495f077a96d8b61bd048e4bfca04c16040f..5a5f5a3b372cb0009801a39a8f46734d09317eb5 100644 (file)
@@ -39,4 +39,3 @@ BOOST_CLASS_TYPE_INFO(
 )
 
 #endif // POLYMORPHIC_DERIVED2_HPP
-
index 9fbee7972dd299a4c2949bd16e05b2b2612d64da..9e55cc72886e12d597a0eb2c52dba55d026b5f3e 100644 (file)
@@ -46,4 +46,3 @@ endmacro()
 
 
 configure_feature(TASKFLOW)
-
index db8dbefb8c579066e6a1b1e6db4dae8436b645d6..f524d6e2c86067ef4dbc873eb2a452c3da05f0c3 100644 (file)
@@ -37,4 +37,3 @@ if(NOT DEAL_II_WITH_KOKKOS)
       )
   endif()
 endif()
-
index 2fd680b07f62a91734a7bd180157623f3cab9eda..ea6eb3fcfefc72aea5724a91416a126adccc6c35 100644 (file)
@@ -78,4 +78,3 @@ macro(feature_arborx_find_external var)
 endmacro()
 
 configure_feature(ARBORX)
-
index 3b04a0e726cf1b2d29713abb54afefc9b3e40935..46a6fe5b5bed6a4e683a278366aabb94d47535fe 100644 (file)
@@ -38,4 +38,3 @@ if(${DEAL_II_WITH_COMPLEX_VALUES})
        "LinearAlgebra::distributed::BlockVector<std::complex<float> >"
       )
 endif()
-
index 0b68d5a94293c88f51fbc2cf83a93503b514f501..561dbed24ab3e4e389f4b9c5c2fcea0035c21c34 100644 (file)
@@ -8,4 +8,3 @@ add_executable(CheckCompilerSetupExec dummy.cpp)
 target_compile_options(CheckCompilerSetupExec PRIVATE ${TEST_COMPILE_OPTIONS})
 target_link_options(CheckCompilerSetupExec PRIVATE ${TEST_LINK_OPTIONS})
 target_link_libraries(CheckCompilerSetupExec ${TEST_LINK_LIBRARIES})
-
index 55b696c96592148702e799b958e4f00f323fc5de..5ec7c394a1dee22be3a59b9c7d5fdc6999308560 100644 (file)
@@ -27,4 +27,3 @@ macro(add_flags _variable _flags)
     string(STRIP "${${_variable}}" ${_variable})
   endif()
 endmacro()
-
index 36437e3158bd4bf2fcd750bd2f81480bc0e5088b..3e370d943d8ed1672c08ccb31478e8c7c836e0a1 100644 (file)
@@ -42,4 +42,3 @@ macro(check_cxx_compiler_bug _source _var)
     set(${_var} TRUE)
   endif()
 endmacro()
-
index 21cd9e595b5b707374be427eca9cedfd890c25a1..11def5959d99c5e8d2c56db66bd811db8a393bcd 100644 (file)
@@ -66,4 +66,3 @@ macro(check_mpi_interface _feature _var)
     endif()
   endif()
 endmacro()
-
index ec49738d243ad79b587fe32b8e25e1860e2f6788..030278aebd1b9d43172d9f11d66efac542ff6588 100644 (file)
@@ -24,4 +24,3 @@ macro(clear_cmake_required)
   set(CMAKE_REQUIRED_INCLUDES)
   set(CMAKE_REQUIRED_LIBRARIES)
 endmacro()
-
index 68643f034cacace7a7d3b79edb7cf5bbfcd1fc35..9a59656063236db7030c14160159fceb7d4ff576 100644 (file)
@@ -154,4 +154,3 @@ function(copy_target_properties _destination_target)
     target_link_options(${_destination_target} INTERFACE ${_link_options})
   endif()
 endfunction()
-
index 330f0c29a84f21e53ab8e9773dac47ffa5d46f97..e742107712f1b0e81c74a96245ac1e9ce5e05f52 100644 (file)
@@ -326,4 +326,3 @@ ${_switch_targets}#
   endif()
 
 endmacro()
-
index 45bc5f9c0df2c582db48cc206c42a43dc96afa79..c51205e270b3421b84055d42fa424f03dd614195 100644 (file)
@@ -56,4 +56,3 @@ macro(enable_if_supported _variable _flag)
 
   unset(CMAKE_REQUIRED_FLAGS)
 endmacro()
-
index 489be88d7b4634a74de901d4a4cf704d091c7fbf..8842febf1820803fb47e7ba9c3770fd95c65ba68 100644 (file)
@@ -92,4 +92,3 @@ macro(expand_instantiations _target _inst_in_files)
   endforeach()
 
 endmacro()
-
index d5939eece2e9f7a6348e6868ebc775371d3dc24f..198ce8688cb1dcfd8742a81d8e5fc2494d299bfc 100644 (file)
@@ -30,4 +30,3 @@ macro(item_matches _var _regex)
     endif()
   endforeach()
 endmacro()
-
index 9a23f1cec77ebdd2837180db7cf655746617f695..3f629c62fb2d6201081718e7df9eb627a8a624da 100644 (file)
@@ -56,4 +56,3 @@ function(print_target_properties _target)
     set(${ARGN} "${_messages}" PARENT_SCOPE)
   endif()
 endfunction()
-
index a01a13d458037630159cfd381b3c25791ccb12f0..c82f7ec28b9a2f84b775727cf5f9145f3e47c41c 100644 (file)
@@ -25,4 +25,3 @@ macro(reset_cmake_required)
   set(CMAKE_REQUIRED_INCLUDES)
   set(CMAKE_REQUIRED_LIBRARIES ${DEAL_II_LINKER_FLAGS_SAVED})
 endmacro()
-
index e3d35772c941b124c90efbadfffdb128c7cf5fce..bba80d7ea51efe1fe9d9870b01b74213c40f2a22 100644 (file)
@@ -27,4 +27,3 @@ macro(strip_flag _variable _flag)
   string(REPLACE "  " " " ${_variable} "${${_variable}}")
   string(STRIP "${${_variable}}" ${_variable})
 endmacro()
-
index 3b91d12024b2e7605a2e76d31a88997c0ae96850..15e618bf2ee83aaa97282176b7b2d2c4e55154a4 100644 (file)
@@ -30,4 +30,3 @@ macro(strip_known_generator_expressions _variable)
     string(REGEX REPLACE ${expression} "\\1" ${_variable} "${${_variable}}")
   endforeach()
 endmacro()
-
index 5eae1a3ae94eab7eb958ebe6916660691aaa25f8..7ff28686dd97a982c673a96ed19e2925fce6355c 100644 (file)
@@ -196,4 +196,3 @@ else()
       EPETRA_CONFIG_H ${_libraries} TRILINOS_CXX_SUPPORTS_SACADO_COMPLEX_RAD
     )
 endif()
-
index bae8f85682653c13fffb82d5c02637e2344aba29..8108cde40da895dab0f2c2c06005b835c825da34 100644 (file)
@@ -184,4 +184,3 @@ if (CMAKE_BUILD_TYPE MATCHES "Debug")
   enable_if_supported(DEAL_II_CXX_FLAGS_DEBUG "-gdwarf-2")
   enable_if_supported(DEAL_II_CXX_FLAGS_DEBUG "-grecord-gcc-switches")
 endif()
-
index fea55d9ff52dc5ab7174ff77182f9a3eee9db1dd..373bb0aca882084ef66087d2f9919a9e3107af91 100644 (file)
@@ -118,4 +118,3 @@ if (CMAKE_BUILD_TYPE MATCHES "Debug")
   # generate some debug info:
   enable_if_supported(DEAL_II_CXX_FLAGS_DEBUG "/Zi /MDd /Od")
 endif()
-
index 38d82a070a26e1d83f5ec6e8aacdbae2dd691c49..e4c05850b05dcb7578b0bd6f57046ee07678b7aa 100644 (file)
@@ -67,4 +67,3 @@ file(WRITE ${CMAKE_BINARY_DIR}/revision.log
 #
 ###"
   )
-
index 7fd1552e806cf659b87b54dfc72f39adeb28bdb8..03783fbfb0d8aa166b543cd0b69ad1c21c47ae40 100644 (file)
@@ -103,4 +103,3 @@ SCALARS ManifoldID int 1
 LOOKUP_TABLE default
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
-
index 2566a7dbd9391a1d2057781bd505e35211a2c8f7..1f321bc7be4a5091d78aa781333ce041eff5517a 100755 (executable)
@@ -133,4 +133,3 @@ if 'intro.dox' in filename:
     
     # check the file group
     check_multiple_defined_headers(lines)
-
index 124218849be73dd4a5cf06de9d2a8269979e5f9f..47a9ec083f6b270fdda389ff662212a6aa47069e 100755 (executable)
@@ -128,4 +128,3 @@ for commit in $commits ; do
 done
 
 git checkout -q ${current_branch}
-
index 751027d3498367ddbf8999c9a865083d935438f8..2439d044a545a26be037c706a71bf0166c9991ef 100644 (file)
@@ -298,5 +298,3 @@ f.write('</table>')
 
 
 f.write('</body></html>')
-
-
index e01561a92360c0308aca63bcf69286d0870974e6..b61fe62127e74f95206e4a0d72a8da8aae84f790 100755 (executable)
@@ -116,7 +116,3 @@ for c  in xrange(len(libraries)):
             print('Last command failed!')
             print(" ".join(command))
             print('*********************************************\n\n')
-
-
-
-
index cdae20900719c504807ed088c17da5044ac39f83..df8837fa7847534c4aa9002dab621937b63fce8f 100755 (executable)
@@ -75,4 +75,3 @@ fi
 
 echo "OK"
 exit 0
-
index 4ce09495477fe0b670ae3c6d4e3e697449a094a1..d0216eb4f2f24cabbcb181436a2ca9b5babca66e 100755 (executable)
@@ -182,4 +182,3 @@ process()
 
 process "."  "CMakeLists.txt|CTestConfig.cmake" update_copyright
 process "cmake contrib doc examples include source tests" ".*" update_copyright
-
index e2876641b14f42d733524c3e05a31fdd0bc1378f..8b7214a51dbdc9aea19f6070bed60499b2786588 100755 (executable)
@@ -592,8 +592,3 @@ assert(cur==[])
 
 for line in out:
     print (line)
-
-
-
-
-
index e89cb519faf15ae7c4da5a7a5394c7d69986c5ca..88ac65b91fe8817f942a76dacf2775616665f1a9 100644 (file)
@@ -1,22 +1,22 @@
 This folder contains changelog entries
 ======================================
 
-Changes between different releases in deal.II are documented in the file 
+Changes between different releases in deal.II are documented in the file
 "changes.h" that is automatically created from the files in the directories
 
-  * "major", 
-  * "minor" and 
+  * "major",
+  * "minor" and
   * "incompatibilities".
 
 Each of these files contain a short description of a change, the authors' names
-and the date where the latter two a separated by "<br>" from the first one. 
+and the date where the latter two a separated by "<br>" from the first one.
 A typical file could look like this:
 
     New: We can do fancy stuff now.
     <br>
     (John Doe, YYYY/MM/DD)
 
-and is named "YYYYMMDDJohnDoe". File names for multiple contributions from the 
+and is named "YYYYMMDDJohnDoe". File names for multiple contributions from the
 same author on one day have a number appended, e.g. "YYYMMDDJohnDoe\_1".
 Only the file name is used to have a proper order in "changes.h". This
 means that the file can in principle have an arbitrary name as long as the date
@@ -25,7 +25,7 @@ in the file and in the file name match.
 incompatibilities
 -----------------
 
-The "incompatibilities" section contains modifications to the library that 
+The "incompatibilities" section contains modifications to the library that
 are incompatible with previous versions of the library, but which are
 necessary for the future maintainability of the library.
 
diff --git a/doc/news/changes/minor/20241127Thiele b/doc/news/changes/minor/20241127Thiele
new file mode 100644 (file)
index 0000000..a5e86b7
--- /dev/null
@@ -0,0 +1,7 @@
+New: Configuration and CI job for pre-commit.
+The tool pre-commit can install hooks into the local git repo.
+These will be run on every call to git commit and perform some quick checks
+on the changeset.
+The CI job runs these checks on the whole codebase.
+<br>
+(Jan Philipp Thiele, 2024/11/27)
index 33989d825ee34e6a2dd3f36773d1834d3140cb64..ae7c546a52234116c15fc9b094e751c67cc46122 100644 (file)
@@ -14,7 +14,7 @@ set(TARGET "step-1")
 # you may want to either replace the following statement by something like
 #    FILE(GLOB_RECURSE TARGET_SRC  "source/*.cc")
 #    FILE(GLOB_RECURSE TARGET_INC  "include/*.h")
-#    SET(TARGET_SRC ${TARGET_SRC}  ${TARGET_INC}) 
+#    SET(TARGET_SRC ${TARGET_SRC}  ${TARGET_INC})
 # or switch altogether to the large project CMakeLists.txt file discussed
 # in the "CMake in user projects" page accessible from the "User info"
 # page of the documentation.
index 7eb2cd95d04b87fc84e170b0039c0fa15356672b..eecced8771e04bf2d1057d25d391192f365b8d41 100644 (file)
@@ -14,7 +14,7 @@ set(TARGET "step-1")
 # you may want to either replace the following statement by something like
 #    FILE(GLOB_RECURSE TARGET_SRC  "source/*.cc")
 #    FILE(GLOB_RECURSE TARGET_INC  "include/*.h")
-#    SET(TARGET_SRC ${TARGET_SRC}  ${TARGET_INC}) 
+#    SET(TARGET_SRC ${TARGET_SRC}  ${TARGET_INC})
 # or switch altogether to the large project CMakeLists.txt file discussed
 # in the "CMake in user projects" page accessible from the "User info"
 # page of the documentation.
index 8b137891791fe96927ad78e64b0aad7bded08bdc..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1 +0,0 @@
-
index 17a53347336f1ebb79d10f3c40390bebcbe382a8..06d2d28353657cd575331205a7fa5233d0355a60 100644 (file)
@@ -1,2 +1 @@
 Higher order mappings. Dealing with constraints.
-
index 66684bc8b6382eb023582d920d3c9ff98ebd2a9b..ccf22072d398fc9330965b0d608f31c22d002f04 100644 (file)
 1824 4 line 31 32 
 1825 4 line 32 33 
 1826 4 line 33 9 
-
index ded394cc71ca41e08380e487ca092ed1e7322ec4..2e72f8816a8f4b1db44aa7b7f35121f9ca8b64f6 100644 (file)
@@ -61,5 +61,3 @@ plot "7500-line-0.txt" using 2:1 w l ls 1 title "Refinement 0", \
 "7500-line-4.txt" using 2:1 w l ls 5 title "Refinement 4", \
 "ref_2d_ghia_u.txt" using 7:1 ls 10 pt 4 w p  title "Reference [Ghia 82]", \
 "ref_2d_erturk_u.txt" using 5:1 ls 11 pt 6 w p  title "Reference [Erturk]"
-
-
index 53c432fbd894340f4886faa1d2341802c5bc6542..86a44aa1efa4783ce24f5c46afffc3c91ce569cc 100644 (file)
@@ -1,2 +1 @@
 time dependent
-
index 00262bfbfbc4d43fad59bdc2c7e81f8b176b8b06..f8540af409b7a3a28d617bdedadda737602e150e 100644 (file)
@@ -1 +1 @@
-Adaptive local refinement. Higher order elements.
\ No newline at end of file
+Adaptive local refinement. Higher order elements.
index 7c9638427cf18cfaeaf5450dc2b53b7eb31375f8..0ceb949e3c3179a6dcb2aac9a34bc59a3cc78b78 100644 (file)
@@ -187,5 +187,3 @@ subsection Distributed Lagrange<1,2>
   end
 
 end
-
-
index 8b137891791fe96927ad78e64b0aad7bded08bdc..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1 +0,0 @@
-
index b5a8058ac8f3ccbbde2126bf491767304e8a52be..89646981e29a60818813a9ce694b492c4e336d80 100644 (file)
@@ -27,5 +27,3 @@ subsection Coupled Constitutive Laws
   end
 
 end
-
-
index b7b57f6f00ff28d9ea6ec9b12fc16c134e5497d1..d079aa411b870c201228f734ee50ad11ee76ec46 100644 (file)
@@ -278,4 +278,3 @@ you have somewhere in the range of 50,000 to 100,000 unknowns *per MPI
 process*. But it is not difficult to adapt the program at hand here to
 run with a much finer mesh, or perhaps in 3d, so that one is beyond
 that limit and sees the benefits of parallel computing.
-
index fcc646a0c6b5fb9336c064af0a4908c270e5679a..faed51b64eebfd9849703f33355867508fc9cf6b 100644 (file)
@@ -52,4 +52,3 @@ deal_ii_initialize_cached_variables()
 set(CLEAN_UP_FILES *.log *.gmv *.gnuplot *.gpl *.eps *.pov *.ucd *.d2 *.vtu *.pvtu)
 project(${TARGET})
 deal_ii_invoke_autopilot()
-
index 091560f7981e0fe9ac166e4dfa248b98bbe17c1a..f28edf876e1ebdb5a8c59ca76ef36df1b59ce8c4 100644 (file)
@@ -69,4 +69,4 @@ for ()
 
     \}
     \}
-}
\ No newline at end of file
+}
index 421013ae02258030b04cbc6cf5bcf88ac0e032bb..9d6b2fd4f96ce6bef412acb0e0fa11dcc40643ad 100644 (file)
@@ -344,7 +344,7 @@ namespace GridOutFlags
     param.declare_entry("Azimuth",
                         "30",
                         Patterns::Double(),
-                        "Azimuth of the viw point, that is, the angle "
+                        "Azimuth of the view point, that is, the angle "
                         "in the plane from the x-axis.");
     param.declare_entry("Elevation",
                         "30",
index 9280ae6801c36dc3b40e5b54bf322db32aed6628..299f6cf693c6bee588ec4954abc7bd379a669c5f 100644 (file)
@@ -63,4 +63,4 @@ for (deal_II_struct_dimension : DIMENSIONS; deal_II_dimension : DIMENSIONS;
     template class InvalidAccessor<deal_II_struct_dimension,
                                    deal_II_dimension,
                                    deal_II_space_dimension>;
-  }
\ No newline at end of file
+  }
index e200aa44bddf60f6ab81a30bda0b0876c3bfb734..b1afa5a6858bb0a9a384b3824e80899380c42d06 100644 (file)
@@ -19,4 +19,4 @@ OFF
 3  6 4 7
 3  6 5 4
 3  1 5 6
-3  2 1 6
\ No newline at end of file
+3  2 1 6
index 597be0e2f3133026b5e361a8bfefd0075053d989..6341b598585d0a196ab78780b431e1ef22235320 100644 (file)
@@ -13,4 +13,4 @@ OFF
 3 1 2 0 
 3 3 4 0 
 3 4 5 1 
-3 3 2 5 
\ No newline at end of file
+3 3 2 5 
index 1b38ebfc5958e45189b4a655dda06c76c6a17388..799bcb0fa821ca92b98e817c934dd97081edf55a 100644 (file)
@@ -13,4 +13,4 @@ OFF
 3 1 5 2 
 3 2 5 3
 3 3 5 4
-3 4 5 1
\ No newline at end of file
+3 4 5 1
index ea3b32d191afa7efd40823b7e1bea24193bebac0..eda1804a9f22cf64edd6f28b18604b9cf45f7c38 100644 (file)
@@ -69,4 +69,3 @@ OFF
 3  2 23 3
 3  12 23 2
 3  13 23 12
-
index 0c2733d9b657a28e1daa39b94921f3a119b792c2..5ea249c4dcba651809e221152d69eff5dbcd3509 100644 (file)
@@ -13,4 +13,3 @@
 4 1 quad 3 7 8 4
 5 1 quad 5 7 3 1
 6 1 quad 2 4 8 6
-
index 4f4c15a979378b16dc738227cafb589959350ffa..1ffc61c22181cd10ebd9076a2b9f6e7fe285236d 100644 (file)
@@ -26,4 +26,3 @@
 <         output_results(cycle);
 ---
 >       //output_results(cycle);
-
index 60ae7795b9a75d374788bddedb273a2ad487fddc..188ac4cf6457ec46bdefb8da66acec28ab908c69 100644 (file)
@@ -22,7 +22,3 @@ Plane Surface(2) = {2};
 
 Physical Curve("1", 10) = {2, 7, 6, 5, 4, 3};
 Physical Surface("1", 9) = {2, 1};
-
-
-
-
index 76426b1002581c113c1754d5f4a015201c0dbb9c..87567ff862f33d1f9c824dea3df84a99ffc79b7b 100644 (file)
@@ -182,4 +182,4 @@ $Elements
 62 30 33 26 
 63 29 32 15 
 64 8 33 30 
-$EndElements
\ No newline at end of file
+$EndElements
index 7c5fc1fa451187b1cbf8f8f13550c671bef3c4ec..c93eb2c583ba94c772793da0818da440749196c4 100644 (file)
@@ -75,4 +75,4 @@ $ELM
 41 3 0 8 4 17 6 18 28
 42 3 0 8 4 28 18 19 29
 43 3 0 8 4 29 19 7 8
-$ENDELM
\ No newline at end of file
+$ENDELM
index 41efaf5f68d15d86925fe82a441d1bdf10ffdd40..dfbc50ee167c54c045b6707f13f6bacdce31ceb6 100644 (file)
@@ -8,4 +8,3 @@
 3 100 line   2 4
 4 100 line   4 3
 5 100 line   3 1
-
index 5218408f06a8600f1c3a8612f8067403e1c20d49..f63eb89b87ec5e2746f0dd3748b917dcf6c4a8a3 100644 (file)
@@ -26,4 +26,3 @@
 17 101 line   2 6
 18 101 line   3 7
 19 101 line   4 8
-
index e9e55dfd0717e65a2208d04a587303470cb28192..92c33430a5355c43bdc24c1eddcf3f7036e4a4e8 100644 (file)
@@ -33,5 +33,3 @@ LOOKUP_TABLE default
 SCALARS ManifoldID int 1
 LOOKUP_TABLE default
 -1 -1 -1 -1 
-
-
index c7e2416d394bfb213def889b7e74bfb718ec65fc..11ecfd427a2661e693053cc38a8d4c6b554c23a5 100644 (file)
@@ -33,5 +33,3 @@ LOOKUP_TABLE default
 SCALARS ManifoldID int 1
 LOOKUP_TABLE default
 -1 -1 -1 -1 
-
-
index c0a127f8ea4a6f4afd78438d584184b552ca96f6..33a0d7f8d1af6b80dae0ec7eab1465a8124bd695 100644 (file)
@@ -9,4 +9,4 @@ It does not have a new line at the end of the last line.
 3,0,1
 4,1,1
 *ELEMENT, TYPE=CPE4, ELSET=EB0
-1,1,2,4,3
\ No newline at end of file
+1,1,2,4,3
index e9fdd3189df59948e2412b937294ffad5b43d2ea..68007cb47246aa72a1077d9d9850019fd51b9bcc 100644 (file)
 2412, 2456, 2556, 2457, 2357\r
 2509, 2651, 2556, 2456, 2555\r
 *End Part\r
-\r
index e41fa8f09aa8c6132f476580d675fc9805fa736c..ce3f49427649ed23972ef7baa906350b81554530 100644 (file)
 95, 119, 120,  24,  23\r
 96, 120,  45,   6,  24\r
 *End Part\r
-\r
index 22df34044bc98e4cc18d327bb9bced8fdb7a304a..fff2381d4cb15c0249fc83bbdb252dd8df70bc65 100644 (file)
@@ -70,4 +70,4 @@
 2 # number of geometric entity indices
 # Geometric entity indices
 6 
-7
\ No newline at end of file
+7
index cbf86bd5acba531f7a3f6a0f5920f4b817c7a1f8..4ed62961ce1ddecdba6bd5d3b2836ecbc28690e7 100644 (file)
@@ -1,2 +1 @@
 set test_1 = 1,0,1
-

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.