MAST
|
This constrains the slave nodes to be kinematically constrained to the master node. More...
#include <kinematic_coupling.h>
Public Member Functions | |
KinematicCoupling (MAST::SystemInitialization &sys_init) | |
virtual | ~KinematicCoupling () |
void | add_master_and_slave (const std::set< const libMesh::Node * > &master, const libMesh::Node &slave, bool constrain_rotations) |
Constrain the slave node to the specified set of master nodes. More... | |
void | add_master_and_slave (const std::vector< std::pair< const libMesh::Node *, std::set< const libMesh::Node * >>> &couplings, bool constrain_rotations) |
provides a vector of the pair of slave and set of master nodes. More... | |
void | add_dof_constraints_to_dof_map () |
initializes the dof constraint rows in the DofMap object associated with the system. More... | |
virtual void | get_constraint_rows (std::vector< std::tuple< libMesh::dof_id_type, libMesh::DofConstraintRow, Real >> &constrs) |
Provides the vector of constraints and right-hand-side value pairs to be added to the system. More... | |
Public Member Functions inherited from MAST::DoFCouplingBase | |
DoFCouplingBase (MAST::SystemInitialization &sys_init) | |
virtual | ~DoFCouplingBase () |
Protected Attributes | |
bool | _initialized |
std::map< const libMesh::Node *, const MAST::KinematicCouplingConstraint * > | _slave_node_constraints |
Protected Attributes inherited from MAST::DoFCouplingBase | |
MAST::SystemInitialization & | _system_init |
This constrains the slave nodes to be kinematically constrained to the master node.
Definition at line 45 of file kinematic_coupling.h.
MAST::KinematicCoupling::KinematicCoupling | ( | MAST::SystemInitialization & | sys_init | ) |
Definition at line 31 of file kinematic_coupling.cpp.
|
virtual |
Definition at line 38 of file kinematic_coupling.cpp.
void MAST::KinematicCoupling::add_dof_constraints_to_dof_map | ( | ) |
initializes the dof constraint rows in the DofMap object associated with the system.
Definition at line 84 of file kinematic_coupling.cpp.
void MAST::KinematicCoupling::add_master_and_slave | ( | const std::set< const libMesh::Node * > & | master, |
const libMesh::Node & | slave, | ||
bool | constrain_rotations | ||
) |
Constrain the slave node to the specified set of master nodes.
A geometric relation is used to compute the weights for each master dof. If constrain_rotations
is true
then the rotations of the slave nodes are constrained to those of the master nodes. Otherwise, the constraint acts as a pinned connection.
Definition at line 65 of file kinematic_coupling.cpp.
void MAST::KinematicCoupling::add_master_and_slave | ( | const std::vector< std::pair< const libMesh::Node *, std::set< const libMesh::Node * >>> & | couplings, |
bool | constrain_rotations | ||
) |
provides a vector of the pair of slave and set of master nodes.
Definition at line 53 of file kinematic_coupling.cpp.
|
virtual |
Provides the vector of constraints and right-hand-side value pairs to be added to the system.
Implements MAST::DoFCouplingBase.
Definition at line 106 of file kinematic_coupling.cpp.
|
protected |
Definition at line 92 of file kinematic_coupling.h.
|
protected |
Definition at line 94 of file kinematic_coupling.h.