IFEM  90A354
MPCLess.h
Go to the documentation of this file.
1 // $Id$
2 //==============================================================================
12 //==============================================================================
13 
14 #ifndef _MPC_LESS_H
15 #define _MPC_LESS_H
16 
17 class MPC;
18 
19 
24 class MPCLess
25 {
26 public:
29  bool operator()(const MPC* lhs, const MPC* rhs) const;
32  static bool compareSlaveDofOnly;
33 };
34 
35 #endif
Functor used to sort a set of MPC pointers.
Definition: MPCLess.h:25
static bool compareSlaveDofOnly
Indicates whether only the slave DOF number should affect sorting.
Definition: MPCLess.h:32
bool operator()(const MPC *lhs, const MPC *rhs) const
Comparison operator used when inserting an MPC pointer into a std::set<MPC*,MPCLess> object.
Definition: MPC.C:39
A class representing a general multi-point constraint equation.
Definition: MPC.h:52