A class for describing a PDE coefficient.
|
__CompTuple2(self,
t1,
t2)
Compares two tuples of possible number of equations and number of
solutions. |
|
|
|
__init__(self,
where,
pattern,
altering)
Initialises a PDE coefficient type. |
|
|
bool
|
definesNumEquation(self)
Checks if the coefficient allows to estimate the number of equations. |
|
|
bool
|
definesNumSolutions(self)
Checks if the coefficient allows to estimate the number of solution
components. |
|
|
tuple of two int values or
None
|
|
FunctionSpace
|
|
tuple of int values
|
getShape(self,
domain,
numEquations=1,
numSolutions=1)
Builds the required shape of the coefficient. |
|
|
Data
|
getValue(self)
Returns the value of the coefficient. |
|
|
bool
|
|
bool
|
|
|
resetValue(self)
Resets the coefficient value to the default. |
|
|
|
setValue(self,
domain,
numEquations=1,
numSolutions=1,
reducedEquationOrder=False,
reducedSolutionOrder=False,
newValue=None)
Sets the value of the coefficient to a new value. |
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
|
BOTH = 12
indicator that the the coefficient alters the operator as well as the
right hand side of the PDE
|
|
BOUNDARY = 1
indicator that coefficient is defined on the boundary of the PDE
domain
|
|
BOUNDARY_REDUCED = 14
indicator that coefficient is defined on the boundary of the PDE
domain using a reduced integration order
|
|
BY_DIM = 7
indicator that the dimension of the coefficient shape is defined by
the spatial dimension
|
|
BY_EQUATION = 5
indicator that the dimension of the coefficient shape is defined by
the number of PDE equations
|
|
BY_SOLUTION = 6
indicator that the dimension of the coefficient shape is defined by
the number of PDE solutions
|
|
CONTACT = 2
indicator that coefficient is defined on the contact region within
the PDE domain
|
|
CONTACT_REDUCED = 15
indicator that coefficient is defined on the contact region within
the PDE domain using a reduced integration order
|
|
INTERIOR = 0
indicator that coefficient is defined on the interior of the PDE
domain
|
|
INTERIOR_REDUCED = 13
indicator that coefficient is defined on the interior of the PDE
domain using a reduced integration order
|
|
OPERATOR = 10
indicator that the the coefficient alters the operator of the PDE
|
|
REDUCED = 4
indicator that coefficient is defined through a reduced solution of
the PDE
|
|
RIGHTHANDSIDE = 11
indicator that the the coefficient alters the right hand side of the
PDE
|
|
SOLUTION = 3
indicator that coefficient is defined through a solution of the PDE
|