20 #ifndef SHEAF_CONSTANTS_H 21 #define SHEAF_CONSTANTS_H 23 #ifndef SHEAF_DLL_SPEC_H 24 #include "SheafSystem/sheaf_dll_spec.h" 27 #ifndef DOF_TUPLE_TYPE_H 28 #include "SheafSystem/dof_tuple_type.h" 32 #include "SheafSystem/poset_type.h" 35 #ifndef PRIMITIVE_TYPE_H 36 #include "SheafSystem/primitive_type.h" 39 #ifndef SCOPED_INDEX_H 40 #include "SheafSystem/scoped_index.h" 43 #ifndef STANDARD_VERSION_INDEX_H 44 #include "SheafSystem/standard_version_index.h" 48 #include "SheafSystem/std_cstddef.h" 51 #ifndef STD_IOSTREAM_H 52 #include "SheafSystem/std_iostream.h" 56 #include "SheafSystem/std_string.h" 120 static const int NOT_A_VERSION();
126 static const int COARSEST_COMMON_REFINEMENT_VERSION();
131 static const int CURRENT_HOST_VERSION();
136 static const int CURRENT_MEMBER_VERSION();
233 static string primitive_type_to_name(primitive_type xpt);
238 static primitive_type primitive_type_from_name(
const string& xname);
243 static primitive_type primitive_type_from_index(
int xindex);
254 typedef primitive_descriptor primitive_descriptor;
259 static primitive_descriptor primitive_description(
int xindex);
264 static size_t max_primitive_size();
269 static size_t align(
const size_t xoffset,
const size_t xalignment);
289 #endif // ifndef SHEAF_CONSTANTS_H SHEAF_DLL_SPEC poset_type poset_type_id(int xi)
The poset type associated with int xi; converts int to poset type.
SHEAF_DLL_SPEC void check_lps_script_has_run()
Function to test for whether the LPS script has been executed.
SHEAF_DLL_SPEC dof_tuple_type dof_tuple_type_from_name(const std::string &xname)
The enumerator with name xname.
primitive_type primitive_type
Type ids for primitives.
dof_tuple_type dof_tuple_type
Identifiers for dof tuple types.
poset_type poset_type
Identifiers for poset types.
SHEAF_DLL_SPEC const std::string & dof_tuple_type_to_name(dof_tuple_type xdt)
The name of the enumerator xdt.
An index within the external ("client") scope of a given id space.
OBSOLETE: use sheaf::poset_type, sheaf::dof_tuple_type, etc. Retained only because swig wraps only cl...
SHEAF_DLL_SPEC bool is_primitive_index(pod_index_type xindex)
True if xindex is a valid primitive index.
SHEAF_DLL_SPEC dof_tuple_type dof_tuple_type_id(int xi)
The dof tuple type associated with int xi; converts int to dof tuple type.
size_t align(const size_t xoffset, const size_t xalignment)
Smallest offset greater than or equal to xoffset that has alignment xalignment.
Namespace for the sheaves component of the sheaf system.