21 #include "SheafSystem/homogeneous_block_crg_interval.h" 23 #include "SheafSystem/assert_contract.h" 24 #include "SheafSystem/arg_list.h" 25 #include "SheafSystem/base_space_poset.h" 26 #include "SheafSystem/error_message.h" 27 #include "SheafSystem/offset_index_space_state.h" 28 #include "SheafSystem/index_space_iterator.h" 29 #include "SheafSystem/std_iomanip.h" 30 #include "SheafSystem/std_string.h" 31 #include "SheafSystem/std_sstream.h" 32 #include "SheafSystem/homogeneous_block.h" 46 : _zones_initialized(false),
48 _vertices_initialized(false),
151 ensure(is_basic_query);
172 ensure(is_basic_query);
202 ensure(is_basic_query);
223 ensure(is_basic_query);
256 ensure(is_basic_query);
289 ensure(is_basic_query);
479 static const string result(
"homogeneous_block_crg_interval");
pod_index_type vertices_space_id() const
The index of the vertex id space.
virtual bool is_ancestor_of(const any *other) const
Conformance test; true if other conforms to this.
homogeneous_block_crg_interval()
Default Constructor.
pod_type pod(const std::string &xname, pod_type xid) const
The pod index in the space with name xname equivalent to xid in the hub id space. ...
void initialize(const namespace_poset &xnamespace)
Sets is_initialized() == true; dummy routine provided to satisfy factory template.
index_space_family * _id_spaces
The id space family of this interval.
virtual bool invariant() const
Class invariant.
block< pod_index_type > _dof_tuple_ids
The ids of the dof tuples associated with this interval.
virtual pod_index_type cells_end() const
The end of the local cells interval.
The default name space; a poset which contains other posets as members.
pod_index_type zone_dof_tuple_id() const
Dof tuple id for zones.
pod_index_type block_dof_tuple_id() const
Dof tuple id for the block itself.
bool is_interval_member(pod_index_type xindex) const
True if xindex is the interval member.
void reserve(index_type xub)
Makes ub() at least xub; if new storage is allocated, it is uninitialized.
pod_index_type adjacency_space_id(pod_index_type xvertex_id) const
The index of the adjacency id space for vertex with id xvertex_id.
virtual homogeneous_block_crg_interval * clone() const
Virtual constructor, makes a new instance of the same type as this.
pod_index_type _vertices_space_id
The index of the vertex id space.
pod_index_type implicit_begin() const
The beginning of the implicit member interval (begin(), end()), excludes interval member; synonym for...
virtual bool is_initialized() const
True if fully initialized.
pod_index_type _connectivity_begin
The beginning offset of the connectivity id spaces in the id space family.
virtual bool is_initialized() const
True if fully initialized.
Abstract base class with useful features for all objects.
member_class_type member_class(pod_index_type xmbr_index) const
The member class of the member with index xmbr_index.
virtual pod_index_type dof_tuple_id(pod_index_type xmbr_index) const
The dof tuple id of the member with index xmbr_index.
Emulator for a interval of implicit base space members representing a homogeneous collection of cells...
pod_index_type end() const
The end of the member interval.
virtual bool is_jim(pod_index_type xmbr_index) const
True if and only if the member with index xmbr_index is join-irreducible.
void assign(const_reference_type xitem)
Sets the values of all items to xitem.
virtual pod_index_type cells_begin() const
The beginning of the local cells interval.
void set_ct(size_type xct)
Sets ct() == xct.
virtual const std::string & class_name() const
The name of this class; provided to satisfy factory template.
virtual ~homogeneous_block_crg_interval()
Destructor.
pod_index_type zones_space_id() const
The index of the zone id space.
pod_index_type connectivity_space_id(pod_index_type xzone_id) const
The index of the connectivity id space for zone with id xzone_id.
bool contains_member(pod_index_type xindex) const
True if and only if the index xindex is contained in this interval.
void disable_invariant_check() const
Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing inv...
const index_space_family & id_spaces() const
The id space family for this interval.
void delete_space(pod_type xid)
Delete the id space with index xid.
pod_index_type _adjacency_begin
The beginning offset of the adjacency id spaces in the id space family.
virtual bool invariant() const
Class invariant.
pod_index_type vertex_dof_tuple_id() const
Dof tuple id for vertices.
bool invariant_check() const
True if invariant checking is enabled.
int_type pod_index_type
The plain old data index type.
pod_index_type _zones_space_id
The index of the zone id space.
bool contains(pod_type xid) const
True, if this contains an id space with id xid.
bool _vertices_initialized
True if the vertex id space has been initialized.
bool _zones_initialized
True if the zone id space has been initialized.
bool vertices_initialized() const
True if the vertex id space has been initialized.
void initialize(const namespace_poset &xnamespace)
Sets is_initialized() == true; dummy routine provided to satisfy factory template.
bool zones_initialized() const
True if the zone id space has been initialized.
SHEAF_DLL_SPEC bool is_valid(pod_index_type xpod_index)
True if an only if xpod_index is valid.
Namespace for the fiber_bundles component of the sheaf system.
SHEAF_DLL_SPEC pod_index_type invalid_pod_index()
The invalid pod index value.
bool is_same_type(const any *other) const
True if other is the same type as this.
void enable_invariant_check() const
Enable invariant checking.
bool contains_hub(const std::string &xname, pod_type xid) const
True if the space with name xname contains an id equivalent to xid in the unglued hub id space...
member_class_type
Memeber class identifiers.