diff --git a/dune-sequential.opts b/dune-sequential.opts new file mode 100755 index 0000000000000000000000000000000000000000..6b5af3f7e50c500d39ac1cb6d598c95cbd163f2e --- /dev/null +++ b/dune-sequential.opts @@ -0,0 +1,2 @@ +# set flags for CMake: +CMAKE_FLAGS="-DCMAKE_CXX_FLAGS='-g -fdiagnostics-color=always -Wall -fmax-errors=2 -DHAVE_CSTDDEF' -DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE -DUG_ENABLE_PARALLEL=false -DCMAKE_BUILD_TYPE=Debug" diff --git a/dune/microstructure/materialDefinitions.hh b/dune/microstructure/materialDefinitions.hh index 307de33c632fdfac963de2fc896abf95d534d3cb..f4e6ee147907235ef1ce01212139d2e0a668a59f 100644 --- a/dune/microstructure/materialDefinitions.hh +++ b/dune/microstructure/materialDefinitions.hh @@ -35,7 +35,7 @@ using VectorRT = FieldVector< double, 3>; const FieldVector<double,3> mu = {80.0, 80.0, 60.0}; const FieldVector<double,3> lambda = {80.0, 80.0, 25.0}; if (phase == 1) - return 2.0 * mu[0] * sym(G) + lambda[0] * trace(sym(G)) * Id(); //#Phase1 + return 2.0 * mu[0] * sym(G) + lambda[0] * trace(sym(G)) * Id(); //#Phase1 //Isotrop(mu,lambda) else if (phase == 2) return 2.0 * mu[1] * sym(G) + lambda[1] * trace(sym(G)) * Id(); //#Phase2 else