From c5b5c5d91c1b305823272385368f039fd367451f Mon Sep 17 00:00:00 2001 From: Oliver Sander <oliver.sander@tu-dresden.de> Date: Sun, 12 Jan 2025 07:26:30 +0100 Subject: [PATCH] Move all implementations of functions to a 'functions' subdirectory --- CHANGELOG.md | 2 ++ dune/gfe/CMakeLists.txt | 7 +------ dune/gfe/functions/CMakeLists.txt | 8 ++++++++ dune/gfe/{ => functions}/embeddedglobalgfefunction.hh | 0 dune/gfe/{ => functions}/globalgfefunction.hh | 0 dune/gfe/{ => functions}/interpolationderivatives.hh | 0 dune/gfe/{ => functions}/localgeodesicfefunction.hh | 0 dune/gfe/{ => functions}/localprojectedfefunction.hh | 0 dune/gfe/{ => functions}/localquickanddirtyfefunction.hh | 0 9 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 dune/gfe/functions/CMakeLists.txt rename dune/gfe/{ => functions}/embeddedglobalgfefunction.hh (100%) rename dune/gfe/{ => functions}/globalgfefunction.hh (100%) rename dune/gfe/{ => functions}/interpolationderivatives.hh (100%) rename dune/gfe/{ => functions}/localgeodesicfefunction.hh (100%) rename dune/gfe/{ => functions}/localprojectedfefunction.hh (100%) rename dune/gfe/{ => functions}/localquickanddirtyfefunction.hh (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62db344f..ef0e0431 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Master +- All implementations of functions have been move to a `functions` subdirectory. + - The `LocalDensity` class now has a template parameter `ElementOrIntersection`, which replaces the parameter `Position`. As the name says, this parameter has to be a grid element, or a grid intersection. As it turned out, diff --git a/dune/gfe/CMakeLists.txt b/dune/gfe/CMakeLists.txt index 5af12f1e..b92328ab 100644 --- a/dune/gfe/CMakeLists.txt +++ b/dune/gfe/CMakeLists.txt @@ -4,19 +4,13 @@ install(FILES cosseratstrain.hh cosseratvtkreader.hh cosseratvtkwriter.hh - embeddedglobalgfefunction.hh filereader.hh geodesicdifference.hh geodesicfefunctionadaptor.hh gfedifferencenormsquared.hh - globalgfefunction.hh gramschmidtsolver.hh - interpolationderivatives.hh linearalgebra.hh - localgeodesicfefunction.hh localgfetestfunctionbasis.hh - localprojectedfefunction.hh - localquickanddirtyfefunction.hh localtangentfefunction.hh maxnormtrustregion.hh mixedriemanniantrsolver.cc @@ -42,3 +36,4 @@ install(FILES add_subdirectory("spaces") add_subdirectory("assemblers") add_subdirectory("densities") +add_subdirectory("functions") diff --git a/dune/gfe/functions/CMakeLists.txt b/dune/gfe/functions/CMakeLists.txt new file mode 100644 index 00000000..9003ea14 --- /dev/null +++ b/dune/gfe/functions/CMakeLists.txt @@ -0,0 +1,8 @@ +install(FILES + embeddedglobalgfefunction.hh + globalgfefunction.hh + interpolationderivatives.hh + localgeodesicfefunction.hh + localprojectedfefunction.hh + localquickanddirtyfefunction.hh + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/gfe/functions) diff --git a/dune/gfe/embeddedglobalgfefunction.hh b/dune/gfe/functions/embeddedglobalgfefunction.hh similarity index 100% rename from dune/gfe/embeddedglobalgfefunction.hh rename to dune/gfe/functions/embeddedglobalgfefunction.hh diff --git a/dune/gfe/globalgfefunction.hh b/dune/gfe/functions/globalgfefunction.hh similarity index 100% rename from dune/gfe/globalgfefunction.hh rename to dune/gfe/functions/globalgfefunction.hh diff --git a/dune/gfe/interpolationderivatives.hh b/dune/gfe/functions/interpolationderivatives.hh similarity index 100% rename from dune/gfe/interpolationderivatives.hh rename to dune/gfe/functions/interpolationderivatives.hh diff --git a/dune/gfe/localgeodesicfefunction.hh b/dune/gfe/functions/localgeodesicfefunction.hh similarity index 100% rename from dune/gfe/localgeodesicfefunction.hh rename to dune/gfe/functions/localgeodesicfefunction.hh diff --git a/dune/gfe/localprojectedfefunction.hh b/dune/gfe/functions/localprojectedfefunction.hh similarity index 100% rename from dune/gfe/localprojectedfefunction.hh rename to dune/gfe/functions/localprojectedfefunction.hh diff --git a/dune/gfe/localquickanddirtyfefunction.hh b/dune/gfe/functions/localquickanddirtyfefunction.hh similarity index 100% rename from dune/gfe/localquickanddirtyfefunction.hh rename to dune/gfe/functions/localquickanddirtyfefunction.hh -- GitLab