20 , mComponent(component)
21 , mCoefficient(coefficient)
24 throw Exception(__PRETTY_FUNCTION__,
"Term construction failed. Node has " +
26 " components and you tried to constrain component " +
27 std::to_string(component) +
".");
50 return mNode.get().GetDofNumber(mComponent);
57 std::reference_wrapper<const NodeSimple> mNode;
double GetCoefficient() const
getter for mCoefficient
Definition: Term.h:43
Store node values and its dof.
Definition: NodeSimple.h:11
Base class for all exceptions thrown in NuTo.
Definition: Exception.h:9
int GetComponent() const
getter for mComponent
Definition: Term.h:37
int GetNumValues() const
Definition: NodeSimple.h:82
Term(const NodeSimple &node, int component, double coefficient)
ctor that sets all members so that the term consists of ...
Definition: Term.h:18
node
Definition: Brick8NCoupling.py:104
Definition: Exception.h:6
int GetConstrainedDofNumber() const
Definition: Term.h:48
const NodeSimple & GetNode() const
getter for mNode
Definition: Term.h:31
stores constraint equation terms
Definition: Term.h:10