diff --git a/CMakeLists.txt b/CMakeLists.txt index 610c5f74d05630677b3a6a3e703fdda26ca68cf0..55c1d328a6331d742d743f94ddf941c4dfd72c9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,6 @@ if(NOT (dune-common_DIR OR dune-common_ROOT OR ${PROJECT_BINARY_DIR}) endif() - #find dune-common and set the module path find_package(dune-common REQUIRED) list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules" diff --git a/dune.module b/dune.module index 7f0fcd8f05478fe6f00fd3ce060e5572568fd4c7..a103d5f05a2bbf646ab60c370536c81499a89c66 100644 --- a/dune.module +++ b/dune.module @@ -8,4 +8,4 @@ Version: 0.1 Maintainer: simon.praetorius@tu-dresden.de #depending on Depends: dune-common dune-geometry dune-localfunctions dune-typetree dune-grid dune-functions -Suggests: dune-uggrid dune-alugrid dune-foamgrid +#Suggests: dune-uggrid dune-alugrid dune-foamgrid diff --git a/dune/amdis/CMakeLists.txt b/dune/amdis/CMakeLists.txt index a0cfbd893df73cc693622e57b74b1837286cd9ca..308cba7107a703af00ccffcd263baea2e74e2397 100644 --- a/dune/amdis/CMakeLists.txt +++ b/dune/amdis/CMakeLists.txt @@ -35,12 +35,13 @@ install(FILES LocalAssembler.hpp LocalAssemblerBase.hpp Mesh.hpp + Operations.hpp Operators.hpp Output.hpp ProblemInstat.hpp ProblemInstat.inc.hpp ProblemInstatBase.hpp - ProblemInterationInterface.hpp + ProblemIterationInterface.hpp ProblemStat.hpp ProblemStat.inc.hpp ProblemStatBase.hpp @@ -55,4 +56,4 @@ add_subdirectory("gridfunctions") add_subdirectory("io") add_subdirectory("linear_algebra") add_subdirectory("operations") -add_subdirectory("utility") \ No newline at end of file +add_subdirectory("utility") diff --git a/dune/amdis/assembler/CMakeLists.txt b/dune/amdis/assembler/CMakeLists.txt index fd3abb09dbf748ee06c05ce4b8bfaf1750ab173e..97228e552c4f5226e204de196ca64efef8995fa9 100644 --- a/dune/amdis/assembler/CMakeLists.txt +++ b/dune/amdis/assembler/CMakeLists.txt @@ -18,4 +18,4 @@ install(FILES ZeroOrderTestvec.hpp ZeroOrderTestvecTrial.hpp ZeroOrderTestvecTrialvec.hpp -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/amdis/operators) +DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/amdis/assembler) diff --git a/dune/amdis/common/CMakeLists.txt b/dune/amdis/common/CMakeLists.txt index fb11b09588470fc0647c891fc4345d008c918cee..a808bc504605d427c5b3a7970592a689b531c957 100644 --- a/dune/amdis/common/CMakeLists.txt +++ b/dune/amdis/common/CMakeLists.txt @@ -1,6 +1,7 @@ #install headers install(FILES + Assigner.hpp ClonablePtr.hpp Concepts.hpp ConceptsBase.hpp @@ -10,7 +11,6 @@ install(FILES Loops.hpp Math.hpp Mpl.hpp - Operations.hpp OptionalDelete.hpp ScalarTypes.hpp Timer.hpp diff --git a/dune/amdis/linear_algebra/CMakeLists.txt b/dune/amdis/linear_algebra/CMakeLists.txt index 1fdefd5df83cf04b611e520c25964c35fc847d0a..7d878c8b345d238814aec8f3f7afe4ff91f39348 100644 --- a/dune/amdis/linear_algebra/CMakeLists.txt +++ b/dune/amdis/linear_algebra/CMakeLists.txt @@ -2,28 +2,11 @@ install(FILES HierarchicWrapper.hpp - LinearAlgebraBse.hpp + LinearAlgebraBase.hpp LinearSolverInterface.hpp PreconditionerInterface.hpp RunnerInterface.hpp SolverInfo.hpp - mtl/BITL_Preconditioner.hpp - mtl/BITL_Solver.hpp - mtl/BlockMTLMatrix.hpp - mtl/BlockMTLVector.hpp - mtl/Copy.hpp - mtl/DOFMatrix.hpp - mtl/DOFVector.hpp - mtl/ITL_Preconditioner.hpp - mtl/ITL_Solver.hpp - mtl/KrylovRunner.hpp - mtl/LinearSolver.hpp - mtl/Mapper.hpp - mtl/MTLDenseVector.hpp - mtl/Preconditioner.hpp - mtl/SystemMatrix.hpp - mtl/SystemVector.hpp - mtl/UmfpackRunner.hpp DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/amdis/linear_algebra) -add_subdirectory("mtl") \ No newline at end of file +add_subdirectory("mtl") diff --git a/dune/amdis/linear_algebra/mtl/CMakeLists.txt b/dune/amdis/linear_algebra/mtl/CMakeLists.txt index 490d448f2e1d9ccb42215f55c430a2d7d566a88e..0e3e8e956869c69035d1e0d607213f494b763277 100644 --- a/dune/amdis/linear_algebra/mtl/CMakeLists.txt +++ b/dune/amdis/linear_algebra/mtl/CMakeLists.txt @@ -22,3 +22,5 @@ install(FILES SystemVector.hpp UmfpackRunner.hpp DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/amdis/linear_algebra/mtl) + +add_subdirectory("itl") diff --git a/dune/amdis/linear_algebra/mtl/ITL_Preconditioner.hpp b/dune/amdis/linear_algebra/mtl/ITL_Preconditioner.hpp index c5e88cbb4796200a2392e731b20fcec9dd59e177..847a55f74fb2ebb1023993435dbf987cf0f63676 100644 --- a/dune/amdis/linear_algebra/mtl/ITL_Preconditioner.hpp +++ b/dune/amdis/linear_algebra/mtl/ITL_Preconditioner.hpp @@ -8,7 +8,7 @@ #include <boost/numeric/itl/pc/ic_0.hpp> #include <boost/numeric/mtl/vector/assigner.hpp> -#include "itl/masslumping.hpp" +#include <dune/amdis/linear_algebra/mtl/itl/masslumping.hpp> #include <dune/amdis/CreatorMap.hpp> #include <dune/amdis/linear_algebra/mtl/Preconditioner.hpp> diff --git a/dune/amdis/linear_algebra/mtl/ITL_Solver.hpp b/dune/amdis/linear_algebra/mtl/ITL_Solver.hpp index 234e38ebcedb746127c2f771a7b95b37254d9ba6..038a97972e54457cb00fa289cb3801621f23456f 100644 --- a/dune/amdis/linear_algebra/mtl/ITL_Solver.hpp +++ b/dune/amdis/linear_algebra/mtl/ITL_Solver.hpp @@ -18,13 +18,13 @@ // #include <boost/numeric/itl/krylov/tfqmr.hpp> // more solvers defined in AMDiS -#include "itl/minres.hpp" -#include "itl/gcr.hpp" -#include "itl/fgmres.hpp" -#include "itl/fgmres_householder.hpp" -#include "itl/gmres2.hpp" -#include "itl/gmres_householder.hpp" -#include "itl/preonly.hpp" +#include <dune/amdis/linear_algebra/mtl/itl/minres.hpp> +#include <dune/amdis/linear_algebra/mtl/itl/gcr.hpp> +#include <dune/amdis/linear_algebra/mtl/itl/fgmres.hpp> +#include <dune/amdis/linear_algebra/mtl/itl/fgmres_householder.hpp> +#include <dune/amdis/linear_algebra/mtl/itl/gmres2.hpp> +#include <dune/amdis/linear_algebra/mtl/itl/gmres_householder.hpp> +#include <dune/amdis/linear_algebra/mtl/itl/preonly.hpp> #include <dune/amdis/CreatorMap.hpp> #include <dune/amdis/Initfile.hpp> diff --git a/dune/amdis/linear_algebra/mtl/itl/CMakeLists.txt b/dune/amdis/linear_algebra/mtl/itl/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..d9f502823ae62c54fdd8033320217f6bc39e1d36 --- /dev/null +++ b/dune/amdis/linear_algebra/mtl/itl/CMakeLists.txt @@ -0,0 +1,14 @@ +install(FILES + block_diagonal.hpp + details.hpp + fgmres_householder.hpp + fgmres.hpp + gcr.hpp + gmres2.hpp + gmres_householder.hpp + hypre.hpp + masslumping.hpp + minres.hpp + preonly.hpp + umfpack2_solve.hpp +DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/amdis/linear_algebra/mtl/itl)