|
IFEM
90A354
|
A struct representing one term in a multi-point constraint equation. More...
#include <MPC.h>

Public Member Functions | |
| DOF () | |
| Default constructor. | |
| DOF (int n, int d, Real c) | |
| Convenience constructor creating a valid DOF object. More... | |
Public Attributes | |
| int | node |
| Node number identifying this DOF. | |
| int | dof |
| Local DOF number within node. | |
| Real | coeff |
| The constrained value, or master DOF scaling coefficient. | |
| MPC * | nextc |
| Points to another MPC object in case of chained constraints. | |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const DOF &dof) |
| Global stream operator printing a DOF instance. | |
| bool | operator== (const DOF &a, const DOF &b) |
| Global equality operator. | |
A struct representing one term in a multi-point constraint equation.
Each term consists of the DOF index and an associated coefficient.
|
inline |
Convenience constructor creating a valid DOF object.
| [in] | n | Node number (1...NNOD) |
| [in] | d | The local DOF number (1...3) |
| [in] | c | Associated coefficient or constrained value |