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... | |
Private Attributes | |
int | _order |
The approximation order of the element. More... | |
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.
|
inline |
Constructor.
Enables implicit conversion from an int to an OrderWrapper.
|
inline |
Explicitly request the order as an int.
Definition at line 77 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_local_dofs_node_major(), libMesh::DofMap::distribute_local_dofs_var_major(), 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 |
|
private |
The approximation order of the element.
Definition at line 87 of file fe_type.h.
Referenced by get_order(), and operator Order().