1 function cont_gamma = get_continuity(model,A,W)
2 %
function cont_gamma = get_continuity(model,A,W)
4 % This
function computes the coercivity constant alpha
for a discrete
5 %
operator K with respect to the inner product matrix (mass matrix) W.
7 % A generalized eigenvalue problem is solved
for obtaining the continuity
11 % - K: Operator Matrix
12 % - W: inner product matrix
15 % - cont_gamma : continuity constant.
17 % This
function does exactly the same as get_infsup.m
18 % but returns the largest eigenvalue.
23 cont_gamma = sqrt(eigs(Y,W,1));