From 56ce938e12c4b9ba94282cce08b8cabc6c1466ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz> Date: Thu, 13 Sep 2018 11:55:14 +0200 Subject: [PATCH] Reorganization - moved examples into src --- CMakeLists.txt | 10 ++-------- src/CMakeLists.txt | 7 +++++++ {examples => src/Examples}/CMakeLists.txt | 0 .../Examples}/heat-equation/CMakeLists.txt | 0 .../heat-equation/HeatEquationBuildConfigTag.h | 0 .../Examples}/heat-equation/tnl-heat-equation-eoc.cpp | 0 .../Examples}/heat-equation/tnl-heat-equation-eoc.cu | 0 .../Examples}/heat-equation/tnl-heat-equation-eoc.h | 0 .../Examples}/heat-equation/tnl-heat-equation.cpp | 0 .../Examples}/heat-equation/tnl-heat-equation.cu | 0 .../Examples}/heat-equation/tnl-heat-equation.h | 0 .../Examples}/heat-equation/tnl-run-heat-equation | 0 .../heat-equation/tnl-run-heat-equation-eoc-test | 0 .../Examples}/inviscid-flow/CMakeLists.txt | 0 .../inviscid-flow/CompressibleConservativeVariables.h | 0 .../Examples}/inviscid-flow/LaxFridrichs.h | 0 .../Examples}/inviscid-flow/LaxFridrichsContinuity.h | 0 .../Examples}/inviscid-flow/LaxFridrichsEnergy.h | 0 .../Examples}/inviscid-flow/LaxFridrichsMomentumBase.h | 0 .../Examples}/inviscid-flow/LaxFridrichsMomentumX.h | 0 .../Examples}/inviscid-flow/LaxFridrichsMomentumY.h | 0 .../Examples}/inviscid-flow/LaxFridrichsMomentumZ.h | 0 .../Examples}/inviscid-flow/PhysicalVariablesGetter.h | 0 .../inviscid-flow/RiemannProblemInitialCondition.h | 0 {examples => src/Examples}/inviscid-flow/euler.cpp | 0 {examples => src/Examples}/inviscid-flow/euler.cu | 0 {examples => src/Examples}/inviscid-flow/euler.h | 0 .../Examples}/inviscid-flow/eulerBuildConfigTag.h | 0 .../Examples}/inviscid-flow/eulerProblem.h | 0 .../Examples}/inviscid-flow/eulerProblem_impl.h | 0 {examples => src/Examples}/inviscid-flow/eulerRhs.h | 0 {examples => src/Examples}/inviscid-flow/run-euler | 0 .../Examples}/mean-curvature-flow/CMakeLists.txt | 0 .../tnl-mean-curvature-flow-eoc.cpp | 0 .../mean-curvature-flow/tnl-mean-curvature-flow-eoc.cu | 0 .../mean-curvature-flow/tnl-mean-curvature-flow-eoc.h | 0 .../mean-curvature-flow/tnl-mean-curvature-flow.cpp | 0 .../mean-curvature-flow/tnl-mean-curvature-flow.cu | 0 .../mean-curvature-flow/tnl-mean-curvature-flow.h | 0 .../mean-curvature-flow/tnl-run-mean-curvature-flow | 0 .../tnl-run-mean-curvature-flow-contour-video | 0 .../tnl-run-mean-curvature-flow-eoc-test | 0 .../tnl-run-mean-curvature-flow-videos | 0 {examples => src/Examples}/narrow-band/CMakeLists.txt | 0 .../Examples}/narrow-band/MainBuildConfig.h | 0 {examples => src/Examples}/narrow-band/main.cpp | 0 {examples => src/Examples}/narrow-band/main.cu | 0 {examples => src/Examples}/narrow-band/main.h | 0 .../Examples}/narrow-band/narrowBandConfig.h | 0 {examples => src/Examples}/narrow-band/tnlNarrowBand.h | 0 .../narrow-band/tnlNarrowBand2D_CUDA_v4_impl.h | 0 .../narrow-band/tnlNarrowBand2D_CUDA_v5_impl.h | 0 .../Examples}/narrow-band/tnlNarrowBand2D_impl.h | 0 .../Examples}/narrow-band/tnlNarrowBand3D_CUDA_impl.h | 0 .../Examples}/narrow-band/tnlNarrowBand3D_impl.h | 0 .../Examples}/narrow-band/tnlNarrowBand_CUDA.h | 0 .../Examples}/navier-stokes/CMakeLists.txt | 0 {examples => src/Examples}/navier-stokes/Makefile | 0 {examples => src/Examples}/navier-stokes/main.cpp | 0 .../Examples}/navier-stokes/make-png-from-gnuplot | 0 .../navier-stokes/make-png-vectors-from-gnuplot | 0 {examples => src/Examples}/navier-stokes/merge-figures | 0 .../Examples}/navier-stokes/navier-stokes.cfg.desc | 0 .../navier-stokes/navierStokesBoundaryConditions.h | 0 .../navierStokesBoundaryConditions_impl.h | 0 .../Examples}/navier-stokes/navierStokesSetter.h | 0 .../Examples}/navier-stokes/navierStokesSetter_impl.h | 0 .../Examples}/navier-stokes/navierStokesSolver.h | 0 .../navier-stokes/navierStokesSolverMonitor.h | 0 .../navier-stokes/navierStokesSolverMonitor_impl.h | 0 .../Examples}/navier-stokes/navierStokesSolver_impl.h | 0 .../Examples}/navier-stokes/share/CMakeLists.txt | 0 .../navier-stokes/share/examples/CMakeLists.txt | 0 .../Examples}/navier-stokes/share/examples/cavity | 0 {examples => src/Examples}/quad-test/.gitignore | 0 {examples => src/Examples}/quad-test/Makefile | 0 {examples => src/Examples}/quad-test/main.cpp | 0 .../Examples}/quad-test/quad-test.cfg.desc | 0 .../Examples}/simple-examples/CMakeLists.txt | 0 .../simple-examples/large-meshfunction-example.cpp | 0 .../simple-examples/large-meshfunction-example.cu | 0 .../simple-examples/large-meshfunction-example.h | 0 .../Examples}/transport-equation/CMakeLists.txt | 0 .../transport-equation/tnl-run-transport-equation | 0 .../transport-equation/tnl-run-transport-equation-eoc | 0 .../transport-equation/tnl-transport-equation-eoc.cpp | 0 .../transport-equation/tnl-transport-equation-eoc.cu | 0 .../transport-equation/tnl-transport-equation-eoc.h | 0 .../transport-equation/tnl-transport-equation.cpp | 0 .../transport-equation/tnl-transport-equation.cu | 0 .../transport-equation/tnl-transport-equation.h | 0 .../transportEquationBuildConfigTag.h | 0 .../transport-equation/transportEquationProblem.h | 0 .../transport-equation/transportEquationProblemEoc.h | 0 .../transportEquationProblemEoc_impl.h | 0 .../transport-equation/transportEquationProblem_impl.h | 0 96 files changed, 9 insertions(+), 8 deletions(-) rename {examples => src/Examples}/CMakeLists.txt (100%) rename {examples => src/Examples}/heat-equation/CMakeLists.txt (100%) rename {examples => src/Examples}/heat-equation/HeatEquationBuildConfigTag.h (100%) rename {examples => src/Examples}/heat-equation/tnl-heat-equation-eoc.cpp (100%) rename {examples => src/Examples}/heat-equation/tnl-heat-equation-eoc.cu (100%) rename {examples => src/Examples}/heat-equation/tnl-heat-equation-eoc.h (100%) rename {examples => src/Examples}/heat-equation/tnl-heat-equation.cpp (100%) rename {examples => src/Examples}/heat-equation/tnl-heat-equation.cu (100%) rename {examples => src/Examples}/heat-equation/tnl-heat-equation.h (100%) rename {examples => src/Examples}/heat-equation/tnl-run-heat-equation (100%) rename {examples => src/Examples}/heat-equation/tnl-run-heat-equation-eoc-test (100%) rename {examples => src/Examples}/inviscid-flow/CMakeLists.txt (100%) rename {examples => src/Examples}/inviscid-flow/CompressibleConservativeVariables.h (100%) rename {examples => src/Examples}/inviscid-flow/LaxFridrichs.h (100%) rename {examples => src/Examples}/inviscid-flow/LaxFridrichsContinuity.h (100%) rename {examples => src/Examples}/inviscid-flow/LaxFridrichsEnergy.h (100%) rename {examples => src/Examples}/inviscid-flow/LaxFridrichsMomentumBase.h (100%) rename {examples => src/Examples}/inviscid-flow/LaxFridrichsMomentumX.h (100%) rename {examples => src/Examples}/inviscid-flow/LaxFridrichsMomentumY.h (100%) rename {examples => src/Examples}/inviscid-flow/LaxFridrichsMomentumZ.h (100%) rename {examples => src/Examples}/inviscid-flow/PhysicalVariablesGetter.h (100%) rename {examples => src/Examples}/inviscid-flow/RiemannProblemInitialCondition.h (100%) rename {examples => src/Examples}/inviscid-flow/euler.cpp (100%) rename {examples => src/Examples}/inviscid-flow/euler.cu (100%) rename {examples => src/Examples}/inviscid-flow/euler.h (100%) rename {examples => src/Examples}/inviscid-flow/eulerBuildConfigTag.h (100%) rename {examples => src/Examples}/inviscid-flow/eulerProblem.h (100%) rename {examples => src/Examples}/inviscid-flow/eulerProblem_impl.h (100%) rename {examples => src/Examples}/inviscid-flow/eulerRhs.h (100%) rename {examples => src/Examples}/inviscid-flow/run-euler (100%) rename {examples => src/Examples}/mean-curvature-flow/CMakeLists.txt (100%) rename {examples => src/Examples}/mean-curvature-flow/tnl-mean-curvature-flow-eoc.cpp (100%) rename {examples => src/Examples}/mean-curvature-flow/tnl-mean-curvature-flow-eoc.cu (100%) rename {examples => src/Examples}/mean-curvature-flow/tnl-mean-curvature-flow-eoc.h (100%) rename {examples => src/Examples}/mean-curvature-flow/tnl-mean-curvature-flow.cpp (100%) rename {examples => src/Examples}/mean-curvature-flow/tnl-mean-curvature-flow.cu (100%) rename {examples => src/Examples}/mean-curvature-flow/tnl-mean-curvature-flow.h (100%) rename {examples => src/Examples}/mean-curvature-flow/tnl-run-mean-curvature-flow (100%) rename {examples => src/Examples}/mean-curvature-flow/tnl-run-mean-curvature-flow-contour-video (100%) rename {examples => src/Examples}/mean-curvature-flow/tnl-run-mean-curvature-flow-eoc-test (100%) rename {examples => src/Examples}/mean-curvature-flow/tnl-run-mean-curvature-flow-videos (100%) rename {examples => src/Examples}/narrow-band/CMakeLists.txt (100%) rename {examples => src/Examples}/narrow-band/MainBuildConfig.h (100%) rename {examples => src/Examples}/narrow-band/main.cpp (100%) rename {examples => src/Examples}/narrow-band/main.cu (100%) rename {examples => src/Examples}/narrow-band/main.h (100%) rename {examples => src/Examples}/narrow-band/narrowBandConfig.h (100%) rename {examples => src/Examples}/narrow-band/tnlNarrowBand.h (100%) rename {examples => src/Examples}/narrow-band/tnlNarrowBand2D_CUDA_v4_impl.h (100%) rename {examples => src/Examples}/narrow-band/tnlNarrowBand2D_CUDA_v5_impl.h (100%) rename {examples => src/Examples}/narrow-band/tnlNarrowBand2D_impl.h (100%) rename {examples => src/Examples}/narrow-band/tnlNarrowBand3D_CUDA_impl.h (100%) rename {examples => src/Examples}/narrow-band/tnlNarrowBand3D_impl.h (100%) rename {examples => src/Examples}/narrow-band/tnlNarrowBand_CUDA.h (100%) rename {examples => src/Examples}/navier-stokes/CMakeLists.txt (100%) rename {examples => src/Examples}/navier-stokes/Makefile (100%) rename {examples => src/Examples}/navier-stokes/main.cpp (100%) rename {examples => src/Examples}/navier-stokes/make-png-from-gnuplot (100%) rename {examples => src/Examples}/navier-stokes/make-png-vectors-from-gnuplot (100%) rename {examples => src/Examples}/navier-stokes/merge-figures (100%) rename {examples => src/Examples}/navier-stokes/navier-stokes.cfg.desc (100%) rename {examples => src/Examples}/navier-stokes/navierStokesBoundaryConditions.h (100%) rename {examples => src/Examples}/navier-stokes/navierStokesBoundaryConditions_impl.h (100%) rename {examples => src/Examples}/navier-stokes/navierStokesSetter.h (100%) rename {examples => src/Examples}/navier-stokes/navierStokesSetter_impl.h (100%) rename {examples => src/Examples}/navier-stokes/navierStokesSolver.h (100%) rename {examples => src/Examples}/navier-stokes/navierStokesSolverMonitor.h (100%) rename {examples => src/Examples}/navier-stokes/navierStokesSolverMonitor_impl.h (100%) rename {examples => src/Examples}/navier-stokes/navierStokesSolver_impl.h (100%) rename {examples => src/Examples}/navier-stokes/share/CMakeLists.txt (100%) rename {examples => src/Examples}/navier-stokes/share/examples/CMakeLists.txt (100%) rename {examples => src/Examples}/navier-stokes/share/examples/cavity (100%) rename {examples => src/Examples}/quad-test/.gitignore (100%) rename {examples => src/Examples}/quad-test/Makefile (100%) rename {examples => src/Examples}/quad-test/main.cpp (100%) rename {examples => src/Examples}/quad-test/quad-test.cfg.desc (100%) rename {examples => src/Examples}/simple-examples/CMakeLists.txt (100%) rename {examples => src/Examples}/simple-examples/large-meshfunction-example.cpp (100%) rename {examples => src/Examples}/simple-examples/large-meshfunction-example.cu (100%) rename {examples => src/Examples}/simple-examples/large-meshfunction-example.h (100%) rename {examples => src/Examples}/transport-equation/CMakeLists.txt (100%) rename {examples => src/Examples}/transport-equation/tnl-run-transport-equation (100%) rename {examples => src/Examples}/transport-equation/tnl-run-transport-equation-eoc (100%) rename {examples => src/Examples}/transport-equation/tnl-transport-equation-eoc.cpp (100%) rename {examples => src/Examples}/transport-equation/tnl-transport-equation-eoc.cu (100%) rename {examples => src/Examples}/transport-equation/tnl-transport-equation-eoc.h (100%) rename {examples => src/Examples}/transport-equation/tnl-transport-equation.cpp (100%) rename {examples => src/Examples}/transport-equation/tnl-transport-equation.cu (100%) rename {examples => src/Examples}/transport-equation/tnl-transport-equation.h (100%) rename {examples => src/Examples}/transport-equation/transportEquationBuildConfigTag.h (100%) rename {examples => src/Examples}/transport-equation/transportEquationProblem.h (100%) rename {examples => src/Examples}/transport-equation/transportEquationProblemEoc.h (100%) rename {examples => src/Examples}/transport-equation/transportEquationProblemEoc_impl.h (100%) rename {examples => src/Examples}/transport-equation/transportEquationProblem_impl.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index b7540a1690..8ed064eb1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -422,15 +422,9 @@ INCLUDE_DIRECTORIES( ${PROJECT_BUILD_PATH} ) LINK_DIRECTORIES( ${LIBRARY_OUTPUT_PATH} ) # Add all subdirectories -# Note that it is important to start building examples as soon as possible, -# because they take the longest time and other stuff can be pipelined before -# they are finished (at least with Ninja). -if( WITH_EXAMPLES STREQUAL "yes" ) - add_subdirectory( examples ) -endif( WITH_EXAMPLES STREQUAL "yes" ) -if( WITH_TESTS STREQUAL "yes" ) +if( ${WITH_TESTS} ) add_subdirectory( tests ) -endif( WITH_TESTS STREQUAL "yes" ) +endif() add_subdirectory( src ) add_subdirectory( share ) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 280d40ad21..ee275cafcc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,12 @@ ADD_SUBDIRECTORY( TNL ) +# Note that it is important to start building examples as soon as possible, +# because they take the longest time and other stuff can be pipelined before +# they are finished (at least with Ninja). +if( ${WITH_EXAMPLES} ) + add_subdirectory( Examples ) +endif() + if( ${WITH_BENCHMARKS} ) ADD_SUBDIRECTORY( Benchmarks ) endif() diff --git a/examples/CMakeLists.txt b/src/Examples/CMakeLists.txt similarity index 100% rename from examples/CMakeLists.txt rename to src/Examples/CMakeLists.txt diff --git a/examples/heat-equation/CMakeLists.txt b/src/Examples/heat-equation/CMakeLists.txt similarity index 100% rename from examples/heat-equation/CMakeLists.txt rename to src/Examples/heat-equation/CMakeLists.txt diff --git a/examples/heat-equation/HeatEquationBuildConfigTag.h b/src/Examples/heat-equation/HeatEquationBuildConfigTag.h similarity index 100% rename from examples/heat-equation/HeatEquationBuildConfigTag.h rename to src/Examples/heat-equation/HeatEquationBuildConfigTag.h diff --git a/examples/heat-equation/tnl-heat-equation-eoc.cpp b/src/Examples/heat-equation/tnl-heat-equation-eoc.cpp similarity index 100% rename from examples/heat-equation/tnl-heat-equation-eoc.cpp rename to src/Examples/heat-equation/tnl-heat-equation-eoc.cpp diff --git a/examples/heat-equation/tnl-heat-equation-eoc.cu b/src/Examples/heat-equation/tnl-heat-equation-eoc.cu similarity index 100% rename from examples/heat-equation/tnl-heat-equation-eoc.cu rename to src/Examples/heat-equation/tnl-heat-equation-eoc.cu diff --git a/examples/heat-equation/tnl-heat-equation-eoc.h b/src/Examples/heat-equation/tnl-heat-equation-eoc.h similarity index 100% rename from examples/heat-equation/tnl-heat-equation-eoc.h rename to src/Examples/heat-equation/tnl-heat-equation-eoc.h diff --git a/examples/heat-equation/tnl-heat-equation.cpp b/src/Examples/heat-equation/tnl-heat-equation.cpp similarity index 100% rename from examples/heat-equation/tnl-heat-equation.cpp rename to src/Examples/heat-equation/tnl-heat-equation.cpp diff --git a/examples/heat-equation/tnl-heat-equation.cu b/src/Examples/heat-equation/tnl-heat-equation.cu similarity index 100% rename from examples/heat-equation/tnl-heat-equation.cu rename to src/Examples/heat-equation/tnl-heat-equation.cu diff --git a/examples/heat-equation/tnl-heat-equation.h b/src/Examples/heat-equation/tnl-heat-equation.h similarity index 100% rename from examples/heat-equation/tnl-heat-equation.h rename to src/Examples/heat-equation/tnl-heat-equation.h diff --git a/examples/heat-equation/tnl-run-heat-equation b/src/Examples/heat-equation/tnl-run-heat-equation similarity index 100% rename from examples/heat-equation/tnl-run-heat-equation rename to src/Examples/heat-equation/tnl-run-heat-equation diff --git a/examples/heat-equation/tnl-run-heat-equation-eoc-test b/src/Examples/heat-equation/tnl-run-heat-equation-eoc-test similarity index 100% rename from examples/heat-equation/tnl-run-heat-equation-eoc-test rename to src/Examples/heat-equation/tnl-run-heat-equation-eoc-test diff --git a/examples/inviscid-flow/CMakeLists.txt b/src/Examples/inviscid-flow/CMakeLists.txt similarity index 100% rename from examples/inviscid-flow/CMakeLists.txt rename to src/Examples/inviscid-flow/CMakeLists.txt diff --git a/examples/inviscid-flow/CompressibleConservativeVariables.h b/src/Examples/inviscid-flow/CompressibleConservativeVariables.h similarity index 100% rename from examples/inviscid-flow/CompressibleConservativeVariables.h rename to src/Examples/inviscid-flow/CompressibleConservativeVariables.h diff --git a/examples/inviscid-flow/LaxFridrichs.h b/src/Examples/inviscid-flow/LaxFridrichs.h similarity index 100% rename from examples/inviscid-flow/LaxFridrichs.h rename to src/Examples/inviscid-flow/LaxFridrichs.h diff --git a/examples/inviscid-flow/LaxFridrichsContinuity.h b/src/Examples/inviscid-flow/LaxFridrichsContinuity.h similarity index 100% rename from examples/inviscid-flow/LaxFridrichsContinuity.h rename to src/Examples/inviscid-flow/LaxFridrichsContinuity.h diff --git a/examples/inviscid-flow/LaxFridrichsEnergy.h b/src/Examples/inviscid-flow/LaxFridrichsEnergy.h similarity index 100% rename from examples/inviscid-flow/LaxFridrichsEnergy.h rename to src/Examples/inviscid-flow/LaxFridrichsEnergy.h diff --git a/examples/inviscid-flow/LaxFridrichsMomentumBase.h b/src/Examples/inviscid-flow/LaxFridrichsMomentumBase.h similarity index 100% rename from examples/inviscid-flow/LaxFridrichsMomentumBase.h rename to src/Examples/inviscid-flow/LaxFridrichsMomentumBase.h diff --git a/examples/inviscid-flow/LaxFridrichsMomentumX.h b/src/Examples/inviscid-flow/LaxFridrichsMomentumX.h similarity index 100% rename from examples/inviscid-flow/LaxFridrichsMomentumX.h rename to src/Examples/inviscid-flow/LaxFridrichsMomentumX.h diff --git a/examples/inviscid-flow/LaxFridrichsMomentumY.h b/src/Examples/inviscid-flow/LaxFridrichsMomentumY.h similarity index 100% rename from examples/inviscid-flow/LaxFridrichsMomentumY.h rename to src/Examples/inviscid-flow/LaxFridrichsMomentumY.h diff --git a/examples/inviscid-flow/LaxFridrichsMomentumZ.h b/src/Examples/inviscid-flow/LaxFridrichsMomentumZ.h similarity index 100% rename from examples/inviscid-flow/LaxFridrichsMomentumZ.h rename to src/Examples/inviscid-flow/LaxFridrichsMomentumZ.h diff --git a/examples/inviscid-flow/PhysicalVariablesGetter.h b/src/Examples/inviscid-flow/PhysicalVariablesGetter.h similarity index 100% rename from examples/inviscid-flow/PhysicalVariablesGetter.h rename to src/Examples/inviscid-flow/PhysicalVariablesGetter.h diff --git a/examples/inviscid-flow/RiemannProblemInitialCondition.h b/src/Examples/inviscid-flow/RiemannProblemInitialCondition.h similarity index 100% rename from examples/inviscid-flow/RiemannProblemInitialCondition.h rename to src/Examples/inviscid-flow/RiemannProblemInitialCondition.h diff --git a/examples/inviscid-flow/euler.cpp b/src/Examples/inviscid-flow/euler.cpp similarity index 100% rename from examples/inviscid-flow/euler.cpp rename to src/Examples/inviscid-flow/euler.cpp diff --git a/examples/inviscid-flow/euler.cu b/src/Examples/inviscid-flow/euler.cu similarity index 100% rename from examples/inviscid-flow/euler.cu rename to src/Examples/inviscid-flow/euler.cu diff --git a/examples/inviscid-flow/euler.h b/src/Examples/inviscid-flow/euler.h similarity index 100% rename from examples/inviscid-flow/euler.h rename to src/Examples/inviscid-flow/euler.h diff --git a/examples/inviscid-flow/eulerBuildConfigTag.h b/src/Examples/inviscid-flow/eulerBuildConfigTag.h similarity index 100% rename from examples/inviscid-flow/eulerBuildConfigTag.h rename to src/Examples/inviscid-flow/eulerBuildConfigTag.h diff --git a/examples/inviscid-flow/eulerProblem.h b/src/Examples/inviscid-flow/eulerProblem.h similarity index 100% rename from examples/inviscid-flow/eulerProblem.h rename to src/Examples/inviscid-flow/eulerProblem.h diff --git a/examples/inviscid-flow/eulerProblem_impl.h b/src/Examples/inviscid-flow/eulerProblem_impl.h similarity index 100% rename from examples/inviscid-flow/eulerProblem_impl.h rename to src/Examples/inviscid-flow/eulerProblem_impl.h diff --git a/examples/inviscid-flow/eulerRhs.h b/src/Examples/inviscid-flow/eulerRhs.h similarity index 100% rename from examples/inviscid-flow/eulerRhs.h rename to src/Examples/inviscid-flow/eulerRhs.h diff --git a/examples/inviscid-flow/run-euler b/src/Examples/inviscid-flow/run-euler similarity index 100% rename from examples/inviscid-flow/run-euler rename to src/Examples/inviscid-flow/run-euler diff --git a/examples/mean-curvature-flow/CMakeLists.txt b/src/Examples/mean-curvature-flow/CMakeLists.txt similarity index 100% rename from examples/mean-curvature-flow/CMakeLists.txt rename to src/Examples/mean-curvature-flow/CMakeLists.txt diff --git a/examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.cpp b/src/Examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.cpp similarity index 100% rename from examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.cpp rename to src/Examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.cpp diff --git a/examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.cu b/src/Examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.cu similarity index 100% rename from examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.cu rename to src/Examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.cu diff --git a/examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.h b/src/Examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.h similarity index 100% rename from examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.h rename to src/Examples/mean-curvature-flow/tnl-mean-curvature-flow-eoc.h diff --git a/examples/mean-curvature-flow/tnl-mean-curvature-flow.cpp b/src/Examples/mean-curvature-flow/tnl-mean-curvature-flow.cpp similarity index 100% rename from examples/mean-curvature-flow/tnl-mean-curvature-flow.cpp rename to src/Examples/mean-curvature-flow/tnl-mean-curvature-flow.cpp diff --git a/examples/mean-curvature-flow/tnl-mean-curvature-flow.cu b/src/Examples/mean-curvature-flow/tnl-mean-curvature-flow.cu similarity index 100% rename from examples/mean-curvature-flow/tnl-mean-curvature-flow.cu rename to src/Examples/mean-curvature-flow/tnl-mean-curvature-flow.cu diff --git a/examples/mean-curvature-flow/tnl-mean-curvature-flow.h b/src/Examples/mean-curvature-flow/tnl-mean-curvature-flow.h similarity index 100% rename from examples/mean-curvature-flow/tnl-mean-curvature-flow.h rename to src/Examples/mean-curvature-flow/tnl-mean-curvature-flow.h diff --git a/examples/mean-curvature-flow/tnl-run-mean-curvature-flow b/src/Examples/mean-curvature-flow/tnl-run-mean-curvature-flow similarity index 100% rename from examples/mean-curvature-flow/tnl-run-mean-curvature-flow rename to src/Examples/mean-curvature-flow/tnl-run-mean-curvature-flow diff --git a/examples/mean-curvature-flow/tnl-run-mean-curvature-flow-contour-video b/src/Examples/mean-curvature-flow/tnl-run-mean-curvature-flow-contour-video similarity index 100% rename from examples/mean-curvature-flow/tnl-run-mean-curvature-flow-contour-video rename to src/Examples/mean-curvature-flow/tnl-run-mean-curvature-flow-contour-video diff --git a/examples/mean-curvature-flow/tnl-run-mean-curvature-flow-eoc-test b/src/Examples/mean-curvature-flow/tnl-run-mean-curvature-flow-eoc-test similarity index 100% rename from examples/mean-curvature-flow/tnl-run-mean-curvature-flow-eoc-test rename to src/Examples/mean-curvature-flow/tnl-run-mean-curvature-flow-eoc-test diff --git a/examples/mean-curvature-flow/tnl-run-mean-curvature-flow-videos b/src/Examples/mean-curvature-flow/tnl-run-mean-curvature-flow-videos similarity index 100% rename from examples/mean-curvature-flow/tnl-run-mean-curvature-flow-videos rename to src/Examples/mean-curvature-flow/tnl-run-mean-curvature-flow-videos diff --git a/examples/narrow-band/CMakeLists.txt b/src/Examples/narrow-band/CMakeLists.txt similarity index 100% rename from examples/narrow-band/CMakeLists.txt rename to src/Examples/narrow-band/CMakeLists.txt diff --git a/examples/narrow-band/MainBuildConfig.h b/src/Examples/narrow-band/MainBuildConfig.h similarity index 100% rename from examples/narrow-band/MainBuildConfig.h rename to src/Examples/narrow-band/MainBuildConfig.h diff --git a/examples/narrow-band/main.cpp b/src/Examples/narrow-band/main.cpp similarity index 100% rename from examples/narrow-band/main.cpp rename to src/Examples/narrow-band/main.cpp diff --git a/examples/narrow-band/main.cu b/src/Examples/narrow-band/main.cu similarity index 100% rename from examples/narrow-band/main.cu rename to src/Examples/narrow-band/main.cu diff --git a/examples/narrow-band/main.h b/src/Examples/narrow-band/main.h similarity index 100% rename from examples/narrow-band/main.h rename to src/Examples/narrow-band/main.h diff --git a/examples/narrow-band/narrowBandConfig.h b/src/Examples/narrow-band/narrowBandConfig.h similarity index 100% rename from examples/narrow-band/narrowBandConfig.h rename to src/Examples/narrow-band/narrowBandConfig.h diff --git a/examples/narrow-band/tnlNarrowBand.h b/src/Examples/narrow-band/tnlNarrowBand.h similarity index 100% rename from examples/narrow-band/tnlNarrowBand.h rename to src/Examples/narrow-band/tnlNarrowBand.h diff --git a/examples/narrow-band/tnlNarrowBand2D_CUDA_v4_impl.h b/src/Examples/narrow-band/tnlNarrowBand2D_CUDA_v4_impl.h similarity index 100% rename from examples/narrow-band/tnlNarrowBand2D_CUDA_v4_impl.h rename to src/Examples/narrow-band/tnlNarrowBand2D_CUDA_v4_impl.h diff --git a/examples/narrow-band/tnlNarrowBand2D_CUDA_v5_impl.h b/src/Examples/narrow-band/tnlNarrowBand2D_CUDA_v5_impl.h similarity index 100% rename from examples/narrow-band/tnlNarrowBand2D_CUDA_v5_impl.h rename to src/Examples/narrow-band/tnlNarrowBand2D_CUDA_v5_impl.h diff --git a/examples/narrow-band/tnlNarrowBand2D_impl.h b/src/Examples/narrow-band/tnlNarrowBand2D_impl.h similarity index 100% rename from examples/narrow-band/tnlNarrowBand2D_impl.h rename to src/Examples/narrow-band/tnlNarrowBand2D_impl.h diff --git a/examples/narrow-band/tnlNarrowBand3D_CUDA_impl.h b/src/Examples/narrow-band/tnlNarrowBand3D_CUDA_impl.h similarity index 100% rename from examples/narrow-band/tnlNarrowBand3D_CUDA_impl.h rename to src/Examples/narrow-band/tnlNarrowBand3D_CUDA_impl.h diff --git a/examples/narrow-band/tnlNarrowBand3D_impl.h b/src/Examples/narrow-band/tnlNarrowBand3D_impl.h similarity index 100% rename from examples/narrow-band/tnlNarrowBand3D_impl.h rename to src/Examples/narrow-band/tnlNarrowBand3D_impl.h diff --git a/examples/narrow-band/tnlNarrowBand_CUDA.h b/src/Examples/narrow-band/tnlNarrowBand_CUDA.h similarity index 100% rename from examples/narrow-band/tnlNarrowBand_CUDA.h rename to src/Examples/narrow-band/tnlNarrowBand_CUDA.h diff --git a/examples/navier-stokes/CMakeLists.txt b/src/Examples/navier-stokes/CMakeLists.txt similarity index 100% rename from examples/navier-stokes/CMakeLists.txt rename to src/Examples/navier-stokes/CMakeLists.txt diff --git a/examples/navier-stokes/Makefile b/src/Examples/navier-stokes/Makefile similarity index 100% rename from examples/navier-stokes/Makefile rename to src/Examples/navier-stokes/Makefile diff --git a/examples/navier-stokes/main.cpp b/src/Examples/navier-stokes/main.cpp similarity index 100% rename from examples/navier-stokes/main.cpp rename to src/Examples/navier-stokes/main.cpp diff --git a/examples/navier-stokes/make-png-from-gnuplot b/src/Examples/navier-stokes/make-png-from-gnuplot similarity index 100% rename from examples/navier-stokes/make-png-from-gnuplot rename to src/Examples/navier-stokes/make-png-from-gnuplot diff --git a/examples/navier-stokes/make-png-vectors-from-gnuplot b/src/Examples/navier-stokes/make-png-vectors-from-gnuplot similarity index 100% rename from examples/navier-stokes/make-png-vectors-from-gnuplot rename to src/Examples/navier-stokes/make-png-vectors-from-gnuplot diff --git a/examples/navier-stokes/merge-figures b/src/Examples/navier-stokes/merge-figures similarity index 100% rename from examples/navier-stokes/merge-figures rename to src/Examples/navier-stokes/merge-figures diff --git a/examples/navier-stokes/navier-stokes.cfg.desc b/src/Examples/navier-stokes/navier-stokes.cfg.desc similarity index 100% rename from examples/navier-stokes/navier-stokes.cfg.desc rename to src/Examples/navier-stokes/navier-stokes.cfg.desc diff --git a/examples/navier-stokes/navierStokesBoundaryConditions.h b/src/Examples/navier-stokes/navierStokesBoundaryConditions.h similarity index 100% rename from examples/navier-stokes/navierStokesBoundaryConditions.h rename to src/Examples/navier-stokes/navierStokesBoundaryConditions.h diff --git a/examples/navier-stokes/navierStokesBoundaryConditions_impl.h b/src/Examples/navier-stokes/navierStokesBoundaryConditions_impl.h similarity index 100% rename from examples/navier-stokes/navierStokesBoundaryConditions_impl.h rename to src/Examples/navier-stokes/navierStokesBoundaryConditions_impl.h diff --git a/examples/navier-stokes/navierStokesSetter.h b/src/Examples/navier-stokes/navierStokesSetter.h similarity index 100% rename from examples/navier-stokes/navierStokesSetter.h rename to src/Examples/navier-stokes/navierStokesSetter.h diff --git a/examples/navier-stokes/navierStokesSetter_impl.h b/src/Examples/navier-stokes/navierStokesSetter_impl.h similarity index 100% rename from examples/navier-stokes/navierStokesSetter_impl.h rename to src/Examples/navier-stokes/navierStokesSetter_impl.h diff --git a/examples/navier-stokes/navierStokesSolver.h b/src/Examples/navier-stokes/navierStokesSolver.h similarity index 100% rename from examples/navier-stokes/navierStokesSolver.h rename to src/Examples/navier-stokes/navierStokesSolver.h diff --git a/examples/navier-stokes/navierStokesSolverMonitor.h b/src/Examples/navier-stokes/navierStokesSolverMonitor.h similarity index 100% rename from examples/navier-stokes/navierStokesSolverMonitor.h rename to src/Examples/navier-stokes/navierStokesSolverMonitor.h diff --git a/examples/navier-stokes/navierStokesSolverMonitor_impl.h b/src/Examples/navier-stokes/navierStokesSolverMonitor_impl.h similarity index 100% rename from examples/navier-stokes/navierStokesSolverMonitor_impl.h rename to src/Examples/navier-stokes/navierStokesSolverMonitor_impl.h diff --git a/examples/navier-stokes/navierStokesSolver_impl.h b/src/Examples/navier-stokes/navierStokesSolver_impl.h similarity index 100% rename from examples/navier-stokes/navierStokesSolver_impl.h rename to src/Examples/navier-stokes/navierStokesSolver_impl.h diff --git a/examples/navier-stokes/share/CMakeLists.txt b/src/Examples/navier-stokes/share/CMakeLists.txt similarity index 100% rename from examples/navier-stokes/share/CMakeLists.txt rename to src/Examples/navier-stokes/share/CMakeLists.txt diff --git a/examples/navier-stokes/share/examples/CMakeLists.txt b/src/Examples/navier-stokes/share/examples/CMakeLists.txt similarity index 100% rename from examples/navier-stokes/share/examples/CMakeLists.txt rename to src/Examples/navier-stokes/share/examples/CMakeLists.txt diff --git a/examples/navier-stokes/share/examples/cavity b/src/Examples/navier-stokes/share/examples/cavity similarity index 100% rename from examples/navier-stokes/share/examples/cavity rename to src/Examples/navier-stokes/share/examples/cavity diff --git a/examples/quad-test/.gitignore b/src/Examples/quad-test/.gitignore similarity index 100% rename from examples/quad-test/.gitignore rename to src/Examples/quad-test/.gitignore diff --git a/examples/quad-test/Makefile b/src/Examples/quad-test/Makefile similarity index 100% rename from examples/quad-test/Makefile rename to src/Examples/quad-test/Makefile diff --git a/examples/quad-test/main.cpp b/src/Examples/quad-test/main.cpp similarity index 100% rename from examples/quad-test/main.cpp rename to src/Examples/quad-test/main.cpp diff --git a/examples/quad-test/quad-test.cfg.desc b/src/Examples/quad-test/quad-test.cfg.desc similarity index 100% rename from examples/quad-test/quad-test.cfg.desc rename to src/Examples/quad-test/quad-test.cfg.desc diff --git a/examples/simple-examples/CMakeLists.txt b/src/Examples/simple-examples/CMakeLists.txt similarity index 100% rename from examples/simple-examples/CMakeLists.txt rename to src/Examples/simple-examples/CMakeLists.txt diff --git a/examples/simple-examples/large-meshfunction-example.cpp b/src/Examples/simple-examples/large-meshfunction-example.cpp similarity index 100% rename from examples/simple-examples/large-meshfunction-example.cpp rename to src/Examples/simple-examples/large-meshfunction-example.cpp diff --git a/examples/simple-examples/large-meshfunction-example.cu b/src/Examples/simple-examples/large-meshfunction-example.cu similarity index 100% rename from examples/simple-examples/large-meshfunction-example.cu rename to src/Examples/simple-examples/large-meshfunction-example.cu diff --git a/examples/simple-examples/large-meshfunction-example.h b/src/Examples/simple-examples/large-meshfunction-example.h similarity index 100% rename from examples/simple-examples/large-meshfunction-example.h rename to src/Examples/simple-examples/large-meshfunction-example.h diff --git a/examples/transport-equation/CMakeLists.txt b/src/Examples/transport-equation/CMakeLists.txt similarity index 100% rename from examples/transport-equation/CMakeLists.txt rename to src/Examples/transport-equation/CMakeLists.txt diff --git a/examples/transport-equation/tnl-run-transport-equation b/src/Examples/transport-equation/tnl-run-transport-equation similarity index 100% rename from examples/transport-equation/tnl-run-transport-equation rename to src/Examples/transport-equation/tnl-run-transport-equation diff --git a/examples/transport-equation/tnl-run-transport-equation-eoc b/src/Examples/transport-equation/tnl-run-transport-equation-eoc similarity index 100% rename from examples/transport-equation/tnl-run-transport-equation-eoc rename to src/Examples/transport-equation/tnl-run-transport-equation-eoc diff --git a/examples/transport-equation/tnl-transport-equation-eoc.cpp b/src/Examples/transport-equation/tnl-transport-equation-eoc.cpp similarity index 100% rename from examples/transport-equation/tnl-transport-equation-eoc.cpp rename to src/Examples/transport-equation/tnl-transport-equation-eoc.cpp diff --git a/examples/transport-equation/tnl-transport-equation-eoc.cu b/src/Examples/transport-equation/tnl-transport-equation-eoc.cu similarity index 100% rename from examples/transport-equation/tnl-transport-equation-eoc.cu rename to src/Examples/transport-equation/tnl-transport-equation-eoc.cu diff --git a/examples/transport-equation/tnl-transport-equation-eoc.h b/src/Examples/transport-equation/tnl-transport-equation-eoc.h similarity index 100% rename from examples/transport-equation/tnl-transport-equation-eoc.h rename to src/Examples/transport-equation/tnl-transport-equation-eoc.h diff --git a/examples/transport-equation/tnl-transport-equation.cpp b/src/Examples/transport-equation/tnl-transport-equation.cpp similarity index 100% rename from examples/transport-equation/tnl-transport-equation.cpp rename to src/Examples/transport-equation/tnl-transport-equation.cpp diff --git a/examples/transport-equation/tnl-transport-equation.cu b/src/Examples/transport-equation/tnl-transport-equation.cu similarity index 100% rename from examples/transport-equation/tnl-transport-equation.cu rename to src/Examples/transport-equation/tnl-transport-equation.cu diff --git a/examples/transport-equation/tnl-transport-equation.h b/src/Examples/transport-equation/tnl-transport-equation.h similarity index 100% rename from examples/transport-equation/tnl-transport-equation.h rename to src/Examples/transport-equation/tnl-transport-equation.h diff --git a/examples/transport-equation/transportEquationBuildConfigTag.h b/src/Examples/transport-equation/transportEquationBuildConfigTag.h similarity index 100% rename from examples/transport-equation/transportEquationBuildConfigTag.h rename to src/Examples/transport-equation/transportEquationBuildConfigTag.h diff --git a/examples/transport-equation/transportEquationProblem.h b/src/Examples/transport-equation/transportEquationProblem.h similarity index 100% rename from examples/transport-equation/transportEquationProblem.h rename to src/Examples/transport-equation/transportEquationProblem.h diff --git a/examples/transport-equation/transportEquationProblemEoc.h b/src/Examples/transport-equation/transportEquationProblemEoc.h similarity index 100% rename from examples/transport-equation/transportEquationProblemEoc.h rename to src/Examples/transport-equation/transportEquationProblemEoc.h diff --git a/examples/transport-equation/transportEquationProblemEoc_impl.h b/src/Examples/transport-equation/transportEquationProblemEoc_impl.h similarity index 100% rename from examples/transport-equation/transportEquationProblemEoc_impl.h rename to src/Examples/transport-equation/transportEquationProblemEoc_impl.h diff --git a/examples/transport-equation/transportEquationProblem_impl.h b/src/Examples/transport-equation/transportEquationProblem_impl.h similarity index 100% rename from examples/transport-equation/transportEquationProblem_impl.h rename to src/Examples/transport-equation/transportEquationProblem_impl.h -- GitLab