for u and p. The problem is solved with an inexact Uszawa scheme for
p:
where Q_f is an approximation of the Jacobian A_f of f with respect to
u and Q_f is an approximation of A_g A_f^{-1} A_g with A_g is the
Jacobian of g with respect to p. As a the construction of a 'proper' Q_g
can be difficult, non-linear conjugate gradient method is applied to
solve for p, so Q_g plays in fact the role of a preconditioner.
|
|
__init__(self,
verbose=False,
*args)
Initializes the problem. |
|
|
float
|
inner(self,
p0,
p1)
Inner product of p0 and p1 approximating p. |
|
|
|
|
solve(self,
u0,
p0,
tolerance=1e-06,
tolerance_u=None,
iter_max=100,
accepted_reduction=0.995,
relaxation=None)
Runs the solver. |
|
|
|
escript.Data
|
solve_f(self,
u,
p,
tol=1e-08)
Solves |
|
|
|
escript.Data
|
|
|
|
trace(self,
text)
Prints text if verbose has been set. |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|