SheafSystem
0.0.0.0
|
Emulator for a range of implicit section space schema members representing the Cartesian product the mesh poset and the attribute schema poset. More...
#include <product_section_space_schema_crg_range.h>
PRODUCT_SECTION_SPACE_SCHEMA_CRG_RANGE FACET | |
const index_space_handle * | _base_id_space |
The gathered base space hub id space. More... | |
const index_space_handle * | _fiber_id_space |
The gathered fiber schema hub id space. More... | |
const section_space_schema_table_dof_crg_range * | _table_dof_range |
The table dof crg range. More... | |
product_section_space_schema_crg_range () | |
Default constructor. More... | |
virtual | ~product_section_space_schema_crg_range () |
Destructor. More... | |
const ij_product_structure & | product_structure () const |
The product structure of the local id space,. More... | |
bool | gathered_id_spaces_initialized () const |
True if the gathered id spaces have been initialized. More... | |
bool | product_structure_initialized () const |
True if the product structure has been initialized. More... | |
bool | table_dof_range_initialized () const |
True if the table dof range has been initialized. More... | |
void | update_gathered_id_spaces () |
Update the gathered hub id spaces for the base space and fiber schema. More... | |
void | update_product_structure () |
Update teh product structure of the local id space. More... | |
void | initialize_gathered_id_spaces () |
Initialize the gathered hub id spaces for the base space and fiber schema. More... | |
void | initialize_product_structure () |
Sets the product structure of the local id space to an ij_product_structure. More... | |
void | initialize_table_dof_range (section_space_schema_table_dof_crg_range &xtable_dof_range) |
Sets the table dof crg range. More... | |
const index_space_handle * | gathered_id_space (poset_state_handle &xhost) |
Get the gathered hub id space for xhost. More... | |
virtual bool | contains_member (pod_index_type xbase_space_id, pod_index_type xfiber_schema_id) const |
True if this range contains the member with base space id xbase_space_id and fiber schema id xfiber_schema_id. More... | |
virtual void | tuple (pod_index_type xindex, pod_index_type &xbase_space_id, pod_index_type &xfiber_schema_id) const |
The tuple conversion from section space schema id xindex to the base space id xbase_space_id and fiber schema id xfiber_schema_id. More... | |
virtual void | ordinal (pod_index_type xbase_space_id, pod_index_type xfiber_schema_id, pod_index_type &xindex) const |
The ordinal conversion from base space id xbase_space_id and fiber schema id xfiber_schema_id to section space schema id xindex. More... | |
RANGE FACET | |
virtual cover_set_iterator | atoms () const |
An iterator over the atoms in this range. More... | |
static void | get_size (const product_section_space_schema_poset &xhost, size_type &result) |
The size for an instance created with parameter xhost. More... | |
COVER SET FACET | |
virtual cover_set_iterator | implicit_cover_iterator (bool xlower, pod_index_type xmbr_index) const |
Iterator for lower (xlower true) or upper (xlower false) cover set of the member with index xmbr_index. More... | |
virtual bool | implicit_cover_is_empty (bool xlower, pod_index_type xmbr_index) const |
True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with index xmbr_index is empty. More... | |
virtual size_type | implicit_cover_size (bool xlower, pod_index_type xmbr_index) const |
The number of members in the lower (xlower true) or upper (xlower false) cover set. More... | |
virtual bool | implicit_cover_contains_member (bool xlower, pod_index_type xmbr_index, pod_index_type xother_index) const |
True if and only if the lower (xlower true) or upper (xlower false) cover set contains xindex. More... | |
virtual pod_index_type | implicit_first_cover_member (bool xlower, pod_index_type xmbr_index) const |
The first member of the lower (xlower true) or upper (xlower false) cover. More... | |
DOF_TUPLE_ID FACET | |
virtual bool | is_jim (pod_index_type xmbr_index) const |
True if and only if the member with index xmbr_index is join-irreducible. More... | |
virtual const scoped_index & | dof_tuple_id (pod_index_type xmbr_index) const |
The dof tuple id of the member with index xmbr_index. More... | |
PRIVATE_DATA FACET | |
virtual size_type | implicit_private_data_size () const |
The size of the private data. More... | |
virtual void | get_implicit_private_data (block< pod_index_type > &xdata) const |
The private data for this instance. More... | |
virtual void | put_implicit_private_data (const block< pod_index_type > &xdata) |
Initializes this using private data xdata. More... | |
FINIALIZE FACET | |
virtual void | finalize (poset_state_handle &xhost) |
Finialize the initialization of this crg range in the host xhost. More... | |
FACTORY FACET | |
virtual bool | is_initialized () const |
True if fully initialized. More... | |
virtual const std::string & | class_name () const |
The name of this class; provided to satisfy factory template. More... | |
ANY FACET | |
virtual bool | is_ancestor_of (const any *other) const |
Conformance test; true if other conforms to this. More... | |
virtual product_section_space_schema_crg_range * | clone () const |
Virtual constructor, makes a new instance of the same type as this. More... | |
virtual bool | invariant () const |
Class invariant. More... | |
Additional Inherited Members | |
Public Member Functions inherited from fiber_bundle::section_space_schema_crg_range | |
section_space_schema_crg_range () | |
Default constructor. More... | |
virtual | ~section_space_schema_crg_range () |
Destructor. More... | |
base_space_poset & | base_space () |
The base space for section spaces on this schema (mutable version). More... | |
const base_space_poset & | base_space () const |
The base space for section spaces on this schema (const version). More... | |
bool | base_space_initialized () const |
True if the base space has been initialized. More... | |
poset_state_handle & | fiber_schema () |
The fiber schema for section spaces on this schema (mutable version). More... | |
const poset_state_handle & | fiber_schema () const |
The fiber schema for section spaces on this schema (const version). More... | |
bool | fiber_schema_initialized () const |
True if the fiber schema has been initialized. More... | |
Protected Member Functions inherited from fiber_bundle::section_space_schema_crg_range | |
void | initialize_base_space (base_space_poset &xbase_space) |
Sets the base space for section spaces on this schema to xbase_space. More... | |
void | initialize_fiber_schema (poset_state_handle &xfiber_schema) |
Sets the fiber schema for section spaces on this schema to xfiber_schema. More... | |
virtual bool | implicit_cover_contains_iterator (bool xlower, pod_index_type xmbr_index, const cover_set_iterator &xitr) const |
True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with index xmbr_index. is the domain of iterator xitr. More... | |
virtual bool | implicit_cover_is_singleton (bool xlower, pod_index_type xmbr_index) const |
True if and only if the lower (xlower true) or upper (xlower false) cover set contains exactly one member. More... | |
Protected Attributes inherited from fiber_bundle::section_space_schema_crg_range | |
base_space_poset * | _base_space |
The base space for section spaces on this schema. More... | |
poset_state_handle * | _fiber_schema |
The fiber schema for section spaces on this schema. More... | |
Emulator for a range of implicit section space schema members representing the Cartesian product the mesh poset and the attribute schema poset.
Definition at line 51 of file product_section_space_schema_crg_range.h.
fiber_bundle::product_section_space_schema_crg_range::product_section_space_schema_crg_range | ( | ) |
Default constructor.
Definition at line 36 of file product_section_space_schema_crg_range.cc.
References invariant(), and ~product_section_space_schema_crg_range().
Referenced by class_name(), and clone().
|
virtual |
Destructor.
Definition at line 55 of file product_section_space_schema_crg_range.cc.
References product_structure().
Referenced by product_section_space_schema_crg_range().
|
virtual |
An iterator over the atoms in this range.
Definition at line 433 of file product_section_space_schema_crg_range.cc.
References fiber_bundle::section_space_schema_crg_range::_base_space, fiber_bundle::section_space_schema_crg_range::_fiber_schema, sheaf::subposet::contains_member(), implicit_cover_iterator(), ordinal(), and sheaf::poset_state_handle::table_dof_subposet().
Referenced by finalize(), and get_size().
|
virtual |
The name of this class; provided to satisfy factory template.
Reimplemented from fiber_bundle::section_space_schema_crg_range.
Definition at line 993 of file product_section_space_schema_crg_range.cc.
References is_ancestor_of(), and product_section_space_schema_crg_range().
Referenced by is_initialized().
|
virtual |
Virtual constructor, makes a new instance of the same type as this.
Reimplemented from fiber_bundle::section_space_schema_crg_range.
Definition at line 1062 of file product_section_space_schema_crg_range.cc.
References invariant(), and product_section_space_schema_crg_range().
Referenced by is_ancestor_of().
|
virtual |
True if this range contains the member with base space id xbase_space_id and fiber schema id xfiber_schema_id.
Implements fiber_bundle::section_space_schema_crg_range.
Definition at line 314 of file product_section_space_schema_crg_range.cc.
References _base_id_space, _fiber_id_space, sheaf::index_space_handle::contains_hub(), and tuple().
Referenced by fiber_bundle::product_section_space_schema_poset::contains_range_member(), dof_tuple_id(), gathered_id_space(), fiber_bundle::section_space_schema_table_dof_crg_range::implicit_cover_contains_member(), implicit_cover_contains_member(), implicit_cover_is_empty(), implicit_cover_iterator(), implicit_cover_size(), implicit_first_cover_member(), fiber_bundle::product_section_space_schema_poset::is_homogeneous(), is_jim(), ordinal(), fiber_bundle::product_section_space_schema_poset::ordinal(), tuple(), and fiber_bundle::product_section_space_schema_poset::tuple().
|
virtual |
The dof tuple id of the member with index xmbr_index.
Definition at line 798 of file product_section_space_schema_crg_range.cc.
References fiber_bundle::section_space_schema_crg_range::_fiber_schema, contains_member(), sheaf::poset_state_handle::dof_tuple_id(), implicit_private_data_size(), sheaf::scoped_index::is_valid(), and tuple().
Referenced by is_jim().
|
virtual |
Finialize the initialization of this crg range in the host xhost.
Definition at line 900 of file product_section_space_schema_crg_range.cc.
References atoms(), fiber_bundle::section_space_schema_crg_range::initialize_base_space(), fiber_bundle::section_space_schema_crg_range::initialize_fiber_schema(), initialize_gathered_id_spaces(), initialize_product_structure(), initialize_table_dof_range(), invariant(), is_initialized(), sheaf::read_write_monitor_handle::state_is_read_accessible(), and sheaf::UPPER.
Referenced by fiber_bundle::product_section_space_schema_poset::initialize_standard_members(), and put_implicit_private_data().
|
protected |
Get the gathered hub id space for xhost.
Definition at line 265 of file product_section_space_schema_crg_range.cc.
References contains_member(), sheaf::poset_state_handle::get_read_write_access(), sheaf::poset_state_handle::release_access(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
Referenced by initialize_gathered_id_spaces(), and initialize_table_dof_range().
bool fiber_bundle::product_section_space_schema_crg_range::gathered_id_spaces_initialized | ( | ) | const |
True if the gathered id spaces have been initialized.
Definition at line 94 of file product_section_space_schema_crg_range.cc.
References _base_id_space, _fiber_id_space, and product_structure_initialized().
Referenced by initialize_gathered_id_spaces(), initialize_product_structure(), and product_structure().
|
protectedvirtual |
The private data for this instance.
Definition at line 853 of file product_section_space_schema_crg_range.cc.
References sheaf::auto_block< T, S >::ct(), implicit_private_data_size(), and put_implicit_private_data().
Referenced by implicit_private_data_size().
|
static |
The size for an instance created with parameter xhost.
Definition at line 412 of file product_section_space_schema_crg_range.cc.
References atoms(), fiber_bundle::section_space_schema_poset::base_space(), sheaf::explicit_index_space_handle::ct(), fiber_bundle::section_space_schema_poset::fiber_schema(), sheaf::poset_state_handle::member_hub_id_space(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
Referenced by fiber_bundle::product_section_space_schema_poset::initialize_standard_members(), and ordinal().
|
protectedvirtual |
True if and only if the lower (xlower true) or upper (xlower false) cover set contains xindex.
Definition at line 632 of file product_section_space_schema_crg_range.cc.
References fiber_bundle::section_space_schema_crg_range::_base_space, fiber_bundle::section_space_schema_crg_range::_fiber_schema, _table_dof_range, contains_member(), sheaf::subposet::contains_member(), sheaf::poset_state_handle::cover_contains_member(), implicit_first_cover_member(), sheaf::poset_state_handle::is_atom(), sheaf::poset_state_handle::table_dof_subposet(), fiber_bundle::section_space_schema_table_dof_crg_range::tuple(), and tuple().
Referenced by implicit_cover_size().
|
protectedvirtual |
True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with index xmbr_index is empty.
Definition at line 569 of file product_section_space_schema_crg_range.cc.
References contains_member(), and implicit_cover_size().
Referenced by implicit_cover_iterator().
|
protectedvirtual |
Iterator for lower (xlower true) or upper (xlower false) cover set of the member with index xmbr_index.
Definition at line 491 of file product_section_space_schema_crg_range.cc.
References fiber_bundle::section_space_schema_crg_range::_base_space, fiber_bundle::section_space_schema_crg_range::_fiber_schema, _table_dof_range, contains_member(), sheaf::subposet::contains_member(), implicit_cover_is_empty(), sheaf::poset_state_handle::is_atom(), fiber_bundle::section_space_schema_table_dof_crg_range::ordinal(), ordinal(), sheaf::poset_state_handle::table_dof_subposet(), and tuple().
Referenced by atoms().
|
protectedvirtual |
The number of members in the lower (xlower true) or upper (xlower false) cover set.
Definition at line 590 of file product_section_space_schema_crg_range.cc.
References fiber_bundle::section_space_schema_crg_range::_base_space, fiber_bundle::section_space_schema_crg_range::_fiber_schema, contains_member(), sheaf::poset_state_handle::cover_ct(), implicit_cover_contains_member(), sheaf::poset_state_handle::is_atom(), and tuple().
Referenced by implicit_cover_is_empty().
|
protectedvirtual |
The first member of the lower (xlower true) or upper (xlower false) cover.
Definition at line 703 of file product_section_space_schema_crg_range.cc.
References fiber_bundle::section_space_schema_crg_range::_base_space, fiber_bundle::section_space_schema_crg_range::_fiber_schema, _table_dof_range, contains_member(), sheaf::subposet::contains_member(), sheaf::poset_state_handle::first_cover_member(), sheaf::invalid_pod_index(), sheaf::poset_state_handle::is_atom(), is_jim(), fiber_bundle::section_space_schema_table_dof_crg_range::ordinal(), ordinal(), sheaf::poset_state_handle::table_dof_subposet(), and tuple().
Referenced by implicit_cover_contains_member().
|
protectedvirtual |
The size of the private data.
Definition at line 836 of file product_section_space_schema_crg_range.cc.
References get_implicit_private_data().
Referenced by dof_tuple_id(), get_implicit_private_data(), and put_implicit_private_data().
|
protected |
Initialize the gathered hub id spaces for the base space and fiber schema.
Definition at line 193 of file product_section_space_schema_crg_range.cc.
References _base_id_space, _fiber_id_space, fiber_bundle::section_space_schema_crg_range::base_space(), fiber_bundle::section_space_schema_crg_range::base_space_initialized(), fiber_bundle::section_space_schema_crg_range::fiber_schema(), fiber_bundle::section_space_schema_crg_range::fiber_schema_initialized(), gathered_id_space(), gathered_id_spaces_initialized(), and initialize_product_structure().
Referenced by finalize(), and update_product_structure().
|
protected |
Sets the product structure of the local id space to an ij_product_structure.
Definition at line 217 of file product_section_space_schema_crg_range.cc.
References _base_id_space, _fiber_id_space, fiber_bundle::section_space_schema_crg_range::base_space_initialized(), sheaf::index_space_handle::ct(), fiber_bundle::section_space_schema_crg_range::fiber_schema_initialized(), gathered_id_spaces_initialized(), initialize_table_dof_range(), and product_structure_initialized().
Referenced by finalize(), and initialize_gathered_id_spaces().
|
protected |
Sets the table dof crg range.
Definition at line 244 of file product_section_space_schema_crg_range.cc.
References _table_dof_range, gathered_id_space(), and table_dof_range_initialized().
Referenced by finalize(), and initialize_product_structure().
|
virtual |
Class invariant.
Reimplemented from fiber_bundle::section_space_schema_crg_range.
Definition at line 1084 of file product_section_space_schema_crg_range.cc.
References fiber_bundle::section_space_schema_crg_range::invariant().
Referenced by clone(), finalize(), product_section_space_schema_crg_range(), and put_implicit_private_data().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from fiber_bundle::section_space_schema_crg_range.
Definition at line 1041 of file product_section_space_schema_crg_range.cc.
References clone().
Referenced by class_name().
|
virtual |
True if fully initialized.
Definition at line 969 of file product_section_space_schema_crg_range.cc.
References fiber_bundle::section_space_schema_crg_range::base_space_initialized(), class_name(), fiber_bundle::section_space_schema_crg_range::fiber_schema_initialized(), product_structure_initialized(), and table_dof_range_initialized().
Referenced by finalize(), update_gathered_id_spaces(), and update_product_structure().
|
virtual |
True if and only if the member with index xmbr_index is join-irreducible.
Definition at line 771 of file product_section_space_schema_crg_range.cc.
References fiber_bundle::section_space_schema_crg_range::_base_space, fiber_bundle::section_space_schema_crg_range::_fiber_schema, contains_member(), dof_tuple_id(), sheaf::poset_state_handle::is_jim(), and tuple().
Referenced by implicit_first_cover_member().
|
virtual |
The ordinal conversion from base space id xbase_space_id and fiber schema id xfiber_schema_id to section space schema id xindex.
Implements fiber_bundle::section_space_schema_crg_range.
Definition at line 364 of file product_section_space_schema_crg_range.cc.
References _base_id_space, _fiber_id_space, contains_member(), get_size(), sheaf::ij_product_structure::ordinal(), sheaf::index_space_handle::pod(), and product_structure().
Referenced by atoms(), fiber_bundle::section_space_schema_table_dof_crg_range::implicit_cover_iterator(), implicit_cover_iterator(), implicit_first_cover_member(), fiber_bundle::product_section_space_schema_poset::initialize_standard_members(), fiber_bundle::product_section_space_schema_poset::ordinal(), and tuple().
const sheaf::ij_product_structure & fiber_bundle::product_section_space_schema_crg_range::product_structure | ( | ) | const |
The product structure of the local id space,.
Definition at line 72 of file product_section_space_schema_crg_range.cc.
References gathered_id_spaces_initialized(), and product_structure_initialized().
Referenced by ordinal(), fiber_bundle::product_section_space_schema_poset::product_structure(), tuple(), and ~product_section_space_schema_crg_range().
bool fiber_bundle::product_section_space_schema_crg_range::product_structure_initialized | ( | ) | const |
True if the product structure has been initialized.
Definition at line 113 of file product_section_space_schema_crg_range.cc.
References table_dof_range_initialized().
Referenced by gathered_id_spaces_initialized(), initialize_product_structure(), is_initialized(), and product_structure().
|
protectedvirtual |
Initializes this using private data xdata.
Definition at line 872 of file product_section_space_schema_crg_range.cc.
References sheaf::auto_block< T, S >::ct(), finalize(), implicit_private_data_size(), and invariant().
Referenced by get_implicit_private_data().
bool fiber_bundle::product_section_space_schema_crg_range::table_dof_range_initialized | ( | ) | const |
True if the table dof range has been initialized.
Definition at line 132 of file product_section_space_schema_crg_range.cc.
References _table_dof_range, and update_gathered_id_spaces().
Referenced by initialize_table_dof_range(), is_initialized(), and product_structure_initialized().
|
virtual |
The tuple conversion from section space schema id xindex to the base space id xbase_space_id and fiber schema id xfiber_schema_id.
Implements fiber_bundle::section_space_schema_crg_range.
Definition at line 336 of file product_section_space_schema_crg_range.cc.
References _base_id_space, _fiber_id_space, contains_member(), sheaf::index_space_handle::hub_pod(), ordinal(), product_structure(), and sheaf::ij_product_structure::tuple().
Referenced by contains_member(), dof_tuple_id(), fiber_bundle::section_space_schema_table_dof_crg_range::implicit_cover_contains_member(), implicit_cover_contains_member(), implicit_cover_iterator(), implicit_cover_size(), implicit_first_cover_member(), is_jim(), and fiber_bundle::product_section_space_schema_poset::tuple().
void fiber_bundle::product_section_space_schema_crg_range::update_gathered_id_spaces | ( | ) |
Update the gathered hub id spaces for the base space and fiber schema.
Definition at line 151 of file product_section_space_schema_crg_range.cc.
References fiber_bundle::section_space_schema_crg_range::base_space(), fiber_bundle::section_space_schema_crg_range::fiber_schema(), is_initialized(), and update_product_structure().
Referenced by table_dof_range_initialized(), and fiber_bundle::product_section_space_schema_poset::update_hub_id_space().
void fiber_bundle::product_section_space_schema_crg_range::update_product_structure | ( | ) |
Update teh product structure of the local id space.
Definition at line 171 of file product_section_space_schema_crg_range.cc.
References _base_id_space, _fiber_id_space, sheaf::index_space_handle::ct(), initialize_gathered_id_spaces(), and is_initialized().
Referenced by update_gathered_id_spaces(), and fiber_bundle::product_section_space_schema_poset::update_hub_id_space().
|
protected |
The gathered base space hub id space.
Definition at line 129 of file product_section_space_schema_crg_range.h.
Referenced by contains_member(), gathered_id_spaces_initialized(), initialize_gathered_id_spaces(), initialize_product_structure(), ordinal(), tuple(), and update_product_structure().
|
protected |
The gathered fiber schema hub id space.
Definition at line 134 of file product_section_space_schema_crg_range.h.
Referenced by contains_member(), gathered_id_spaces_initialized(), initialize_gathered_id_spaces(), initialize_product_structure(), ordinal(), tuple(), and update_product_structure().
|
protected |
The table dof crg range.
Definition at line 139 of file product_section_space_schema_crg_range.h.
Referenced by implicit_cover_contains_member(), implicit_cover_iterator(), implicit_first_cover_member(), initialize_table_dof_range(), and table_dof_range_initialized().