Class FixedBC

Defined in Program listing for file kernel/src/modelingTools/FixedBC.hpp

class FixedBC : public 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\)

Public Functions

FixedBC(SP::UnsignedIntVector newVelocityIndices)

Basic constructor.

  • newVelocityIndices: the indices of the velocity subjected to prescribed velocities

virtual ~FixedBC()


virtual void computePrescribedVelocity(double time)

default function to compute the precribed velocities

  • time: : the current time