![]() | ![]() | ![]() | Gerris Flow Solver Reference Manual | ![]() |
---|
#include <gfs.h> GfsNorm;void gfs_norm_init (GfsNorm *n);void gfs_norm_add (GfsNorm *n,gdouble val,gdouble weight);void gfs_norm_update (GfsNorm *n);void gfs_norm_reset (GfsNorm *n);
typedef struct { gdouble bias, first, second, infty, w; } GfsNorm;
Contains simple norm statistics.
void gfs_norm_add (GfsNorm *n,gdouble val,gdouble weight);
Adds val
to n
.
n : | a GfsNorm. |
val : | a value to add to |
weight : | weight of |
<<< Support functions | Functions >>> |