6 #ifndef _PENALTY_EVENT_HANDLER_H
7 #define _PENALTY_EVENT_HANDLER_H
12 #include <Ravelin/LinAlgd.h>
13 #include <Moby/Base.h>
14 #include <Moby/Types.h>
16 #include <Moby/UnilateralConstraint.h>
17 #include <Moby/UnilateralConstraintProblemData.h>
26 void process_constraints(
const std::vector<UnilateralConstraint>& constraints)
const;
28 void apply_model(
const std::vector<UnilateralConstraint>& constraints)
const;
29 static double sqr(
double x) {
return x*x; }
Defines the mechanism for handling Penalty constraints.
Definition: PenaltyConstraintHandler.h:22
PenaltyConstraintHandler()
Sets up the default parameters for the Penalty constraint handler.
Definition: PenaltyConstraintHandler.cpp:41