Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • s7603593/dune-microstructure
  • s7603593/dune-microstructure-backup
2 results
Show changes
Commits on Source (569)
Showing
with 116 additions and 0 deletions
# ignore all build folders
/build*/
build/
# ignore backup files
*~
# ignore python files
*.pyc
# ignore pdfs
*.pdf
#ignore log
*.log
# ignore vts
*.vts
*.vtu
#ignore output folders
/outputs_*/
/results_*/
# ignore png
*.png
#ignore kdevelop files
*.kdev4
---
variables:
DUNECI_CMAKE_FLAGS: "-DDUNE_PYTHON_FORCE_PYTHON3=TRUE"
# Install external dependencies
before_script: &before
- duneci-install-module https://gitlab.dune-project.org/fufem/dune-matrix-vector.git
- duneci-install-module https://git.imp.fu-berlin.de/agnumpde/dune-solvers.git
- duneci-install-module https://gitlab.dune-project.org/extensions/dune-vtk.git
- duneci-install-module https://gitlab.dune-project.org/fufem/dune-fufem.git
- duneci-install-module https://gitlab.dune-project.org/extensions/dune-gmsh4
- duneci-install-module https://gitlab.mn.tu-dresden.de/osander/dune-gfe.git
# Tests with the 2.10 release. That's the one in Debian trixie
#--------------------------------------------------------------------
dune:2.10 gcc-10:
image: registry.dune-project.org/docker/ci/dune:2.10-debian-11-gcc-10-20
variables:
DUNECI_BRANCH: releases/2.10
before_script:
- *before
script: duneci-standard-test
# Tests with the git master branch
# Some, but not all optional dependencies are made available.
#------------------------------------------------------------------
dune:git gcc-10 C++20:
image: registry.dune-project.org/docker/ci/dune:git-debian-11-gcc-10-20
before_script:
- *before
script: duneci-standard-test
dune:git clang-11 C++20:
image: registry.dune-project.org/docker/ci/dune:git-debian-11-clang-11-20
before_script:
- *before
script: duneci-standard-test
\ No newline at end of file
# We require CMake version 3.1 to prevent issues
# with dune_enable_all_packages and older CMake versions.
cmake_minimum_required(VERSION 3.1)
project(dune-microstructure CXX)
if(NOT (dune-common_DIR OR dune-common_ROOT OR
"${CMAKE_PREFIX_PATH}" MATCHES ".*dune-common.*"))
string(REPLACE ${CMAKE_PROJECT_NAME} dune-common dune-common_DIR
${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"
${dune-common_MODULE_PATH})
#include the dune macros
include(DuneMacros)
# start a dune project with information from dune.module
dune_project()
dune_enable_all_packages()
add_subdirectory(src)
add_subdirectory(dune)
add_subdirectory(doc)
add_subdirectory(cmake/modules)
add_subdirectory(test)
# finalize the dune project, e.g. generating config.h etc.
finalize_dune_project(GENERATE_CONFIG_H_CMAKE)
# Dune-microstructure changes
## Master
- The problem Setup is now simplified: Instead of having a .parset-File for parameters as well as a .py-File for the material (indicator functions etc.)
there now is only a single python module file containing both. Therefore the folders 'inputs' and 'materials' have been removed and replaced by the folder 'experiments'
The new Syntax for calling the microstructure solver:
'${MODULEPATH}/build-cmake/src/Cell-Problem ${experimentPath} experiment.py'
- The modul now features two unit tests: 'parametrizedlaminatetest' is used to compare against analytical results of a parametrized laminate geometry presented in
[Böhnlein,Neukamm,Padilla-Garza,Sander - A homogenized bending theory for prestrained plates]. 'orthotropicrotationtest' tests the rotation of material coordinate
frames with orthotropic material phases.
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.