20 #ifndef __mast__kinematic_coupling_constraint_h__ 21 #define __mast__kinematic_coupling_constraint_h__ 27 #include "libmesh/node.h" 28 #include "libmesh/dof_map.h" 34 class SystemInitialization;
76 const libMesh::Node& slave_node,
77 const std::set<const libMesh::Node*>& master_nodes,
78 bool constrain_rotations);
97 <libMesh::dof_id_type,
98 libMesh::DofConstraintRow,
99 Real>>& constraints)
const;
110 #endif // __mast__kinematic_coupling_constraint_h__
const libMesh::Node * _slave
virtual ~KinematicCouplingConstraint()
This object stores the information about the coupling of nodes.
KinematicCouplingConstraint(MAST::SystemInitialization &sys_init, const libMesh::Node &slave_node, const std::set< const libMesh::Node * > &master_nodes, bool constrain_rotations)
MAST::SystemInitialization & _sys_init
bool _constrain_rotations
void get_dof_constraint_row(std::vector< std::tuple< libMesh::dof_id_type, libMesh::DofConstraintRow, Real >> &constraints) const
initializes the vector of libMesh::DofConstraintRow objects and rhs values for this node ...
std::set< const libMesh::Node * > _masters
unsigned int n_constrain_nodes() const