mpc.hh
Go to the documentation of this file.
void removeMaster(size_t pos) Removes the pos'th master DOF from the constraint equation. Definition: mpc.hh:126 Definition: applier.hpp:18 static bool compareSlaveDofOnly Indicates whether only the slave dof number should affect sorting. Definition: mpc.hh:96 const DOF & getSlave() const Returns a reference to the slave DOF. Definition: mpc.hh:139 Definition: mpc.hh:26 friend std::ostream & operator<<(std::ostream &s, const MPC &mpc) Global stream operator printing a constraint equation. MPC(int n, int d, double c=double(0)) Constructor creating a constraint for a specified slave DOF with no master DOFs. Definition: mpc.hh:105 A class for representing a general multi-point constraint equation. Definition: mpc.hh:58 std::map< int, MPC * > MPCMap A mapping from dof to MPCs. Definition: mpc.hh:159 const DOF & getMaster(size_t i) const Returns a reference to the i'th master DOF. Definition: mpc.hh:141 Definition: mpc.hh:25 Definition: mpc.hh:24 size_t getNoMaster() const Returns the number of master DOFs. Definition: mpc.hh:144 friend std::ostream & operator<<(std::ostream &s, const DOF &dof) Global stream operator printing a DOF instance. Definition: mpc.hh:78 void updateMaster(size_t pos, double c) Updates the coefficient of the pos'th master DOF. Definition: mpc.hh:119 Definition: mpc.hh:24 void addOffset(double offset) Increments the c0 coefficient by a given offset. Definition: mpc.hh:133 void setSlaveCoeff(double c0) Assigns a new c0 coefficient to the constraint equation. Definition: mpc.hh:136 Definition: mpc.hh:24 Direction An enum for specification of global coordinate directions. Definition: mpc.hh:24 A struct for representing one term (DOF number and associated coefficient) in a MPC equation... Definition: mpc.hh:66 DOF(int n, int d, double c=double(0)) Convenience constructor creating a valid DOF object. Definition: mpc.hh:75 double coeff The constrained value, or master DOF scaling coefficient. Definition: mpc.hh:85 Definition: mpc.hh:24 bool operator()(const MPC *lhs, const MPC *rhs) const Comparison operator used when inserting an MPC-pointer into a set Definition: mpc.hh:25 void addMaster(int n, int d, double c=double(1), double tol=double(1.0e-8)) Adds a master DOF to the constraint equation. Definition: mpc.hh:113 Definition: mpc.hh:25 |