proteus.BoundaryConditions module
- class proteus.BoundaryConditions.BC_Base(shape=None, name=None, b_or=None, b_i=0, nd=None)[source]
Bases:
object
Generic class regrouping boundary conditions
- class proteus.BoundaryConditions.BoundaryCondition[source]
Bases:
object
Boundary condition class
- Variables
uOfXT (func or None) – boundary condition function of x (array_like) and t (float) or None for no boundary condition
- setConstantBC(self, value)[source]
function returning constant BC
- Parameters
value (float) – Constant value
- setLinearBC(self, a0, a)[source]
function returning value=a0+ax*x+ay*y+az*z
- Parameters
a0 (float) – constant
a (numpy.ndarray) – ax,ay,az