SequentialFiltering

generate writeout to timestep files due to simple sequential filters

In many cases, the user wishes to reduce the data produced by the .timestep files. If INTEGRATION data are explicitly written to a dedicated .timestep file by the begin_timestepfile{-clause, then one can define time filters. Example: additinal sequential filtering
begin_timestepfile{"TimeStatistics"} filter{ %INTEGRATION_FilterBy...%, filterThreshold } INTEGRATION($IntInd1$) = ( %PUBLICVALUE%, [real(%RealTimeSimulation%)]) # this puts the time into the first column INTEGRATION($IntInd2$) = ( %PUBLICVALUE_CLOCKstatistics%, 1, "ADMIN_TIME_INTEG.ORGANIZE" ) INTEGRATION($IntInd3$) = ( %PUBLICVALUE_CLOCKstatistics%, 1, "ADMIN_TIME_INTEG.FLIQUID" ) end_timestepfile
Over a number of time cycles, the filtered integration results are averaged by the following way: \begin{align} u^{integ}_{average} = \frac{1}{2} \frac{ \sum \limits_{i \in N} (u^{integ}_i+u^{integ}_{i-1})(t_i-t_{i-1})}{ \sum \limits_{i \in N} (t_i-t_{i-1})}\end{align} that means it is a weighted average with the time step size to be the weight. In this way, we can guarantee conservation properties of some variables like momentum etc.
List of members:
%INTEGRATION_FilterByTime% trigger the write outs time .timestep files based on intervals of simulation time
%INTEGRATION_FilterByTimestepCounter% trigger the write outs time .timestep files based on intervals of number of time steps executed