SheafSystem
0.0.0.0
|
An implementation of class index_space_handle for an explicit_index_space_state. More...
#include <explicit_index_space_handle.h>
Friends | |
class | explicit_index_space_state |
EXPLICIT_INDEX_SPACE_HANDLE FACET | |
explicit_index_space_state * | _state |
The explicit state. More... | |
explicit_index_space_handle () | |
Default constructor. More... | |
explicit_index_space_handle (const explicit_index_space_handle &xother) | |
Copy constructor. More... | |
explicit_index_space_handle (const index_space_family &xid_spaces, pod_type xindex) | |
Constructor: Attach to state with index xindex in the family xid_spaces. More... | |
explicit_index_space_handle (const index_space_family &xid_spaces, const std::string &xname) | |
Constructor: Attach to state with name xname in the family xid_spaces. More... | |
explicit_index_space_handle & | operator= (const explicit_index_space_handle &xother) |
Assignment operator; attach this handle to the state of xother. synonym for attach_to(xother). More... | |
virtual | ~explicit_index_space_handle () |
Destructor. More... | |
explicit_index_space_state & | state () |
The explicit state (mutable version). More... | |
const explicit_index_space_state & | state () const |
The explicit state (const version). More... | |
INDEX_SPACE_HANDLE FACET | |
virtual explicit_index_space_handle & | operator= (const index_space_handle &xother) |
Assignment operator; attach this handle to the state of xother. synonym for attach_to(xother). More... | |
virtual explicit_index_space_handle * | clone () const |
Virtual constructor, makes a new instance of the same type as this. If the handle is attached, attach to the same state. More... | |
INDEX SPACE FACET | |
virtual const index_space_family & | id_spaces () const |
The id space family for this (const version). More... | |
virtual index_space_family & | id_spaces () |
The id space family for this (mutable version). More... | |
virtual size_type | ct () const |
The number of members. More... | |
virtual pod_type | begin () const |
Beginning id of this space. More... | |
virtual pod_type | end () const |
Ending id of this space. More... | |
virtual bool | contains (pod_type xid) const |
True if this space contains id xid. More... | |
virtual bool | contains_unglued_hub (pod_type xid) const |
True if this space contains an id equivalent to xid in the unglued hub id space. More... | |
virtual bool | contains_glued_hub (pod_type xid) const |
True if this space contains an id equivalent to xid in the glued hub id space. More... | |
virtual bool | contains (pod_type xid, pod_type xhub_id) const |
True if this space contains an id xid equivalent to xhub_id in the hub id space. More... | |
virtual pod_type | pod (pod_type xid) const |
The pod index in this space equivalent to xid in the hub id space. More... | |
virtual pod_type | unglued_hub_pod (pod_type xid) const |
The pod index in the unglued hub id space equivalent to xid in this id space. More... | |
virtual pod_type | glued_hub_pod (pod_type xid) const |
The pod index in the hub id space equivalent to xid in this id space. synonym for unglued_hub_pod(xid). More... | |
virtual bool | is_persistent () const |
True if this id space should be written to disk. More... | |
PRODUCT STRUCTURE FACET | |
virtual void | new_product_structure (const abstract_product_structure &xproduct) |
Creates a new product structure for this id space by cloning the product structure, xproduct. More... | |
virtual void | delete_product_structure () |
Deletes the product structure for this id space. More... | |
virtual const abstract_product_structure & | product_structure () const |
The product structure for this id space (const version). More... | |
virtual abstract_product_structure & | product_structure () |
The product structure for this id space (mutable version). More... | |
virtual bool | has_product_structure () const |
True if this id space has a product structure. More... | |
HANDLE FACET | |
virtual const index_space_collection & | host () const |
The host collection. More... | |
virtual pod_type | index () const |
Index of this space. More... | |
virtual bool | is_attached () const |
True if this handle is attached to a state. More... | |
virtual void | attach_to (pod_type xindex) |
Attach to the state with index xindex in the id space family id_spaces(). More... | |
virtual void | attach_to (const index_space_collection &xhost, pod_type xlocal_id) |
Attach to the state with local scope id, xlocal_id in the host id space collection xhost. More... | |
virtual void | detach () |
Detach this handle form its state, if any. More... | |
virtual bool | conforms_to_state (const index_space_collection &xhost, pod_type xlocal_id) const |
True if this conforms to the handle type required by the state with local scope id xlocal_id in the host id space collection xhost. More... | |
void | attach_to (explicit_index_space_state *xstate) |
Attach to the explicit id space state xstate. More... | |
virtual bool | conforms_to_state (explicit_index_space_state *xstate) const |
True if this conforms to the iterator type required by the explicit id space state xstate. More... | |
explicit_index_space_state * | state (pod_type xindex) const |
The explicit id space state at id xindex in id space family id_spaces(). Returns null if no id space stae is available at index xindex. More... | |
explicit_index_space_state * | state (const index_space_collection &xhost, pod_type xlocal_id) const |
The explicit id space state with local scope id xlocal_id in the host id space collection xhost. More... | |
HANDLE POOL FACET | |
virtual index_space_handle & | get_id_space () const |
Allocates an id space handle from the handle pool. More... | |
virtual void | release_id_space () const |
Returns this id space handle to the handle pool. More... | |
virtual bool | allocated_id_space () const |
True if and only if this id space handle was allocated by the handle pool. More... | |
ITERATOR POOL FACET | |
virtual index_space_iterator & | get_iterator () const |
Allocates an id space iterator from the iterator pool. More... | |
virtual void | release_iterator (index_space_iterator &xitr) const |
Returns the id space iterator xitr to the iterator pool. More... | |
virtual bool | allocated_iterator (const index_space_iterator &xitr) const |
True if and only if id space iterator xitr was allocated by the iterator pool. More... | |
ANY FACET | |
virtual bool | is_ancestor_of (const any *other) const |
Conformance test; true if other conforms to this. More... | |
virtual bool | invariant () const |
Class invariant. More... | |
Additional Inherited Members | |
Public Types inherited from sheaf::index_space_handle | |
typedef pod_index_type | pod_type |
The "plain old data" index type for this. More... | |
Public Member Functions inherited from sheaf::index_space_handle | |
virtual | ~index_space_handle () |
Destructor. More... | |
bool | operator== (const index_space_handle &xother) const |
True if this is a handle has the same state as xother. More... | |
const hub_index_space_handle & | hub_id_space () const |
The hub id space. More... | |
bool | is_empty () const |
True if there are no ids in the space. More... | |
bool | is_gathered () const |
True if begin() == 0 and end() == ct(). More... | |
bool | contains (const scoped_index &xid) const |
True if this space contains an id equivalent to xid. synonym for contains_hub(xid.hub_pod()). More... | |
bool | contains_hub (pod_type xid) const |
True if this space contains an id equivalent to xid in the unglued hub id space. synonym for contains_unglued_hub(xid) More... | |
bool | contains (pod_type xid, const scoped_index &xhub_id) const |
True if this space contains an id xid equivalent to xhub_id in the hub id space. synonym for contains(xid, xhub_id.hub_pod()). More... | |
pod_type | pod (const scoped_index &xid) const |
The pod index in this space equivalent to xid. synonym for pod(xid.hub_pod()). More... | |
pod_type | hub_pod (pod_type xid) const |
The pod index in the unglued hub id space equivalent to xid in this id space; synonym for unglued_hub_pod(pod_type). More... | |
template<typename T > | |
const T & | product_structure () const |
The product structure of type T for this id space (const version). More... | |
template<typename T > | |
T & | product_structure () |
The product structure of type T for this id space (mutable version). More... | |
template<typename T > | |
bool | product_structure_conforms_to () const |
True if the product structure for this id space conforms to type T. More... | |
std::string | name () const |
Name of this space. More... | |
void | put_name (const std::string &xname) |
Associate name xname with this id space. More... | |
void | attach_to (const index_space_family &xid_spaces, pod_type xindex) |
Attach to the state with index xindex in the id space family xid_spaces. More... | |
void | attach_to (const index_space_family &xid_spaces, const std::string &xname) |
Attach to the state with name xname in the id space family xid_spaces. More... | |
void | attach_to (const std::string &xname) |
Attach to the state with name xname in the id space family id_spaces(). More... | |
void | attach_to (const index_space_handle &xother) |
Attach to the state of the id space xother. More... | |
bool | conforms_to_state (const index_space_family &xid_spaces, pod_type xindex) const |
True if this conforms to the handle type required by the state with index xindex in the id space family, xid_spaces. More... | |
bool | conforms_to_state (const index_space_family &xid_spaces, const std::string &xname) const |
True if this conforms to the handle type required by the state with name xname in the id space family, xid_spaces. More... | |
bool | conforms_to_state (pod_type xid) const |
True if this conforms to the handle type required by the state with id xid. More... | |
bool | conforms_to_state (const std::string &xname) const |
True if this conforms to the handle type required by the state with name xname. More... | |
bool | conforms_to_state (const index_space_handle &xother) const |
True if this conforms to the handle type required by the state of xother. More... | |
Public Member Functions inherited from sheaf::any | |
bool | is_same_type (const any *other) const |
True if other is the same type as this. More... | |
virtual | ~any () |
Destructor. More... | |
bool | invariant_check () const |
True if invariant checking is enabled. More... | |
void | enable_invariant_check () const |
Enable invariant checking. More... | |
void | disable_invariant_check () const |
Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing invariant checking during multi-phase initialization. More... | |
int | disable_invariance_check_request_depth () const |
Number of times disable_invariant_check has been called without matching call to enable_invariant_check. More... | |
Protected Member Functions inherited from sheaf::index_space_handle | |
index_space_handle () | |
Default constructor. More... | |
index_space_handle (const index_space_handle &xother) | |
Copy constructor; disabled. More... | |
Protected Member Functions inherited from sheaf::any | |
any () | |
default constructor More... | |
An implementation of class index_space_handle for an explicit_index_space_state.
Definition at line 42 of file explicit_index_space_handle.h.
sheaf::explicit_index_space_handle::explicit_index_space_handle | ( | ) |
Default constructor.
Definition at line 36 of file explicit_index_space_handle.cc.
References invariant().
Referenced by clone(), and explicit_index_space_handle().
sheaf::explicit_index_space_handle::explicit_index_space_handle | ( | const explicit_index_space_handle & | xother | ) |
Copy constructor.
Definition at line 53 of file explicit_index_space_handle.cc.
References explicit_index_space_handle(), and invariant().
sheaf::explicit_index_space_handle::explicit_index_space_handle | ( | const index_space_family & | xid_spaces, |
pod_type | xindex | ||
) |
Constructor: Attach to state with index xindex in the family xid_spaces.
Definition at line 73 of file explicit_index_space_handle.cc.
References attach_to(), conforms_to_state(), explicit_index_space_handle(), id_spaces(), index(), invariant(), and is_attached().
sheaf::explicit_index_space_handle::explicit_index_space_handle | ( | const index_space_family & | xid_spaces, |
const std::string & | xname | ||
) |
Constructor: Attach to state with name xname in the family xid_spaces.
Definition at line 97 of file explicit_index_space_handle.cc.
References attach_to(), conforms_to_state(), id_spaces(), invariant(), is_attached(), sheaf::index_space_handle::name(), and ~explicit_index_space_handle().
|
virtual |
Destructor.
Definition at line 121 of file explicit_index_space_handle.cc.
References operator=().
Referenced by explicit_index_space_handle().
|
virtual |
True if and only if this id space handle was allocated by the handle pool.
Implements sheaf::index_space_handle.
Definition at line 967 of file explicit_index_space_handle.cc.
References _state, sheaf::explicit_index_space_state::allocated_id_space(), get_iterator(), and is_attached().
Referenced by release_id_space().
|
virtual |
True if and only if id space iterator xitr was allocated by the iterator pool.
Implements sheaf::index_space_handle.
Definition at line 1042 of file explicit_index_space_handle.cc.
References _state, sheaf::explicit_index_space_state::allocated_iterator(), is_ancestor_of(), and is_attached().
Referenced by sheaf::gathered_insertion_index_space_handle::push(), and release_iterator().
|
virtual |
Attach to the state with index xindex in the id space family id_spaces().
Implements sheaf::index_space_handle.
Definition at line 614 of file explicit_index_space_handle.cc.
References _state, conforms_to_state(), contains(), id_spaces(), index(), is_attached(), and state().
Referenced by sheaf::array_index_space_handle::array_index_space_handle(), sheaf::explicit_index_space_state::attach(), conforms_to_state(), explicit_index_space_handle(), sheaf::gathered_insertion_index_space_handle::gathered_insertion_index_space_handle(), sheaf::hash_index_space_handle::hash_index_space_handle(), sheaf::hub_index_space_handle::hub_index_space_handle(), sheaf::poset_scaffold::initialize_dof_tuple_id_space(), sheaf::crg_interval::initialize_local_id_space(), sheaf::poset_scaffold::initialize_member_id_space(), sheaf::poset_scaffold::initialize_subposet_id_space(), sheaf::interval_index_space_handle::interval_index_space_handle(), is_attached(), sheaf::list_index_space_handle::list_index_space_handle(), sheaf::member_record_set::member_record_set(), fiber_bundle::sec_rep_space::multisection_id_space(), sheaf::primary_sum_index_space_state::new_reserved_term(), sheaf::offset_index_space_handle::offset_index_space_handle(), sheaf::scattered_insertion_index_space_handle::operator=(), sheaf::gathered_insertion_index_space_handle::operator=(), sheaf::hub_index_space_handle::operator=(), sheaf::primitives_index_space_handle::operator=(), sheaf::reserved_primary_index_space_handle::operator=(), operator=(), sheaf::primary_index_space_handle::operator=(), sheaf::sum_index_space_handle::operator=(), sheaf::singleton_index_space_handle::operator=(), sheaf::interval_index_space_handle::operator=(), sheaf::offset_index_space_handle::operator=(), sheaf::hash_index_space_handle::operator=(), sheaf::array_index_space_handle::operator=(), fiber_bundle::section_space_schema_jims_index_space_handle::operator=(), sheaf::list_index_space_handle::operator=(), sheaf::primary_index_space_handle::primary_index_space_handle(), sheaf::primitives_index_space_handle::primitives_index_space_handle(), sheaf::reserved_primary_index_space_handle::reserved_primary_index_space_handle(), sheaf::scattered_insertion_index_space_handle::scattered_insertion_index_space_handle(), fiber_bundle::section_space_schema_jims_index_space_handle::section_space_schema_jims_index_space_handle(), sheaf::singleton_index_space_handle::singleton_index_space_handle(), and sheaf::sum_index_space_handle::sum_index_space_handle().
|
virtual |
Attach to the state with local scope id, xlocal_id in the host id space collection xhost.
Implements sheaf::index_space_handle.
Definition at line 641 of file explicit_index_space_handle.cc.
References _state, conforms_to_state(), sheaf::index_space_collection::contains(), detach(), sheaf::index_space_collection::family_scope(), host(), index(), is_attached(), and state().
|
protected |
Attach to the explicit id space state xstate.
Definition at line 708 of file explicit_index_space_handle.cc.
References _state, conforms_to_state(), is_attached(), and state().
|
virtual |
Beginning id of this space.
Implements sheaf::index_space_handle.
Definition at line 332 of file explicit_index_space_handle.cc.
References _state, sheaf::explicit_index_space_state::begin(), end(), and is_attached().
Referenced by ct(), sheaf::scattered_insertion_index_space_handle::insert(), fiber_bundle::section_space_schema_jims_index_space_state::new_space(), sheaf::gathered_insertion_index_space_handle::push(), sheaf::gathered_insertion_index_space_handle::push_back(), sheaf::list_index_space_handle::push_front(), sheaf::gathered_insertion_index_space_handle::remove(), and sheaf::gathered_insertion_index_space_handle::remove_hub().
|
virtual |
Virtual constructor, makes a new instance of the same type as this. If the handle is attached, attach to the same state.
Implements sheaf::index_space_handle.
Reimplemented in sheaf::hub_index_space_handle, sheaf::interval_index_space_handle, sheaf::sum_index_space_handle, sheaf::list_index_space_handle, sheaf::gathered_insertion_index_space_handle, fiber_bundle::section_space_schema_jims_index_space_handle, sheaf::reserved_primary_index_space_handle, sheaf::array_index_space_handle, sheaf::offset_index_space_handle, sheaf::singleton_index_space_handle, sheaf::hash_index_space_handle, sheaf::primary_index_space_handle, sheaf::scattered_insertion_index_space_handle, and sheaf::primitives_index_space_handle.
Definition at line 235 of file explicit_index_space_handle.cc.
References explicit_index_space_handle(), id_spaces(), and sheaf::any::is_same_type().
Referenced by operator=().
|
virtual |
True if this conforms to the handle type required by the state with local scope id xlocal_id in the host id space collection xhost.
Implements sheaf::index_space_handle.
Reimplemented in sheaf::hub_index_space_handle, sheaf::interval_index_space_handle, sheaf::sum_index_space_handle, sheaf::list_index_space_handle, sheaf::gathered_insertion_index_space_handle, fiber_bundle::section_space_schema_jims_index_space_handle, sheaf::reserved_primary_index_space_handle, sheaf::scattered_insertion_index_space_handle, sheaf::array_index_space_handle, sheaf::offset_index_space_handle, sheaf::singleton_index_space_handle, sheaf::hash_index_space_handle, sheaf::primary_index_space_handle, and sheaf::primitives_index_space_handle.
Definition at line 684 of file explicit_index_space_handle.cc.
References attach_to(), sheaf::index_space_collection::contains(), and state().
Referenced by attach_to(), detach(), explicit_index_space_handle(), and operator=().
|
protectedvirtual |
True if this conforms to the iterator type required by the explicit id space state xstate.
Definition at line 731 of file explicit_index_space_handle.cc.
References state().
|
virtual |
True if this space contains id xid.
Implements sheaf::index_space_handle.
Definition at line 374 of file explicit_index_space_handle.cc.
References _state, sheaf::explicit_index_space_state::contains(), contains_unglued_hub(), and is_attached().
Referenced by attach_to(), sheaf::sum_index_space_handle::binary(), contains_glued_hub(), sheaf::hub_index_space_handle::delete_id(), end(), sheaf::sum_index_space_handle::host_rep(), index(), sheaf::index_equivalence_class::index_equivalence_class(), sheaf::index_equivalence_iterator::index_equivalence_iterator(), sheaf::scattered_insertion_index_space_handle::insert(), sheaf::member_record::internalize(), sheaf::reserved_primary_index_space_state::is_hub_id_available(), sheaf::hash_index_space_state::map_rep_gather(), sheaf::hub_index_space_handle::new_id(), sheaf::hub_index_space_handle::new_primary_term(), sheaf::singleton_index_space_handle::new_space(), sheaf::singleton_index_space_state::new_space(), fiber_bundle::i_adjacency_index_space_interval::new_space(), fiber_bundle::i_connectivity_index_space_interval::new_space(), fiber_bundle::ij_adjacency_index_space_interval::new_space(), fiber_bundle::ij_connectivity_index_space_interval::new_space(), fiber_bundle::ijk_connectivity_index_space_interval::new_space(), fiber_bundle::ijk_adjacency_index_space_interval::new_space(), pod(), sheaf::gathered_insertion_index_space_handle::push(), sheaf::gathered_insertion_index_space_handle::push_back(), sheaf::index_equivalence_iterator::put_rep_id(), sheaf::gathered_insertion_index_space_handle::remove(), sheaf::interval_index_space_handle::remove_interval(), fields::field_refinement_buffer::reserve_coord_fiber(), fields::field_refinement_buffer::reserve_prop_fiber(), sheaf::sum_index_space_handle::simple(), state(), sheaf::sum_index_space_handle::term_of(), and sheaf::hub_index_space_handle::unglue().
True if this space contains an id xid equivalent to xhub_id in the hub id space.
Implements sheaf::index_space_handle.
Definition at line 437 of file explicit_index_space_handle.cc.
References _state, sheaf::explicit_index_space_state::contains(), is_attached(), and pod().
|
virtual |
True if this space contains an id equivalent to xid in the glued hub id space.
Implements sheaf::index_space_handle.
Definition at line 416 of file explicit_index_space_handle.cc.
References _state, contains(), sheaf::explicit_index_space_state::contains_glued_hub(), and is_attached().
Referenced by contains_unglued_hub().
|
virtual |
True if this space contains an id equivalent to xid in the unglued hub id space.
Implements sheaf::index_space_handle.
Definition at line 395 of file explicit_index_space_handle.cc.
References _state, contains_glued_hub(), sheaf::explicit_index_space_state::contains_unglued_hub(), and is_attached().
Referenced by contains(), glued_hub_pod(), sheaf::list_index_space_handle::push_front(), sheaf::list_index_space_handle::replace_range_id(), and unglued_hub_pod().
|
virtual |
The number of members.
Implements sheaf::index_space_handle.
Definition at line 311 of file explicit_index_space_handle.cc.
References _state, begin(), sheaf::explicit_index_space_state::ct(), and is_attached().
Referenced by sheaf::primary_index_space_handle::extend(), sheaf::hub_index_space_handle::extend_last_term(), sheaf::primary_sum_index_space_state::extend_last_term(), fiber_bundle::section_space_schema_table_dof_crg_range::get_size(), fiber_bundle::product_section_space_schema_crg_range::get_size(), id_spaces(), sheaf::scattered_insertion_index_space_handle::insert(), sheaf::interval_index_space_handle::insert_interval(), sheaf::reserved_primary_index_space_handle::new_hub_id(), sheaf::reserved_primary_index_space_handle::new_id(), sheaf::hub_index_space_handle::new_primary_term(), sheaf::offset_index_space_handle::new_space(), sheaf::reserved_primary_index_space_state::new_space(), sheaf::singleton_index_space_state::new_space(), sheaf::offset_index_space_state::new_space(), sheaf::primary_index_space_state::new_space(), fiber_bundle::section_space_schema_jims_index_space_state::new_space(), sheaf::operator<<(), sheaf::gathered_insertion_index_space_handle::push(), sheaf::gathered_insertion_index_space_handle::push_back(), sheaf::list_index_space_handle::push_front(), sheaf::interval_index_space_handle::push_interval(), sheaf::gathered_insertion_index_space_handle::remove(), sheaf::gathered_insertion_index_space_handle::remove_hub(), sheaf::hub_index_space_handle::remove_term(), and sheaf::crg_interval::size().
|
virtual |
Deletes the product structure for this id space.
Implements sheaf::index_space_handle.
Definition at line 827 of file explicit_index_space_handle.cc.
References _state, sheaf::explicit_index_space_state::delete_product_structure(), has_product_structure(), is_attached(), and product_structure().
Referenced by new_product_structure().
|
virtual |
Detach this handle form its state, if any.
Implements sheaf::index_space_handle.
Definition at line 665 of file explicit_index_space_handle.cc.
References _state, conforms_to_state(), and is_attached().
Referenced by attach_to().
|
virtual |
Ending id of this space.
Implements sheaf::index_space_handle.
Definition at line 353 of file explicit_index_space_handle.cc.
References _state, contains(), sheaf::explicit_index_space_state::end(), and is_attached().
Referenced by begin(), sheaf::crg_interval::end(), sheaf::index_equivalence_class::index_equivalence_class(), sheaf::scattered_insertion_index_space_handle::insert(), fiber_bundle::section_space_schema_jims_index_space_state::new_space(), sheaf::gathered_insertion_index_space_handle::push(), sheaf::gathered_insertion_index_space_handle::push_back(), sheaf::list_index_space_handle::push_front(), sheaf::gathered_insertion_index_space_handle::remove(), sheaf::gathered_insertion_index_space_handle::remove_hub(), and sheaf::member_record_set::write_selection().
|
virtual |
Allocates an id space handle from the handle pool.
Implements sheaf::index_space_handle.
Definition at line 924 of file explicit_index_space_handle.cc.
References _state, sheaf::explicit_index_space_state::get_id_space(), is_attached(), sheaf::index_space_handle::is_attached(), and release_id_space().
Referenced by sheaf::poset_crg_state::append_upper_cover_of_bottom(), sheaf::poset_crg_state::clear_cover(), sheaf::poset_crg_state::copy_cover(), fiber_bundle::zone_nodes_block_crg_interval::get_implicit_private_data(), has_product_structure(), sheaf::poset_crg_state::insert_cover_member(), fiber_bundle::base_space_poset::new_member(), fiber_bundle::zone_nodes_block_crg_interval::put_implicit_private_data(), sheaf::poset_crg_state::remove_cover_member(), sheaf::poset_crg_state::remove_cover_members(), sheaf::poset_crg_state::replace_cover_member(), fiber_bundle::section_space_schema_member::update_row_cache(), fiber_bundle::section_space_schema_member::update_row_dof_id_space(), and fiber_bundle::section_space_schema_member::update_table_cache().
|
virtual |
Allocates an id space iterator from the iterator pool.
Implements sheaf::index_space_handle.
Definition at line 999 of file explicit_index_space_handle.cc.
References _state, sheaf::explicit_index_space_state::get_iterator(), sheaf::index_space_iterator::is_attached(), is_attached(), and release_iterator().
Referenced by allocated_id_space(), fiber_bundle::section_space_schema_table_dof_crg_range::atoms(), sheaf::interval_index_space_record::externalize(), sheaf::member_record_set::externalize(), fiber_bundle::product_section_space_schema_poset::initialize_row_dof_subposet(), and sheaf::operator<<().
|
virtual |
The pod index in the hub id space equivalent to xid in this id space. synonym for unglued_hub_pod(xid).
Implements sheaf::index_space_handle.
Definition at line 500 of file explicit_index_space_handle.cc.
References _state, contains_unglued_hub(), sheaf::explicit_index_space_state::glued_hub_pod(), is_attached(), is_persistent(), and sheaf::is_valid().
Referenced by sheaf::hub_index_space_handle::glue(), sheaf::index_space_collection::glued_hub_pod(), sheaf::explicit_index_space_state::glued_hub_pod(), sheaf::index_space_family::glued_hub_pod(), and unglued_hub_pod().
|
virtual |
True if this id space has a product structure.
Implements sheaf::index_space_handle.
Definition at line 892 of file explicit_index_space_handle.cc.
References _state, get_id_space(), sheaf::explicit_index_space_state::has_product_structure(), and is_attached().
Referenced by delete_product_structure(), new_product_structure(), and product_structure().
|
virtual |
The host collection.
Implements sheaf::index_space_handle.
Definition at line 553 of file explicit_index_space_handle.cc.
References _state, sheaf::explicit_index_space_state::host(), index(), and is_attached().
Referenced by attach_to(), is_persistent(), and state().
|
virtual |
The id space family for this (const version).
Implements sheaf::index_space_handle.
Definition at line 269 of file explicit_index_space_handle.cc.
References _state, sheaf::explicit_index_space_state::id_spaces(), and is_attached().
Referenced by sheaf::array_index_space_handle::array_index_space_handle(), attach_to(), clone(), sheaf::poset_state_handle::dof_tuple_hub_id_space(), explicit_index_space_handle(), sheaf::gathered_insertion_index_space_handle::gathered_insertion_index_space_handle(), sheaf::hash_index_space_handle::hash_index_space_handle(), sheaf::hub_index_space_handle::hub_index_space_handle(), index(), sheaf::interval_index_space_handle::interval_index_space_handle(), sheaf::list_index_space_handle::list_index_space_handle(), sheaf::poset_state_handle::member_hub_id_space(), sheaf::hub_index_space_handle::new_primary_term(), sheaf::offset_index_space_handle::new_space(), sheaf::hash_index_space_handle::new_space(), sheaf::array_index_space_handle::new_space(), sheaf::primitives_index_space_state::new_space(), sheaf::singleton_index_space_state::new_space(), sheaf::reserved_primary_index_space_state::new_space(), sheaf::offset_index_space_state::new_space(), sheaf::primary_index_space_state::new_space(), sheaf::hash_index_space_state::new_space(), fiber_bundle::section_space_schema_jims_index_space_state::new_space(), sheaf::list_index_space_state::new_space(), sheaf::array_index_space_state::new_space(), sheaf::interval_index_space_state::new_space(), sheaf::primary_sum_index_space_state::new_space(), sheaf::offset_index_space_handle::offset_index_space_handle(), sheaf::primary_index_space_handle::primary_index_space_handle(), sheaf::primitives_index_space_handle::primitives_index_space_handle(), sheaf::reserved_primary_index_space_handle::reserved_primary_index_space_handle(), sheaf::scattered_insertion_index_space_handle::scattered_insertion_index_space_handle(), fiber_bundle::section_space_schema_jims_index_space_handle::section_space_schema_jims_index_space_handle(), sheaf::singleton_index_space_handle::singleton_index_space_handle(), state(), sheaf::poset_state_handle::subposet_hub_id_space(), and sheaf::sum_index_space_handle::sum_index_space_handle().
|
virtual |
The id space family for this (mutable version).
Implements sheaf::index_space_handle.
Definition at line 290 of file explicit_index_space_handle.cc.
References _state, ct(), sheaf::explicit_index_space_state::id_spaces(), and is_attached().
|
virtual |
Index of this space.
Implements sheaf::index_space_handle.
Definition at line 574 of file explicit_index_space_handle.cc.
References _state, contains(), id_spaces(), sheaf::explicit_index_space_state::index(), and is_attached().
Referenced by sheaf::array_index_space_handle::array_index_space_handle(), attach_to(), explicit_index_space_handle(), sheaf::crg_interval::force_explicit_cover(), sheaf::gathered_insertion_index_space_handle::gathered_insertion_index_space_handle(), sheaf::hash_index_space_handle::hash_index_space_handle(), host(), sheaf::hub_index_space_handle::hub_index_space_handle(), sheaf::index_equivalence_class::index_equivalence_class(), fiber_bundle::point_block_crg_interval::initialize_block_vertices(), fiber_bundle::structured_block_1d_crg_interval::initialize_block_vertices(), fiber_bundle::structured_block_2d_crg_interval::initialize_block_vertices(), fiber_bundle::structured_block_3d_crg_interval::initialize_block_vertices(), fiber_bundle::zone_nodes_block_crg_interval::initialize_vertex_client_id_space(), sheaf::interval_index_space_handle::interval_index_space_handle(), sheaf::list_index_space_handle::list_index_space_handle(), sheaf::primary_sum_index_space_state::new_primary_term(), sheaf::primary_sum_index_space_state::new_reserved_term(), sheaf::singleton_index_space_state::new_space(), sheaf::reserved_primary_index_space_state::new_space(), sheaf::offset_index_space_state::new_space(), sheaf::primary_index_space_state::new_space(), sheaf::primitives_index_space_state::new_space(), sheaf::array_index_space_state::new_space(), sheaf::list_index_space_state::new_space(), sheaf::hash_index_space_state::new_space(), fiber_bundle::section_space_schema_jims_index_space_state::new_space(), sheaf::interval_index_space_state::new_space(), sheaf::primary_sum_index_space_state::new_space(), sheaf::offset_index_space_handle::offset_index_space_handle(), sheaf::primary_index_space_handle::primary_index_space_handle(), sheaf::primitives_index_space_handle::primitives_index_space_handle(), sheaf::implicit_crg_interval::put_private_data(), sheaf::reserved_primary_index_space_handle::reserved_primary_index_space_handle(), sheaf::scattered_insertion_index_space_handle::scattered_insertion_index_space_handle(), fiber_bundle::section_space_schema_jims_index_space_handle::section_space_schema_jims_index_space_handle(), sheaf::singleton_index_space_handle::singleton_index_space_handle(), sheaf::sum_index_space_handle::sum_index_space_handle(), and sheaf::id_space_names_record::transfer_poset_to_internal_buffer().
|
virtual |
Class invariant.
Reimplemented from sheaf::index_space_handle.
Reimplemented in sheaf::hub_index_space_handle, sheaf::interval_index_space_handle, sheaf::sum_index_space_handle, sheaf::list_index_space_handle, sheaf::gathered_insertion_index_space_handle, fiber_bundle::section_space_schema_jims_index_space_handle, sheaf::reserved_primary_index_space_handle, sheaf::scattered_insertion_index_space_handle, sheaf::array_index_space_handle, sheaf::offset_index_space_handle, sheaf::singleton_index_space_handle, sheaf::hash_index_space_handle, sheaf::primary_index_space_handle, and sheaf::primitives_index_space_handle.
Definition at line 1095 of file explicit_index_space_handle.cc.
References sheaf::any::disable_invariant_check(), sheaf::any::enable_invariant_check(), sheaf::index_space_handle::invariant(), and sheaf::any::invariant_check().
Referenced by explicit_index_space_handle(), sheaf::primitives_index_space_handle::invariant(), sheaf::primary_index_space_handle::invariant(), sheaf::singleton_index_space_handle::invariant(), sheaf::offset_index_space_handle::invariant(), fiber_bundle::section_space_schema_jims_index_space_handle::invariant(), sheaf::gathered_insertion_index_space_handle::invariant(), sheaf::sum_index_space_handle::invariant(), is_ancestor_of(), and operator=().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from sheaf::index_space_handle.
Reimplemented in sheaf::hub_index_space_handle, sheaf::interval_index_space_handle, sheaf::sum_index_space_handle, sheaf::list_index_space_handle, sheaf::gathered_insertion_index_space_handle, fiber_bundle::section_space_schema_jims_index_space_handle, sheaf::reserved_primary_index_space_handle, sheaf::scattered_insertion_index_space_handle, sheaf::array_index_space_handle, sheaf::offset_index_space_handle, sheaf::singleton_index_space_handle, sheaf::hash_index_space_handle, sheaf::primary_index_space_handle, and sheaf::primitives_index_space_handle.
Definition at line 1074 of file explicit_index_space_handle.cc.
References invariant().
Referenced by allocated_iterator().
|
virtual |
True if this handle is attached to a state.
Implements sheaf::index_space_handle.
Definition at line 595 of file explicit_index_space_handle.cc.
References _state, and attach_to().
Referenced by allocated_id_space(), allocated_iterator(), sheaf::array_index_space_handle::array_index_space_handle(), sheaf::explicit_index_space_state::attach(), attach_to(), begin(), sheaf::gathered_insertion_index_space_handle::capacity(), sheaf::gathered_insertion_index_space_handle::clear(), contains(), contains_glued_hub(), contains_unglued_hub(), ct(), fiber_bundle::base_space_poset::d_cells_id_space(), delete_product_structure(), detach(), sheaf::poset_state_handle::dof_tuple_hub_id_space(), sheaf::poset_scaffold::dof_tuple_id_space(), sheaf::poset_scaffold::dof_tuple_id_space_initialized(), end(), explicit_index_space_handle(), sheaf::gathered_insertion_index_space_handle::gather(), sheaf::gathered_insertion_index_space_handle::gathered_insertion_index_space_handle(), fiber_bundle::sec_rep_space::get_branch_id_space(), fiber_bundle::sec_rep_space_member::get_branch_id_space(), sheaf::primitives_index_space_state::get_id_space(), sheaf::singleton_index_space_state::get_id_space(), sheaf::offset_index_space_state::get_id_space(), sheaf::reserved_primary_index_space_state::get_id_space(), sheaf::primary_index_space_state::get_id_space(), fiber_bundle::section_space_schema_jims_index_space_state::get_id_space(), sheaf::hash_index_space_state::get_id_space(), sheaf::array_index_space_state::get_id_space(), get_id_space(), sheaf::list_index_space_state::get_id_space(), sheaf::interval_index_space_state::get_id_space(), sheaf::primary_sum_index_space_state::get_id_space(), get_iterator(), glued_hub_pod(), sheaf::primary_sum_index_space_state::has_gathered_id_space(), has_product_structure(), sheaf::hash_index_space_handle::hash_index_space_handle(), host(), sheaf::singleton_index_space_handle::hub_id(), fiber_bundle::homogeneous_block::hub_id_space(), sheaf::hub_index_space_handle::hub_index_space_handle(), sheaf::subposet::id_space(), id_spaces(), index(), sheaf::scattered_insertion_index_space_handle::insert(), sheaf::interval_index_space_handle::insert_interval(), sheaf::interval_index_space_handle::interval_begin(), sheaf::interval_index_space_handle::interval_end(), sheaf::interval_index_space_handle::interval_index_space_handle(), is_persistent(), sheaf::list_index_space_handle::list_index_space_handle(), sheaf::poset_state_handle::member_hub_id_space(), sheaf::poset_scaffold::member_id_space(), sheaf::poset_scaffold::member_id_space_initialized(), sheaf::interval_index_space_handle::merge_mode(), fiber_bundle::sec_rep_space::multisection_id_space(), sheaf::reserved_primary_index_space_handle::new_id(), sheaf::primary_sum_index_space_state::new_id(), new_product_structure(), sheaf::gathered_insertion_index_space_handle::next_id(), sheaf::primary_index_space_handle::offset(), sheaf::offset_index_space_handle::offset(), sheaf::offset_index_space_handle::offset_index_space_handle(), sheaf::operator<<(), sheaf::gathered_insertion_index_space_handle::operator=(), sheaf::scattered_insertion_index_space_handle::operator=(), sheaf::hub_index_space_handle::operator=(), sheaf::primitives_index_space_handle::operator=(), sheaf::reserved_primary_index_space_handle::operator=(), operator=(), sheaf::primary_index_space_handle::operator=(), sheaf::sum_index_space_handle::operator=(), sheaf::singleton_index_space_handle::operator=(), sheaf::offset_index_space_handle::operator=(), sheaf::interval_index_space_handle::operator=(), sheaf::hash_index_space_handle::operator=(), sheaf::array_index_space_handle::operator=(), fiber_bundle::section_space_schema_jims_index_space_handle::operator=(), sheaf::list_index_space_handle::operator=(), pod(), sheaf::primary_index_space_handle::primary_index_space_handle(), sheaf::primitives_index_space_handle::primitives_index_space_handle(), product_structure(), sheaf::gathered_insertion_index_space_handle::push(), sheaf::gathered_insertion_index_space_handle::push_back(), sheaf::interval_index_space_handle::put_merge_mode(), release_id_space(), release_iterator(), sheaf::gathered_insertion_index_space_handle::remove(), sheaf::gathered_insertion_index_space_handle::remove_hub(), sheaf::interval_index_space_handle::remove_hub_interval(), sheaf::interval_index_space_handle::remove_interval(), sheaf::gathered_insertion_index_space_handle::reserve(), sheaf::reserved_primary_index_space_handle::reserved_primary_index_space_handle(), sheaf::scattered_insertion_index_space_handle::scattered_insertion_index_space_handle(), fiber_bundle::section_space_schema_jims_index_space_handle::section_space_schema_jims_index_space_handle(), sheaf::singleton_index_space_handle::singleton_index_space_handle(), sheaf::gathered_insertion_index_space_handle::state(), sheaf::scattered_insertion_index_space_handle::state(), state(), sheaf::sum_index_space_handle::state(), sheaf::primitives_index_space_handle::state(), sheaf::hub_index_space_handle::state(), sheaf::reserved_primary_index_space_handle::state(), sheaf::primary_index_space_handle::state(), sheaf::singleton_index_space_handle::state(), sheaf::interval_index_space_handle::state(), sheaf::offset_index_space_handle::state(), sheaf::hash_index_space_handle::state(), sheaf::array_index_space_handle::state(), fiber_bundle::section_space_schema_jims_index_space_handle::state(), sheaf::list_index_space_handle::state(), sheaf::poset_state_handle::subposet_hub_id_space(), sheaf::poset_scaffold::subposet_id_space(), sheaf::poset_scaffold::subposet_id_space_initialized(), sheaf::sum_index_space_handle::sum_index_space_handle(), unglued_hub_pod(), and sheaf::gathered_insertion_index_space_handle::update_extrema().
|
virtual |
True if this id space should be written to disk.
Implements sheaf::index_space_handle.
Definition at line 521 of file explicit_index_space_handle.cc.
References _state, host(), is_attached(), and sheaf::explicit_index_space_state::is_persistent().
Referenced by glued_hub_pod(), sheaf::offset_index_space_handle::new_space(), sheaf::hash_index_space_handle::new_space(), sheaf::array_index_space_handle::new_space(), sheaf::primitives_index_space_state::new_space(), sheaf::singleton_index_space_state::new_space(), sheaf::reserved_primary_index_space_state::new_space(), sheaf::offset_index_space_state::new_space(), sheaf::primary_index_space_state::new_space(), sheaf::hash_index_space_state::new_space(), fiber_bundle::section_space_schema_jims_index_space_state::new_space(), sheaf::list_index_space_state::new_space(), sheaf::array_index_space_state::new_space(), sheaf::interval_index_space_state::new_space(), sheaf::primary_sum_index_space_state::new_space(), and sheaf::gathered_insertion_index_space_handle::put_is_persistent().
|
virtual |
Creates a new product structure for this id space by cloning the product structure, xproduct.
Implements sheaf::index_space_handle.
Definition at line 806 of file explicit_index_space_handle.cc.
References _state, delete_product_structure(), has_product_structure(), is_attached(), and sheaf::explicit_index_space_state::new_product_structure().
Referenced by fiber_bundle::section_space_schema_poset::initialize_standard_members(), and state().
sheaf::explicit_index_space_handle & sheaf::explicit_index_space_handle::operator= | ( | const explicit_index_space_handle & | xother | ) |
Assignment operator; attach this handle to the state of xother. synonym for attach_to(xother).
Definition at line 138 of file explicit_index_space_handle.cc.
References attach_to(), conforms_to_state(), invariant(), is_attached(), and state().
Referenced by state(), and ~explicit_index_space_handle().
|
virtual |
Assignment operator; attach this handle to the state of xother. synonym for attach_to(xother).
Reimplemented from sheaf::index_space_handle.
Reimplemented in sheaf::hub_index_space_handle, sheaf::interval_index_space_handle, sheaf::sum_index_space_handle, sheaf::list_index_space_handle, sheaf::gathered_insertion_index_space_handle, fiber_bundle::section_space_schema_jims_index_space_handle, sheaf::reserved_primary_index_space_handle, sheaf::array_index_space_handle, sheaf::offset_index_space_handle, sheaf::singleton_index_space_handle, sheaf::hash_index_space_handle, sheaf::primary_index_space_handle, sheaf::scattered_insertion_index_space_handle, and sheaf::primitives_index_space_handle.
Definition at line 213 of file explicit_index_space_handle.cc.
References attach_to(), clone(), conforms_to_state(), invariant(), and sheaf::index_space_handle::is_attached().
|
virtual |
The pod index in this space equivalent to xid in the hub id space.
Implements sheaf::index_space_handle.
Definition at line 458 of file explicit_index_space_handle.cc.
References _state, contains(), is_attached(), sheaf::is_valid(), sheaf::explicit_index_space_state::pod(), and unglued_hub_pod().
Referenced by fiber_bundle::sec_rep_space::branch_id_space_name(), contains(), sheaf::crg_interval::cover_id_space_id(), sheaf::member_record::externalize(), fiber_bundle::zone_nodes_block_crg_interval::get_implicit_private_data(), sheaf::interval_index_space_handle::insert_interval(), fields::zone_centered_tet_refiner::modify_subposets(), fields::zone_centered_segment_refiner::modify_subposets(), fields::zone_centered_triangle_refiner::modify_subposets(), fields::edge_centered_polygon_refiner::modify_subposets(), fiber_bundle::base_space_poset::new_member(), fiber_bundle::section_space_schema_table_dof_crg_range::ordinal(), sheaf::interval_index_space_handle::push_interval(), fiber_bundle::unstructured_block_builder::put_name_mode(), sheaf::gathered_insertion_index_space_handle::remove_hub(), sheaf::list_index_space_handle::replace_range_id(), fields::field_refinement_buffer::reserve_coord_fiber(), fields::field_refinement_buffer::reserve_prop_fiber(), tool::visualization_iterator_1_1::set_vtk_data(), tool::visualization_iterator_4_2::set_vtk_data(), tool::visualization_iterator_4_3::set_vtk_data(), tool::visualization_iterator_1_3::set_vtk_data(), sheaf::poset_general_record::transfer_poset_to_internal_buffer(), and sheaf::attributes_record_set::write_toc_bounds_attribute().
|
virtual |
The product structure for this id space (const version).
Implements sheaf::index_space_handle.
Definition at line 848 of file explicit_index_space_handle.cc.
References _state, has_product_structure(), is_attached(), and sheaf::explicit_index_space_state::product_structure().
Referenced by delete_product_structure(), and fiber_bundle::section_space_schema_poset::initialize_standard_members().
|
virtual |
The product structure for this id space (mutable version).
Implements sheaf::index_space_handle.
Definition at line 870 of file explicit_index_space_handle.cc.
References _state, has_product_structure(), is_attached(), and sheaf::explicit_index_space_state::product_structure().
|
virtual |
Returns this id space handle to the handle pool.
Implements sheaf::index_space_handle.
Definition at line 945 of file explicit_index_space_handle.cc.
References _state, allocated_id_space(), is_attached(), and sheaf::explicit_index_space_state::release_id_space().
Referenced by get_id_space(), sheaf::storage_agent::initialize_poset_id_spaces_for_write(), fiber_bundle::base_space_poset::new_member(), sheaf::poset_crg_state::remove_cover_members(), and sheaf::id_space_names_record::transfer_poset_to_internal_buffer().
|
virtual |
Returns the id space iterator xitr to the iterator pool.
Implements sheaf::index_space_handle.
Definition at line 1020 of file explicit_index_space_handle.cc.
References _state, allocated_iterator(), is_attached(), and sheaf::explicit_index_space_state::release_iterator().
Referenced by fiber_bundle::section_space_schema_table_dof_crg_range::atoms(), sheaf::interval_index_space_record::externalize(), sheaf::member_record_set::externalize(), get_iterator(), fiber_bundle::product_section_space_schema_poset::initialize_row_dof_subposet(), and sheaf::operator<<().
|
protected |
The explicit state (mutable version).
Definition at line 162 of file explicit_index_space_handle.cc.
References _state, and is_attached().
Referenced by attach_to(), conforms_to_state(), operator=(), and state().
|
protected |
The explicit state (const version).
Definition at line 183 of file explicit_index_space_handle.cc.
References _state, is_attached(), and operator=().
|
protected |
The explicit id space state at id xindex in id space family id_spaces(). Returns null if no id space stae is available at index xindex.
Definition at line 750 of file explicit_index_space_handle.cc.
References sheaf::index_space_family::collection(), sheaf::index_space_collection::contains(), contains(), sheaf::index_space_collection::explicit_state(), host(), id_spaces(), is_attached(), sheaf::index_space_collection::local_scope(), and state().
|
protected |
The explicit id space state with local scope id xlocal_id in the host id space collection xhost.
Definition at line 776 of file explicit_index_space_handle.cc.
References sheaf::index_space_collection::contains(), sheaf::index_space_collection::explicit_state(), and new_product_structure().
|
virtual |
The pod index in the unglued hub id space equivalent to xid in this id space.
Implements sheaf::index_space_handle.
Definition at line 479 of file explicit_index_space_handle.cc.
References _state, contains_unglued_hub(), glued_hub_pod(), is_attached(), sheaf::is_valid(), and sheaf::explicit_index_space_state::unglued_hub_pod().
Referenced by sheaf::index_space_iterator::glued_hub_pod(), pod(), and sheaf::list_index_space_handle::push_front().
|
protected |
The explicit state.
Definition at line 102 of file explicit_index_space_handle.h.
Referenced by allocated_id_space(), allocated_iterator(), attach_to(), begin(), contains(), contains_glued_hub(), contains_unglued_hub(), ct(), delete_product_structure(), detach(), end(), get_id_space(), get_iterator(), glued_hub_pod(), has_product_structure(), host(), id_spaces(), index(), is_attached(), is_persistent(), new_product_structure(), pod(), product_structure(), release_id_space(), release_iterator(), state(), and unglued_hub_pod().