![]() |
3D Beam Finite Element Code
1.0
|
A boundary condition to enforce. More...
#include <containers.h>
Public Member Functions | |
| BC () | |
| Default Constructor. More... | |
| BC (unsigned int _node, unsigned int _dof, double _value) | |
| Constructor. More... | |
Public Attributes | |
| unsigned int | node |
| unsigned int | dof |
| double | value |
A boundary condition to enforce.
Set by specifying the node to constrain, which degree of freedom, and the value to hold the node at.
|
inline |
Default Constructor.
All values are set to zero.
|
inline |
Constructor.
| [in] | node | unsigned int. The index of the node. |
| [in] | dof | unsigned int. Degree of freedom to constrain (See fea::DOF). |
| [in] | value | double. The prescribed value for the boundary condition. |
| unsigned int fea::BC::dof |
The index of the dof to constrain. The fea::DOF enum can be used for specification or the integer values can be used directly 0==d_x, 1==d_y, ...
| unsigned int fea::BC::node |
The index of the node to constrain
| double fea::BC::value |
The value to hold the dof at.
1.8.10