A ConditionalModifier class.
Definition: ConditionalModifier.h:41
A Constraint class.
Definition: Constraint.h:36
unsigned get_multiplier_size() const
Definition: Constraint.cpp:48
const sp_mat & get_stiffness() const
Definition: Constraint.cpp:32
Constraint(unsigned, unsigned, unsigned, uvec &&, uvec &&, unsigned)
Definition: Constraint.cpp:22
~Constraint() override=default
const sp_vec & get_resistance() const
Definition: Constraint.cpp:26
Constraint & operator=(const Constraint &)=delete
const sp_mat & get_auxiliary_stiffness() const
Definition: Constraint.cpp:30
sp_mat stiffness
Definition: Constraint.h:46
const vec & get_auxiliary_load() const
Definition: Constraint.cpp:34
sp_vec resistance
Definition: Constraint.h:45
vec current_lambda
Definition: Constraint.h:43
Constraint(Constraint &&)=delete
friend void set_constraint_multiplier(double)
Definition: Constraint.cpp:50
Constraint(const Constraint &)=delete
Constraint & operator=(Constraint &&)=delete
unsigned num_size
Definition: Constraint.h:40
vec trial_lambda
Definition: Constraint.h:42
const vec & get_auxiliary_resistance() const
Definition: Constraint.cpp:28
sp_mat auxiliary_stiffness
Definition: Constraint.h:50
vec auxiliary_load
Definition: Constraint.h:49
void set_multiplier_size(unsigned)
At the beginning of each sub-step, it is assumed that constraints are not active (constraining condit...
Definition: Constraint.cpp:42
static double multiplier
Definition: Constraint.h:38
vec auxiliary_resistance
Definition: Constraint.h:48
void set_constraint_multiplier(double)
Definition: Constraint.cpp:50