21 #ifndef SUBPOSET_STATE_H 22 #define SUBPOSET_STATE_H 24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 28 #ifndef DOF_DESCRIPTOR_ARRAY_H 29 #include "SheafSystem/dof_descriptor_array.h" 32 #ifndef INDEX_SPACE_FAMILY_H 33 #include "SheafSystem/index_space_family.h" 36 #ifndef SCATTERED_INSERTION_INDEX_SPACE_HANDLE_H 37 #include "SheafSystem/scattered_insertion_index_space_handle.h" 40 #ifndef SCOPED_INDEX_H 41 #include "SheafSystem/scoped_index.h" 45 #include "SheafSystem/std_string.h" 48 #ifndef STD_IOSTREAM_H 49 #include "SheafSystem/std_iostream.h" 53 #include "SheafSystem/zn_to_bool.h" 87 void initialize(
int xmember_ub,
const scoped_index& xindex,
bool xinitialize);
92 void initialize(
int xmember_ub,
99 void initialize(
int xmember_ub,
106 bool is_initialized()
const;
116 bool is_terminated()
const;
146 bool is_dof_subposet()
const;
151 void put_is_dof_subposet(
bool xis_dof_subposet);
188 bool has_id_space()
const;
210 const std::string& xname);
215 bool is_persistent()
const;
220 void put_is_persistent(
bool xvalue);
287 #endif // ifndef SUBPOSET_STATE_H zn_to_bool * _members
Characteristic function defining members of this subposet.
size_type _dof_ct
The number of dofs associated with this Only defined if this is a dofs subposet, in which case _dof_c...
scattered_insertion_index_space_handle * _id_space
The id space for this subposet state.
The data structure representing the state of a subposet.
A map from Zn (the integers mod n) to bools. A characteristic function used to represent subsets of Z...
An index within the external ("client") scope of a given id space.
SHEAF_DLL_SPEC size_t deep_size(const dof_descriptor_array &xp, bool xinclude_shallow=true)
The deep size of the referenced object of type dof_descriptor_array.
bool _is_persistent
True if and only if this subposet should be written to disk.
unsigned long size_type
An unsigned integral type used to represent sizes and capacities.
bool _is_dof_subposet
True if this is a dofs subposet.
dof_descriptor_array * _dof_descriptors
If this is a dofs subposet, the offset of each dof when the dofs are contiguously allocated...
An array for storing structs which describe the size, alignment, and offset of dofs within a dof tupl...
int_type pod_index_type
The plain old data index type.
SHEAF_DLL_SPEC std::ostream & operator<<(std::ostream &os, const dof_descriptor_array &p)
Insert dof_descriptor_array& p into ostream& os.
A handle for a scattered_insertion_index_space_state.
Namespace for the sheaves component of the sheaf system.
Factory and container for a family of id spaces.
scoped_index _index
Index of this subposet in powerset::_member_pool also used for next().