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.
- Parameters
newVelocityIndices – the indices of the velocity subjected to prescribed velocities
-
virtual ~FixedBC()
destructor
-
virtual void computePrescribedVelocity(double time)
default function to compute the precribed velocities
- Parameters
time – : the current time
-
FixedBC(SP::UnsignedIntVector newVelocityIndices)