Skip to content
Snippets Groups Projects
Commit f6502221 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Cleanup

parent a288b5b4
No related branches found
No related tags found
No related merge requests found
......@@ -113,8 +113,7 @@ void assemble_neumann(GridView const &gridView, FEBasis const &feBasis,
BoundaryPatch<GridView> const neumannBoundary(gridView, neumannNodes);
LocalVectorType SampleVector(0);
// FIXME: random values (time-dependent)
SampleVector[0] =
(time <= 0.5) ? sin(time * 2 * M_PI) * 1 : (time - 0.5) * 2 * 1;
SampleVector[0] = (time <= 0.5) ? sin(time * 2 * M_PI) : (time - 0.5) * 2;
SampleVector[1] = 0;
ConstantFunction<LocalVectorType, LocalVectorType> const fNeumann(
SampleVector);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment