From 6b309a5b8fffbed1f24ce11909e4f0a9474668c9 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Mon, 27 Feb 2012 09:21:10 +0100 Subject: [PATCH] A new problem --- src/one-body-sample.cc | 2 +- src/one-body-sample.parset | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index e9b6c75a..4c7c0bf6 100644 --- a/src/one-body-sample.cc +++ b/src/one-body-sample.cc @@ -114,7 +114,7 @@ void assemble_neumann(GridView const &gridView, FEBasis const &feBasis, LocalVectorType SampleVector(0); // FIXME: random values (time-dependent) SampleVector[0] = - (time <= 0.5) ? sin(time * 2 * M_PI) * 1e3 : (time - 0.5) * 2 * 1e4; + (time <= 0.5) ? sin(time * 2 * M_PI) * 1e5 : (time - 0.5) * 2 * 1e5; SampleVector[1] = 0; ConstantFunction<LocalVectorType, LocalVectorType> const fNeumann( SampleVector); diff --git a/src/one-body-sample.parset b/src/one-body-sample.parset index 4756b44c..764632c2 100644 --- a/src/one-body-sample.parset +++ b/src/one-body-sample.parset @@ -1,5 +1,5 @@ # -*- mode:conf -*- -timesteps = 30 +timesteps = 300 verbose = false printEvolution = true @@ -7,10 +7,10 @@ printFrictionalBoundary = false printProgress = false printDifference = false -writeVTK = false +writeVTK = true [grid] -refinements = 3 +refinements = 5 [body] E = 1e6 -- GitLab