BoundaryCondition#

class planestress.pre.boundary_condition.BoundaryCondition[source]#

Bases: object

Abstract base class for a boundary condition.

Variables:

mesh_tag – Tagged entity object.

Methods

apply_bc

Applies the boundary condition.

__init__() None[source]#

Inits the BoundaryCondition class.

apply_bc(k: ndarray[Any, dtype[float64]], f: ndarray[Any, dtype[float64]]) tuple[ndarray[Any, dtype[float64]], ndarray[Any, dtype[float64]]][source]#

Applies the boundary condition.

Parameters:
Raises:

NotImplementedError – If this method has not been implemented.

Return type:

tuple[ndarray[Any, dtype[float64]], ndarray[Any, dtype[float64]]]