21 #include "SheafSystem/base_space_crg_interval.h" 23 #include "SheafSystem/assert_contract.h" 24 #include "SheafSystem/base_space_poset.h" 25 #include "SheafSystem/list_index_space_state.h" 26 #include "SheafSystem/index_space_iterator.h" 27 #include "SheafSystem/scoped_index.h" 28 #include "SheafSystem/std_iomanip.h" 29 #include "SheafSystem/std_string.h" 42 : _block_vertices_initialized(false),
185 ensure(is_basic_query);
206 ensure(is_basic_query);
228 ensure(!result.empty());
291 static const string result(
"base_space_crg_interval");
base_space_crg_interval()
Default Constructor.
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.
virtual bool is_ancestor_of(const any *other) const
Conformance test; true if other conforms to this.
const hub_index_space_handle & hub_id_space() const
The hub id space of this interval.
virtual const std::string & class_name() const
The name of this class; provided to satisfy factory template.
virtual bool is_initialized() const
True if fully initialized.
The default name space; a poset which contains other posets as members.
bool _block_vertices_initialized
True if the block vertices id space has been initialized.
bool is_hub_scope() const
True if and only if the id space of this is the hub id space.
virtual bool is_initialized() const
True if fully initialized.
virtual pod_index_type cells_begin() const =0
The beginning of the local cells interval.
Abstract base class with useful features for all objects.
pod_index_type interval_member() const
The index of the interval member itself; synonym for begin().
An index within the external ("client") scope of a given id space.
virtual pod_index_type d_cells_space_id(int xd) const =0
The id space index for the cells of dimension xd. Returns invalid_pod_index() if there is no id space...
virtual pod_index_type cells_end() const =0
The end of the local cells interval.
void put(const index_space_handle &xid_space, pod_type xpod)
Set the scope to id space, xid_space and pod() to xpod.
virtual int db(pod_index_type xmbr_id) const =0
The dimension of the member with id xmbr_id. Does not require access to dof tuple.
bool contains_member(pod_index_type xindex) const
True if and only if the index xindex is contained in this interval.
pod_index_type block_vertices_space_id() const
The id space index of the block vertices id space.
void disable_invariant_check() const
Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing inv...
bool block_vertices_initialized() const
True if the block vertices id space has been initialized.
pod_index_type _block_vertices_space_id
The id space index of the block vertices id space.
void delete_space(pod_type xid)
Delete the id space with index xid.
virtual ~base_space_crg_interval()
Destructor.
bool invariant_check() const
True if invariant checking is enabled.
void initialize(const namespace_poset &xnamespace)
Sets is_initialized() == true; dummy routine provided to satisfy factory template.
int_type pod_index_type
The plain old data index type.
Abstract emulator for a interval of implicit base space members.
virtual bool invariant() const
Class invariant.
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.
void enable_invariant_check() const
Enable invariant checking.
std::string block_vertices_name() const
The name of the block vertices id space.
static std::string make_reserved_name(const std::string &xprefix, const size_t &xindex, const std::string &xsuffix)
Creates a string reserved_prefix()_xprefix_xindex_xsuffix.
pod_type hub_pod() const
The pod value of this mapped to the unglued hub id space.