libMesh
|
This provides a shim class that wraps the Order enum. More...
#include <fe_type.h>
Public Member Functions | |
OrderWrapper (Order order) | |
Constructor. More... | |
OrderWrapper (int order) | |
Constructor. More... | |
operator Order () const | |
Operator that enables implicit conversion to an Order enum. More... | |
int | get_order () const |
Explicitly request the order as an int. More... | |
template<typename T > | |
OrderWrapper & | operator+= (T p) |
template<typename T > | |
OrderWrapper & | operator-= (T p) |
Private Attributes | |
int | _order |
The approximation order of the element. More... | |
Friends | |
struct | std::hash< FEType > |
This provides a shim class that wraps the Order enum.
The purpose of this is to store the order as an int instead of an enum (to enable higher orders) while retaining backwards compatibility.
|
inline |
Constructor.
Enables implicit conversion from an Order enum to an OrderWrapper.
Definition at line 56 of file fe_type.h.
|
inline |
Constructor.
Enables implicit conversion from an int to an OrderWrapper.
Definition at line 64 of file fe_type.h.
|
inline |
Explicitly request the order as an int.
Definition at line 80 of file fe_type.h.
References _order.
Referenced by libMesh::PetscDMWrapper::add_dofs_to_section(), libMesh::FEGenericBase< FEOutputType< T >::type >::compute_proj_constraints(), libMesh::InfFE< Dim, T_radial, T_map >::compute_shape_indices(), libMesh::GMVIO::copy_nodal_solution(), libMesh::FEType::default_quadrature_order(), libMesh::DofMap::distribute_dofs(), libMesh::DofMap::distribute_scalar_dofs(), libMesh::Variable::n_components(), libMesh::operator<(), libMesh::operator<<(), libMesh::operator==(), libMesh::OrderWrapperOperators(), libMesh::System::read_header(), libMesh::System::read_SCALAR_dofs(), libMesh::DofMap::reinit(), and libMesh::DofMap::SCALAR_dof_indices().
|
inline |
Operator that enables implicit conversion to an Order enum.
Definition at line 72 of file fe_type.h.
References _order.
|
inline |
Definition at line 86 of file fe_type.h.
|
inline |
Definition at line 93 of file fe_type.h.
|
private |
The approximation order of the element.
Definition at line 104 of file fe_type.h.
Referenced by get_order(), operator Order(), std::hash< libMesh::FEType >::operator()(), operator+=(), and operator-=().