Navigation

Operators and Keywords

Function List:

C++ API

Function File: [norm_u] = bim1c_norm(mesh,u,norm_type)

Compute the norm_type-norm of function u on the domain described by the triangular grid mesh.

The input function u can be either a piecewise linear conforming scalar function or an elementwise constant scalar or vector function.

The string parameter norm_type can be one among ’L2’, ’H1’ and ’inf’.

Should the input function be piecewise constant, the H1 norm will not be computed and the function will return an error message.

See also: bim2c_norm, bim3c_norm.

Package: bim