MAST
MAST::KinematicCoupling Class Reference

This constrains the slave nodes to be kinematically constrained to the master node. More...

#include <kinematic_coupling.h>

Inheritance diagram for MAST::KinematicCoupling:
Collaboration diagram for MAST::KinematicCoupling:

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
 

Detailed Description

This constrains the slave nodes to be kinematically constrained to the master node.

Definition at line 45 of file kinematic_coupling.h.

Constructor & Destructor Documentation

MAST::KinematicCoupling::KinematicCoupling ( MAST::SystemInitialization sys_init)

Definition at line 31 of file kinematic_coupling.cpp.

MAST::KinematicCoupling::~KinematicCoupling ( )
virtual

Definition at line 38 of file kinematic_coupling.cpp.

Member Function Documentation

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.

Here is the call graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

void MAST::KinematicCoupling::get_constraint_rows ( std::vector< std::tuple< libMesh::dof_id_type, libMesh::DofConstraintRow, Real >> &  constrs)
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.

Here is the caller graph for this function:

Member Data Documentation

bool MAST::KinematicCoupling::_initialized
protected

Definition at line 92 of file kinematic_coupling.h.

std::map<const libMesh::Node*, const MAST::KinematicCouplingConstraint*> MAST::KinematicCoupling::_slave_node_constraints
protected

Definition at line 94 of file kinematic_coupling.h.


The documentation for this class was generated from the following files: