# siconos.kernel.FixedBC (Python class)¶

class siconos.kernel.FixedBC(*args)[source]

Bases: siconos.kernel.BoundaryCondition

This class models a simple fixed boundary conditions for prescribing the velocities in a Dynamical System.

A simple boundary condition is considered to fix a component $$j$$ of the velocity vector, i.e., $$v_j(t) = 0$$

Generated class (swig), based on C++ header Program listing for file kernel/src/modelingTools/FixedBC.hpp.

Constructors

FixedBC(UnsignedIntVector newVelocityIndices)

Basic constructor.

Parameters: newVelocityIndices – the indices of the velocity subjected to prescribed velocities
computePrescribedVelocity(double time) → None[source]

default function to compute the precribed velocities

Parameters: time – : the current time