1 #ifndef _fei_DirichletBCRecord_hpp_
2 #define _fei_DirichletBCRecord_hpp_
12 #include <fei_macros.hpp>
16 struct DirichletBCRecord {
21 double prescribedValue;
23 bool operator!=(
const DirichletBCRecord& rhs)
const
25 return IDType != rhs.IDType || ID != rhs.ID ||
26 fieldID != rhs.fieldID || whichComponent != rhs.whichComponent;
30 class less_DirichletBCRecord {
32 less_DirichletBCRecord(){}
33 ~less_DirichletBCRecord(){}
35 bool operator()(
const DirichletBCRecord& lhs,
36 const DirichletBCRecord& rhs)
38 if (lhs.IDType < rhs.IDType)
return true;
39 if (lhs.IDType > rhs.IDType)
return false;
41 if (lhs.ID < rhs.ID)
return true;
42 if (lhs.ID > rhs.ID)
return false;
44 if (lhs.fieldID < rhs.fieldID)
return true;
45 if (lhs.fieldID > rhs.fieldID)
return false;
47 if (lhs.whichComponent < rhs.whichComponent)
return true;
48 if (lhs.whichComponent > rhs.whichComponent)
return false;
bool operator!=(const SharedPtr< T > &a, const SharedPtr< U > &b)