13 #if !defined(SLIP_CONSTRAINT_H)
14 #define SLIP_CONSTRAINT_H
145 const DofPointerVectorType& rSlaveDofsVector,
146 const DofPointerVectorType& rMasterDofsVector,
154 void SetSlaveDofsVector(
const DofPointerVectorType& rSlaveDofsVector)
override ;
160 void SetMasterDofsVector(
const DofPointerVectorType& rMasterDofsVector)
override ;
184 std::string GetInfo()
const override ;
190 void PrintInfo(std::ostream &rOStream)
const override;
194 void ConstructorHelper(
195 DofPointerVectorType& rAllDofs,
229 void save(
Serializer &rSerializer)
const override
251 rOStream << std::endl;
Dof represents a degree of freedom (DoF).
Definition: dof.h:86
This class allows to add a master-slave constraint which is of the form SlaveDofVector = T * MasterDo...
Definition: linear_master_slave_constraint.h:58
BaseType::IndexType IndexType
The index type definition.
Definition: linear_master_slave_constraint.h:67
std::size_t IndexType
The index type definition.
Definition: master_slave_constraint.h:85
std::vector< std::size_t > EquationIdVectorType
The equation Id vector type definition.
Definition: master_slave_constraint.h:97
std::vector< DofType::Pointer > DofPointerVectorType
The DoF pointer vector type definition.
Definition: master_slave_constraint.h:91
This class defines the node.
Definition: node.h:65
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
This constructs a constraint which imposes that v * n = 0 where: v is a variable n is the unit normal...
Definition: slip_constraint.h:56
BaseType::MatrixType MatrixType
The matrix type definition.
Definition: slip_constraint.h:80
BaseType::DofType DofType
The DoF type definition.
Definition: slip_constraint.h:68
KRATOS_CLASS_POINTER_DEFINITION(SlipConstraint)
Pointer definition of DataValueContainer.
~SlipConstraint() override
Destructor.
Definition: slip_constraint.h:126
BaseType::VariableType VariableType
The variable type definition (double)
Definition: slip_constraint.h:86
BaseType::IndexType IndexType
The index type definition.
Definition: slip_constraint.h:65
BaseType::NodeType NodeType
The node type definition.
Definition: slip_constraint.h:74
LinearMasterSlaveConstraint BaseType
The definition of the base class, we take the rest of the definitions from the base class.
Definition: slip_constraint.h:62
void PrintInfo(std::ostream &rOStream) const override
This method prints the current Constraint Id.
Definition: slip_constraint.cpp:153
BaseType::VectorType VectorType
The vector type definition.
Definition: slip_constraint.h:83
BaseType::DofPointerVectorType DofPointerVectorType
The DoF pointer vector type definition.
Definition: slip_constraint.h:71
BaseType::EquationIdVectorType EquationIdVectorType
The equation Id vector type definition.
Definition: slip_constraint.h:77
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
def load(f)
Definition: ode_solve.py:307