File kernel/src/modelingTools/FixedBC.hpp

Go to the source code of this file

class FixedBC : public BoundaryCondition
#include <>

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

Protected Functions

inline FixedBC()

protected default constructor