|
|
__init__(self,
domain,
useReduced=False,
solver='POST',
verbose=False,
w=1.0)
initializes the Darcy flux problem
:param domain: domain of the problem
:type domain: Domain
:param useReduced: uses reduced oreder on flux and pressure
:type useReduced: bool
:param solver: solver method
:type solver: in [DarcyFlow.EVAL, DarcyFlow.POST', `DarcyFlow.SMOOTH' ]
:param verbose: if ``True` some information on the iteration progress are printed. |
|
|
|
escript.Data
|
getFlux(self,
p,
u0=None)
returns the flux for a given pressure p where the flux is equal to u0
on locations where location_of_fixed_flux is positive (see setValue). |
|
|
|
|
getSolverOptionsFlux(self)
Returns the solver options used to solve the flux problems
:return: SolverOptions |
|
|
|
|
getSolverOptionsPressure(self)
Returns the solver options used to solve the pressure problems
:return: SolverOptions |
|
|
|
|
setSolverOptionsFlux(self,
options=None)
Sets the solver options used to solve the flux problems
If options is not present, the options are reset to default
:param options: SolverOptions |
|
|
|
|
setSolverOptionsPressure(self,
options=None)
Sets the solver options used to solve the pressure problems
If options is not present, the options are reset to default |
|
|
|
|
setValue(self,
f=None,
g=None,
location_of_fixed_pressure=None,
location_of_fixed_flux=None,
permeability=None)
assigns values to model parameters |
|
|
|
tuple of escript.Data.
|
solve(self,
u0,
p0)
solves the problem. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|