def preinitialize(self, mesh): """ Do pre-initialization setup. """ BoundaryCondition.preinitialize(self, mesh) Constraint.preinitialize(self, mesh) return
def finalize(self): """ Cleanup. """ BoundaryCondition.finalize(self) Constraint.finalize(self) return
def __init__(self, name="dirichletbc"): """ Constructor. """ BoundaryCondition.__init__(self, name) Constraint.__init__(self) self._loggingPrefix = "DiBC " return