diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index 94530eb8a9887f2673f5d6cb9697c1890f60cceb..9611eb140d077553c12e81bc86d4b0d437a7ce23 100644 --- a/src/one-body-sample.cc +++ b/src/one-body-sample.cc @@ -101,8 +101,9 @@ void assemble_neumann(GridView const &gridView, FEBasis const &feBasis, int run) { // constant sample function on neumann boundary BoundaryPatch<GridView> neumannBoundary(gridView, neumannNodes); LocalVectorType SampleVector(0); - // FIXME: random values (time-independent) - SampleVector[0] = 1; + // FIXME: random values (time-dependent) + SampleVector[0] = + run / 10.0; // If we leave this fixed, we get into trouble for some reason SampleVector[1] = 0; ConstantFunction<LocalVectorType, LocalVectorType> fNeumann(SampleVector); NeumannBoundaryAssembler<GridType, LocalVectorType> neumannBoundaryAssembler(