Rheolef  7.1
an efficient C++ finite element environment
p_laplacian2.icc
Go to the documentation of this file.
26  field rh (Xh, 0);
27  pm.solve (mrh, rh);
28  field mgh = a1*rh;
29  mgh.set_b() = 0;
30  return mgh;
31 }
32 Float p_laplacian::space_norm (const field& uh) const {
33  return sqrt (m(uh,uh));
34 }
36  field rh (Xh, 0);
37  pm.solve (mrh, rh);
38  return sqrt (dual(mrh, rh));
39 }
see the Float page for the full documentation
see the field page for the full documentation
Float dual_space_norm(const field &mrh) const
field derivative_trans_mult(const field &mrh) const
Float space_norm(const field &uh) const
problem pm
Definition: p_laplacian.h:41
rheolef::std enable_if ::type dual const Expr1 expr1, const Expr2 expr2 dual(const Expr1 &expr1, const Expr2 &expr2)
Definition: field_expr.h:260