diff --git a/dune/fem-dg/algorithm/caller/sub/datawriter.hh b/dune/fem-dg/algorithm/caller/sub/datawriter.hh index 4cb0674d70772e1a59de6b23fd38f9315b4ea523..dcd4705cf0ac68299e6f4a4a9779710971e7cf09 100644 --- a/dune/fem-dg/algorithm/caller/sub/datawriter.hh +++ b/dune/fem-dg/algorithm/caller/sub/datawriter.hh @@ -80,7 +80,9 @@ namespace Fem consLF.evaluate( x, cons ); - alg->paraview( t, xgl, cons, prim ); + //neglegt zero values + if( cons[0] > 1e-15 ) + alg->paraview( t, xgl, cons, prim ); return prim; });