fipy.boundaryConditions.nthOrderBoundaryCondition¶
Boundary condition of specified derivative order
Classes
|
Adds an appropriate contribution to the system of equations |
- class fipy.boundaryConditions.nthOrderBoundaryCondition.NthOrderBoundaryCondition(faces, value, order)¶
Bases:
BoundaryCondition
Adds an appropriate contribution to the system of equations
Implements
This boundary condition is generally used in conjunction with a ImplicitDiffusionTerm that has multiple coefficients. It does not have any direct effect on the solution matrices, but its derivatives do.
Creates an NthOrderBoundaryCondition.
- Parameters:
faces (
FaceVariable
ofbool
) – Mask of faces where this condition applies.value (
float
) – Value to impose.order (
int
) – Order of the boundary condition. An order of 0 corresponds to a FixedValue and an order of 1 corresponds to a FixedFlux. Even and odd orders behave like FixedValue and FixedFlux objects, respectively, but apply to higher order terms.
- __repr__()¶
Return repr(self).