20 #ifndef LIBMESH_FE_TYPE_H 21 #define LIBMESH_FE_TYPE_H 55 _order(static_cast<int>(order))
104 #define OrderWrapperOperators(comparisontype) \ 105 inline bool operator==(comparisontype lhs, Order rhs) \ 106 { return lhs == static_cast<comparisontype>(rhs); } \ 107 inline bool operator==(Order lhs, comparisontype rhs) \ 108 { return static_cast<comparisontype>(lhs) == rhs; } \ 109 inline bool operator!=(comparisontype lhs, Order rhs) \ 110 { return !(lhs == rhs); } \ 111 inline bool operator!=(Order lhs, comparisontype rhs) \ 112 { return !(lhs == rhs); } \ 113 inline bool operator< (comparisontype lhs, Order rhs) \ 114 { return lhs < static_cast<comparisontype>(rhs); } \ 115 inline bool operator< (Order lhs, comparisontype rhs) \ 116 { return static_cast<comparisontype>(lhs) < rhs; } \ 117 inline bool operator> (comparisontype lhs, Order rhs) \ 118 { return rhs < lhs; } \ 119 inline bool operator> (Order lhs, comparisontype rhs) \ 120 { return rhs < lhs; } \ 121 inline bool operator<=(comparisontype lhs, Order rhs) \ 122 { return !(lhs > rhs); } \ 123 inline bool operator<=(Order lhs, comparisontype rhs) \ 124 { return !(lhs > rhs); } \ 125 inline bool operator>=(comparisontype lhs, Order rhs) \ 126 { return !(lhs < rhs); } \ 127 inline bool operator>=(Order lhs, comparisontype rhs) \ 128 { return !(lhs < rhs); } 132 #if LIBMESH_SIZEOF_SIZE_T != LIBMESH_SIZEOF_UNSIGNED_INT 183 #ifndef LIBMESH_ENABLE_INFINITE_ELEMENTS 219 const int ro =
THIRD,
260 #endif // ifndef LIBMESH_ENABLE_INFINITE_ELEMENTS 269 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS
282 return !(*
this == f2);
295 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 302 #endif // ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS 321 const int extraorder=0)
const;
341 #endif // LIBMESH_FE_TYPE_H Manages the family, order, etc. parameters for a given FE.
bool operator==(const FEType &f2) const
OrderWrapperOperators(int) OrderWrapperOperators(unsigned int) OrderWrapperOperators(std
bool operator<(const OrderWrapper &lhs, const OrderWrapper &rhs)
OrderWrapper radial_order
Order default_quadrature_order() const
bool operator>=(const OrderWrapper &lhs, const OrderWrapper &rhs)
bool operator!=(const OrderWrapper &lhs, const OrderWrapper &rhs)
bool operator<=(const OrderWrapper &lhs, const OrderWrapper &rhs)
bool operator!=(const FEType &f2) const
std::unique_ptr< QBase > default_quadrature_rule(const unsigned int dim, const int extraorder=0) const
bool operator>(const OrderWrapper &lhs, const OrderWrapper &rhs)
FEType(const int o=1, const FEFamily f=LAGRANGE)
bool operator==(const OrderWrapper &lhs, const OrderWrapper &rhs)
bool operator<(const FEType &f2) const
FEType(const int o=1, const FEFamily f=LAGRANGE, const int ro=THIRD, const FEFamily rf=JACOBI_20_00, const InfMapType im=CARTESIAN)
std::ostream & operator<<(std::ostream &os, const FEAbstract &fe)
OrderWrapper(Order order)