SheafSystem  0.0.0.0
fiber_bundle::product_section_space_schema_poset Class Reference

An schema poset for a section space represented by a Cartesian product subspace of the tensor product of a base space lattice, and a fiber schema lattice. More...

#include <product_section_space_schema_poset.h>

Inheritance diagram for fiber_bundle::product_section_space_schema_poset:
fiber_bundle::section_space_schema_poset sheaf::poset sheaf::poset_state_handle sheaf::poset_state_handle sheaf::read_write_monitor_handle sheaf::read_write_monitor_handle sheaf::any sheaf::any

Friends

class fiber_bundles_namespace
 
class ij_product_structure
 
class product_section_space_schema_member
 
class product_section_space_schema_crg_range
 
class sec_rep_space
 
class section_space_schema_table_dof_crg_range
 

PRODUCT_SECTION_SPACE_SCHEMA_POSET FACET

section_space_schema_table_dof_crg_range_table_dof_range
 The implicit crg range that represents the table dof members of this poset. More...
 
product_section_space_schema_crg_range_product_range
 The implicit crg range that represents the product members of this poset. More...
 
static arg_list make_arg_list (const poset_path &xrep_path, const poset_path &xbase_space_path, const poset_path &xfiber_space_path)
 Creates an arg list which conforms to the schema of this. More...
 
 product_section_space_schema_poset (namespace_poset &xhost, const std::string &xname, const arg_list &xargs, const poset_path &xschema_path, bool xauto_access)
 Creates a new handle attached to a new poset state in namespace xhost, schema specified by xschema_path, name xname, and table dofs initialized by xargs. More...
 
 product_section_space_schema_poset ()
 Default constructor; creates a new product_section_space_schema_poset handle not attached to any state. More...
 
 product_section_space_schema_poset (const product_section_space_schema_poset &xother)
 Copy constructor; attaches this to the same state as xother. More...
 
virtual ~product_section_space_schema_poset ()
 Destructor. More...
 
virtual void initialize_arg_list (const namespace_poset &xns, const std::string &xname, arg_list &xargs, const poset_path &xschema_path, bool xauto_access)
 Initializes xarg to satisfy class invariants. More...
 
const ij_product_structureproduct_structure () const
 The product structure of this poset. More...
 
void initialize_row_dof_subposet ()
 Initialize the row dof subposet to the product of the row dof ids in the base space and the row dof ids in the fiber schema. More...
 
section_space_schema_table_dof_crg_rangetable_dof_range ()
 The implicit crg range that represents the table dof members of this poset. More...
 
void put_table_dof_range (section_space_schema_table_dof_crg_range &xtable_dof_range)
 Set the table dof crg range. More...
 
product_section_space_schema_crg_rangeproduct_range ()
 The implicit crg range that represents the product members of this poset. More...
 
void put_product_range (product_section_space_schema_crg_range &xproduct_range)
 Set the product range. More...
 
static bool make_prototype ()
 Creates prototype for this class and enters in in factory. More...
 

SECTION_SPACE_SCHEMA_POSET FACET

static const poset_pathstandard_schema_path ()
 The path to the standard schema for this class. More...
 
static void make_standard_schema (namespace_poset &xns)
 Creates standard schema for this class in namespace xns. 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...
 
virtual bool is_homogeneous (pod_index_type xindex) const
 True if xindex is in the homogeneous member id space. More...
 
virtual bool contains_range_member (pod_index_type xbase_space_id, pod_index_type xfiber_schema_id, bool xauto_access) const
 True if this poset contains a member with base space id xbase_space_id and fiber schema id xfiber_schema_id. More...
 
virtual void update_hub_id_space (bool xauto_access)
 Extends the hub id space to match extension of the base space. More...
 

STATE FACET

virtual poset_type type_id () const
 Identifier for the type of this poset. More...
 
virtual const char * class_name () const
 The name of this class. More...
 
void new_state (namespace_poset &xhost, const std::string &xname, const arg_list &xargs, const poset_path &xschema_path, bool xauto_access)
 Attaches this to a new poset state in namespace xhost, schema specified by xschema_path, name xname, and table dofs initialized by xargs. More...
 
virtual void new_state (const schema_poset_member &xschema, array_poset_dof_map &xdof_map)
 Attaches this external poset to a new poset state with schema given by xschema and table dofs by xdof_map. Intended for use by i/o subsystem. More...
 

MEMBERSHIP FACET

Todo:
Remove.
product_section_space_schema_membertop ()
 The top of member of the lattice (mutable version) More...
 
const product_section_space_schema_membertop () const
 The top of member of the lattice (const version) More...
 
product_section_space_schema_memberbottom ()
 The bottom of member of the lattice (mutable version) More...
 
const product_section_space_schema_memberbottom () const
 The bottom of member of the lattice (const version) More...
 
virtual bool is_jim (pod_index_type xindex, bool xin_current_version=true) const
 True if the member with index xindex is a jim. More...
 
virtual string member_name (pod_index_type xindex, bool xauto_access=false) const
 The name of the member with index xindex. More...
 
virtual void initialize_standard_members ()
 Creates the members common to every poset (i.e. _top and _bottom). More...
 

I/O SUPPORT FACET

virtual schema_poset_membernew_schema_handle (const std::string &xid_space_name, pod_index_type xschema_member_ext_id, pod_index_type xbase_space_ext_id, pod_index_type xfiber_schema_ext_id, pod_index_type xlocal_schema_ext_id)
 Creates a member handle of the type appropriate for members of this when used as a schema. Intended for use only by the i/o subsystem. /. More...
 

ANY FACET

virtual bool is_ancestor_of (const any *other) const
 True if other conforms to this. More...
 
virtual bool invariant () const
 Class invariant. More...
 
virtual product_section_space_schema_posetclone () const
 Virtual constructor; creates a new handle of the same actual type as this, attached to the same state as this. More...
 
product_section_space_schema_posetoperator= (const poset_state_handle &xother)
 Assignment operator; attaches this to the same state as xother. More...
 

Additional Inherited Members

- Public Types inherited from fiber_bundle::section_space_schema_poset
typedef fiber_bundles_namespace namespace_type
 The type of namespace for this type of member. More...
 
typedef section_space_schema_member member_type
 The type of member associated with this space. More...
 
typedef section_space_schema_table_dofs_type table_dofs_type
 The table dofs type defined by the standard schema. More...
 
typedef section_space_schema_member member_type
 The type of member associated with this space. More...
 
typedef section_space_schema_table_dofs_type table_dofs_type
 The table dofs type defined by the standard schema. More...
 
- Public Types inherited from sheaf::poset
typedef namespace_poset namespace_type
 The type of namespace for this type of member. More...
 
- Public Types inherited from sheaf::poset_state_handle
typedef schema_poset_member schema_type
 The type of schema member for this class. More...
 
- Public Member Functions inherited from fiber_bundle::section_space_schema_poset
poset_path rep_path (bool xauto_access) const
 The path to the representation for section spaces on this schema.. More...
 
sec_rep_descriptorrep ()
 The representation for section spaces on this schema. More...
 
const sec_rep_descriptorrep () const
 The representation for section spaces on this schema; const version. More...
 
pod_index_type base_space_member_id_ub () const
 The upper bound of the member id of the base space for section spaces on this schema. More...
 
virtual pod_index_type get_base_space_id_from_index (pod_index_type xmbr_hub_id) const
 Computes the base space member id associated with hub id xmbr_hub_id. More...
 
void get_base_space_id_from_index (const scoped_index &xmbr_id, scoped_index &result) const
 Computes the base space member id associated with xindex. More...
 
int base_space_stride () const
 The increment in the member id when the id of the base space component is increased by one. More...
 
int db () const
 The dimension of the base space. More...
 
poset_path base_space_path (bool xauto_access) const
 The path to the base space for section spaces on this schema. More...
 
base_space_posetbase_space ()
 The base space for section spaces on this schema. More...
 
const base_space_posetbase_space () const
 The base space for section spaces on this schema, const version. More...
 
pod_index_type fiber_schema_member_id_ub () const
 The upper bound on the member id of the fiber schema for section spaces on this schema. More...
 
virtual pod_index_type get_fiber_schema_id_from_index (pod_index_type xmbr_hub_id) const
 Computes the fiber schema member id associated with hub id xmbr_hub_id. More...
 
void get_fiber_schema_id_from_index (const scoped_index &xmbr_id, scoped_index &result) const
 Computes the fiber schema member id associated with xindex. More...
 
int fiber_schema_stride () const
 The increment in the member id when the id of the fiber schema component is increased by one. More...
 
int df () const
 The dimension of the fiber space. More...
 
poset_state_handlefiber_schema ()
 The fiber schema for section spaces on this schema (mutable version). More...
 
const poset_state_handlefiber_schema () const
 The fiber schema for section spaces on this schema (const version). More...
 
poset_path fiber_space_path (bool xauto_access) const
 The path to the fiber space for section spaces on this schema. More...
 
posetfiber_space ()
 The fiber space for section spaces on this schema. More...
 
const posetfiber_space () const
 The fiber space for section spaces on this schema, const version. More...
 
subposetdiscretization ()
 The discretization subposet for section spaces on this schema. More...
 
const subposetdiscretization () const
 The discretization subposet for section spaces on this schema, const version. More...
 
bool is_multivalued () const
 Switch that tells the user if the multivalued subposet exists. More...
 
subposetmultivalued ()
 The multivalued subposet for section spaces on this schema. More...
 
const subposetmultivalued () const
 The multivalued subposet for section spaces on this schemam const ver. More...
 
subposetevaluation ()
 The evaluation subposet for section spaces on this schema. More...
 
const subposetevaluation () const
 The evaluation subposet for section spaces on this schema, const ver. More...
 
std::string evaluator_family_name () const
 The name of the evaluator family for section spaces on this schema. More...
 
const ij_product_structureproduct_structure () const
 The product structure of this schema. More...
 
virtual pod_index_type get_index_from_components (pod_index_type xbase_space_id, pod_index_type xfiber_schema_id) const =0
 Computes the index associated with component ids xbase_space_id and xfiber_schema_id. More...
 
void get_index_from_components (const scoped_index &xbase_space_id, const scoped_index &xfiber_schema_id, scoped_index &result) const
 Computes the index associated with component ids xbase_space_id and xfiber_schema_id. More...
 
void update_hub_id_space (bool xauto_access)
 Extends the hub id space to match extension of the base space. More...
 
sec_rep_descriptorrep ()
 The representation for section spaces on this schema. More...
 
const sec_rep_descriptorrep () const
 The representation for section spaces on this schema; const version. More...
 
bool rep_is_valid (const namespace_poset &xns, const arg_list &xaregs, bool xauto_access) const
 True if and only if the section representation specified in xargs is valid in the base space specified in xargs; that is, if the discretization and evaluation subposets named in xrep are included in xbase_space and the discretization subposet has a non-empty id space. More...
 
int db () const
 The dimension of the base space. More...
 
base_space_posetbase_space ()
 The base space for section spaces on this schema. More...
 
const base_space_posetbase_space () const
 The base space for section spaces on this schema, const version. More...
 
int df () const
 The dimension of the fiber space. More...
 
poset_state_handlefiber_schema ()
 The fiber schema for section spaces on this schema (mutable version). More...
 
const poset_state_handlefiber_schema () const
 The fiber schema for section spaces on this schema (const version). More...
 
posetfiber_space ()
 The fiber space for section spaces on this schema. More...
 
const posetfiber_space () const
 The fiber space for section spaces on this schema, const version. More...
 
subposetdiscretization ()
 The discretization subposet for section spaces on this schema. More...
 
const subposetdiscretization () const
 The discretization subposet for section spaces on this schema, const version. More...
 
subposetevaluation ()
 The evaluation subposet for section spaces on this schema. More...
 
const subposetevaluation () const
 The evaluation subposet for section spaces on this schema, const ver. More...
 
string evaluator_family_name () const
 The name of the evaluator family for section spaces on this schema. More...
 
void tuple (const scoped_index &xindex, scoped_index &xbase_space_id, scoped_index &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...
 
void ordinal (const scoped_index &xbase_space_id, const scoped_index &xfiber_schema_id, scoped_index &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...
 
bool is_homogeneous (const scoped_index &xindex) const
 True if xindex is in the homogeneous member id space. More...
 
bool contains_range_member (const scoped_index &xbase_space_id, const scoped_index &xfiber_schema_id, bool xauto_access) const
 True if this poset contains a member with base space id xbase_space_id and fiber schema id xfiber_schema_id. More...
 
virtual void get_read_access () const
 Get read access to the state associated with this. More...
 
virtual void get_read_write_access (bool xrelease_read_only_access=false)
 Get read write access to the state associated with this. If release_read_only_access is requested, read only access will be released then read_write_access will be requested, finally the same level of read_access as before will be requested. More...
 
virtual void release_access (bool xall=false) const
 Release access. If xall is true, release all levels of access. Otherwise, release one level of access. More...
 
virtual void get_read_access () const
 Get read access to the state associated with this. More...
 
virtual void get_read_write_access (bool xrelease_read_only_access=false)
 Get read write access to the state associated with this. If release_read_only_access is requested, read only access will be released then read_write_access will be requested, finally the same level of read_access as before will be requested. More...
 
virtual void release_access (bool xall=false) const
 Release access. If xall is true, release all levels of access. Otherwise, release one level of access. More...
 
virtual bool is_schematized (bool xauto_access) const
 True if this poset has been prepared for use as a schema, that is, if the top member has been schematized. More...
 
virtual void schematize (subposet *xtable_dof_subposet, subposet *xrow_dof_subposet, bool xall_members=false)
 Prepare this poset and its top member for use as a schema. If xall_members = true, schematize all other members as well. More...
 
section_space_schema_membertop ()
 The top of member of the lattice (mutable version) More...
 
const section_space_schema_membertop () const
 The top of member of the lattice (const version) More...
 
section_space_schema_memberbottom ()
 The bottom of member of the lattice (mutable version) More...
 
const section_space_schema_memberbottom () const
 The bottom of member of the lattice (const version) More...
 
virtual int member_ct () const
 The number of members of this poset. More...
 
virtual int standard_member_ct () const
 The number of standard members automatically allocated by the constructor. More...
 
virtual scoped_index member_index_ub () const
 The upper bound on the member_index;. More...
 
index_iterator member_iterator () const
 An iterator for members of this poset. More...
 
virtual bool contains_member (pod_index_type xmbr_hub_id, bool xauto_access=true) const
 True if some version of this poset contains poset member with hub id xmbr_hub_id. More...
 
virtual bool contains_member (pod_index_type xmbr_hub_id, int xversion, bool xauto_access=true) const
 True if version xversion of this poset contains poset member with hub id xmbr_hub_id. More...
 
virtual bool is_atom (pod_index_type xmbr_hub_id) const
 True if the member with hub id xmbr_hub_id covers the bottom. More...
 
virtual pod_index_type new_member (bool xis_jim, const scoped_index &xdof_tuple_id)
 Create a disconnected member with is_jim == xis_jim and the dof tuple identified by xdof_tuple_id. WARNING: this routine leaves a disconnected member in the poset and hence leaves the poset in an invalid state. The client must properly link the member created by this routine using new_link in order to return the poset to a valid state. More...
 
virtual pod_index_type new_member (bool xis_jim, poset_dof_map *xdof_map=0, bool xcopy_dof_map=false)
 Create a disconnected member with is_jim == xis_jim. If xdof_map != 0, the new member uses it for dof storage, otherwise it creates an instance of array_poset_dof_map. WARNING: this routine leaves a disconnected member in the poset and hence leaves the poset in an invalid state. The client must properly link the member created by this routine using new_link in order to return the poset to a valid state. More...
 
virtual pod_index_type new_member_range (const std::string &xrange_type, size_type xsize, const block< scoped_index > &xdof_tuple_ids, const block< pod_index_type > &xdata)
 Create a disconnected member range of type xrange_type with size xsize, dof tuple ids xdof_tuple_ids, and range type specific private data xdata. WARNING: this routine leaves a disconnected member in the poset and hence leaves the poset in an invalid state. The client must properly link the member created by this routine using new_link in order to return the poset to a valid state. More...
 
section_space_schema_membertop ()
 The top of member of the lattice (mutable version) More...
 
const section_space_schema_membertop () const
 The top of member of the lattice (const version) More...
 
section_space_schema_memberbottom ()
 The bottom of member of the lattice (mutable version) More...
 
const section_space_schema_memberbottom () const
 The bottom of member of the lattice (const version) More...
 
pod_index_type member_id (const std::string &xbase_space_name, const std::string &xfiber_schema_name) const
 The member id for base space member with name xbase_space_namd, and fiber schema member with name xfiber_schema_name. More...
 
void member_id (const std::string &xbase_space_name, const std::string &xfiber_schema_name, scoped_index &result) const
 The member id for base space member with name xbase_space_namd, and fiber schema member with name xfiber_schema_name. More...
 
bool is_new_member_available () const
 True if and only if a member can be created. More...
 
virtual void new_link (pod_index_type xgreater, pod_index_type xlesser)
 Insert a link from lesser to greater (i.e. lesser <= greater). Redefined here only to trap attempts to make a new link, as an aid to debugging. More...
 
virtual void delete_link (pod_index_type xgreater, pod_index_type xlesser)
 Delete the link with between xgreater and xlesser Redefined here only to trap attempts to delete a link, as an aid to debugging. More...
 
virtual pod_index_type new_subposet (const block< pod_index_type > &xmembers)
 Creates a new subposet. If xinitialize, set the membership to include the members with indices in xmambers; otherwise, leave the subposet empty. More...
 
virtual void delete_subposet (pod_index_type xsubposet_hub_id)
 Deletes the subposet with hub id xsubposet_hub_id. More...
 
virtual int version_ct () const
 The number of versions. More...
 
virtual int version () const
 The current version. More...
 
virtual pod_index_type version_index (int xversion) const
 The subposet index of the whole() subposet for version xversion. More...
 
virtual pod_index_type version_jims_index (int xversion) const
 The subposet index of the jims() subposet for version xversion. More...
 
virtual index_iteratorget_decomposition (pod_index_type xindex) const
 An iterator over the members of the decomposition identified by xindex. More...
 
virtual bool is_valid_int_id (pod_index_type xint_id, const std::string &xid_space_name, bool xauto_access) const
 True if xint_id can be translated to an external id using the equivalence map with name xid_space_name. More...
 
virtual pod_index_type get_ext_id (pod_index_type xint_id, const std::string &xid_space_name, bool xauto_access) const
 Translates xint_id to an external id using the equivalence map with name xid_space_name. More...
 
virtual pod_index_type prereq_id (int xi) const
 The id of the xi-th prerequisite poset for this. More...
 
virtual index_iteratorget_decomposition (pod_index_type xindex) const
 An iterator over the members of the decomposition identified by xindex. More...
 
virtual pod_index_type prereq_id (int xi) const
 The id of the xi-th prerequisite poset for this. More...
 
- Public Member Functions inherited from sheaf::poset
virtual void begin_jim_edit_mode (bool xauto_access=true)
 Allow editing of jims and jim order relation. More...
 
virtual void end_jim_edit_mode (bool xensure_lattice_invariant=true, bool xauto_access=true)
 Prevent editing of jims and jim order relation. More...
 
- Public Member Functions inherited from sheaf::poset_state_handle
poset_path member_path (pod_index_type xmbr_hub_id, bool xauto_access) const
 A path for the member with hub id xmbr_hub_id. More...
 
std::string member_name (const scoped_index &xmbr_id, bool xauto_access=false) const
 A name for the member with id xmbr_id. More...
 
void all_member_names (pod_index_type xmbr_hub_id, block< std::string > &xresult, bool xauto_access=false) const
 All the names for the member with hub id xmbr_hub_id. More...
 
void all_member_names (const scoped_index &xmbr_id, block< std::string > &xresult, bool xauto_access=false) const
 All the names for the member with id xmbr_id. More...
 
size_type member_name_ct (pod_index_type xmbr_hub_id, bool xauto_access) const
 The number of names for the member with hub id xmbr_hub_id. More...
 
size_type member_name_ct (const scoped_index &xmbr_id, bool xauto_access) const
 The number of names for the member with id xmbr_id. More...
 
bool member_has_name (pod_index_type xmbr_hub_id, const std::string &xname, bool xauto_access=false) const
 True if xname is a name for the member with hub id xmbr_hub_id. More...
 
bool member_has_name (const scoped_index &xmbr_hub_id, const std::string &xname, bool xauto_access=false) const
 True if xname is a name for the member with id xmbr_id. More...
 
virtual void put_member_name (pod_index_type xmbr_hub_id, const std::string &xname, bool xunique, bool xauto_access=false)
 Make xname a name for the member with hub id xmbr_hub_id. if xunique, make xname the only name. More...
 
void put_member_name (const scoped_index &xmbr_id, const std::string &xname, bool xunique, bool xauto_access=false)
 Make xname a name for the member with id xmbr_id. if xunique, make xname the only name. More...
 
void delete_member_name (const std::string &xname, bool xauto_access=false)
 Make xname not a name for any member. More...
 
void delete_all_member_names (pod_index_type xmbr_hub_id, bool xauto_access=false)
 Delete all names for the member with hub id xmbr_hub_id. More...
 
void delete_all_member_names (const scoped_index &xmbr_id, bool xauto_access=false)
 Delete all names for the member with id xmbr_id. More...
 
virtual schema_poset_memberschema ()
 The schema for this poset (mutable version). More...
 
virtual const schema_poset_memberschema () const
 The schema for this poset (const version). More...
 
schema_poset_memberschema (bool xauto_access)
 The schema for this poset, auto_accessible (mutable version). More...
 
const schema_poset_memberschema (bool xauto_access) const
 The schema for this poset, auto_accessible (const version). More...
 
virtual bool schema_is_ancestor_of (const schema_poset_member *xother_schema) const
 True if xother_schema conforms to the type of schema required by this. More...
 
bool schema_is (const std::string &xschema_name) const
 True if the schema of this has name xname. More...
 
bool same_schema (const poset_state_handle *xother) const
 True if other has the same schema as this. More...
 
bool same_schema (const abstract_poset_member *xother) const
 True if other has the same schema as this. More...
 
bool in_jim_edit_mode () const
 True if editing jims and jim order relation is allowed. More...
 
int jim_edit_depth (bool xauto_access) const
 Number of times begin_jim edit_mode has been called without matching end_jim_edit_mode. More...
 
bool is_external () const
 True if this has a corresponding member in a name space, but is not yet attached to a state. (This condition implies the name space has been imported from some external source, but the poset has not yet been imported.) More...
 
virtual bool is_attached () const
 True if this is attached to a state. More...
 
bool is_same_state (const poset_state_handle *xother) const
 True if this is attached to the same state as xother. More...
 
namespace_posethost () const
 The namespace this poset resides in. Obsolete; use name_space() instead. More...
 
namespace_posetname_space () const
 The namespace this poset resides in. More...
 
const scoped_indexindex () const
 The member index of this poset within the namespace host() More...
 
virtual const primitives_posetprimitives () const
 The set of primitives used by this poset. More...
 
virtual std::string name () const
 The name of this poset. More...
 
virtual std::string name (bool xauto_access) const
 The name of this poset. More...
 
virtual poset_path path (bool xauto_access=true) const
 The path of this poset. More...
 
void new_member (bool xis_jim, const scoped_index &xtuple_id, scoped_index &result)
 Create a disconnected member with is_jim == xis_jim and the dof tuple identified by id xtuple_id. WARNING: this routine leaves a disconnected member in the poset and hence leaves the poset in an invalid state. The client must properly link the member created by this routine using new_link in order to return the poset to a valid state. More...
 
void new_member (bool xis_jim, poset_dof_map *xdof_map, bool xcopy_dof_map, scoped_index &result)
 Create a disconnected member with is_jim == xis_jim. If xdof_map != 0, the new member uses it for dof storage, otherwise it creates an instance of array_poset_dof_map. WARNING: this routine leaves a disconnected member in the poset and hence leaves the poset in an invalid state. The client must properly link the member created by this routine using new_link in order to return the poset to a valid state. More...
 
virtual pod_index_type new_member_interval (const std::string &xinterval_type, size_type xsize, const block< pod_index_type > &xtuple_hub_ids, const block< pod_index_type > &xdata)
 Create a disconnected member interval of type xinterval_type with size xsize, dof tuple ids xtuple_hub_ids, and interval type specific private data xdata. WARNING: this routine leaves a disconnected member in the poset and hence leaves the poset in an invalid state. The client must properly link the member created by this routine using new_link in order to return the poset to a valid state. More...
 
void new_member_interval (const std::string &xinterval_type, size_type xsize, const block< pod_index_type > &xtuple_hub_ids, const block< pod_index_type > &xdata, scoped_index &result)
 Create a disconnected member interval of type xinterval_type with size xsize, dof tuple hub ids xtuple_hub_ids, and interval type specific private data xdata. WARNING: this routine leaves a disconnected member in the poset and hence leaves the poset in an invalid state. The client must properly link the member created by this routine using new_link in order to return the poset to a valid state. More...
 
void delete_member (const scoped_index &xmbr_id)
 Delete the member with id xmbr_id. Warning: this routine does not delete links; it will leave any links to this member dangling. Use abstract_poset_member::delete_state unless you know what you are doing. More...
 
bool has_standard_member_ct () const
 True if poset is in its initial state, that is, it contains just the standard members. More...
 
index_iterator member_iterator () const
 
bool contains_member (const scoped_index &xmbr_id, bool xauto_access=true) const
 True if some version of this poset contains poset member with id xmbr_id. More...
 
bool contains_member (const scoped_index &xmbr_id, int xversion, bool xauto_access=true) const
 True if version xversion of this poset contains poset member with id xmbr_id. More...
 
virtual bool contains_member (const std::string &xname, bool xauto_access=true) const
 True if this poset contains a member with name xname. More...
 
bool contains_member (const abstract_poset_member *xmbr, bool xauto_access=true) const
 True if this poset contains xmbr. More...
 
bool contains_members (const scoped_index *xmbrs, int xmbrs_ct, bool xauto_access=true) const
 True if this poset contains poset member(s) with indices in xmbrs. More...
 
bool contains_members (pod_index_type *xmbrs, int xmbrs_ct, bool xauto_access=true) const
 True if this poset contains poset member(s) with indices in xmbrs. More...
 
bool contains_members (const std::string *xnames, int xnames_ct, bool xauto_access=true) const
 True if this poset contains poset member(s) with names in xnames. More...
 
bool contains_members (const block< pod_index_type > &p, bool xauto_access=true) const
 True if this poset contains poset members with indices in p. More...
 
bool contains_members (const block< scoped_index > &p, bool xauto_access=true) const
 True if this poset contains poset members with indices in p. More...
 
bool contains_members (const block< std::string > &p, bool xauto_access=true) const
 True if this poset contains poset members with names in p. More...
 
bool is_empty () const
 True if this poset is empty. More...
 
bool is_jim (const scoped_index &xmbr_id, bool xin_current_version=true) const
 True if the member with id xmbr_id is a jim in the current version (xin_current_version == true) or in some version (xin_current_version == false). More...
 
bool is_jim (const std::string &xname, bool xin_current_version=true) const
 True if the member with name xname is a jim in the current version (xin_current_version == true) or in some version (xin_current_version == false). More...
 
bool is_atom (const scoped_index &xmbr_id) const
 True if the member with id xmbr_id covers the bottom. More...
 
abstract_poset_membertop ()
 The top member of the poset (mutable version) More...
 
const abstract_poset_membertop () const
 The top member of the poset (const version) More...
 
abstract_poset_memberbottom ()
 The bottom member of the poset (mutable version) More...
 
const abstract_poset_memberbottom () const
 The bottom member of the poset (const version) More...
 
virtual size_type subposet_ct () const
 The number of subposets of this poset. More...
 
virtual int standard_subposet_ct () const
 The number of standard subposets automatically allocated by the constructor. More...
 
bool has_standard_subposet_ct () const
 True if poset is in its initial state, that is, it contains just the standard subposets. More...
 
virtual scoped_index subposet_index_ub () const
 The upper bound on the subposet index;. More...
 
virtual pod_index_type subposet_id (const std::string &xname) const
 The hub id of the subposet with name xname. More...
 
virtual void subposet_id (const std::string &xname, scoped_index &result) const
 The id of the subposet with name xname. More...
 
virtual index_space_iteratorget_subposet_id_space_iterator () const
 Allocates an id space iterator over the subposet ids from the iterator pool. More...
 
virtual void release_subposet_id_space_iterator (index_space_iterator &xitr) const
 Returns the id space iterator xitr to the subposet iterator pool. More...
 
virtual bool includes_subposet (pod_index_type xsubposet_hub_id, bool xauto_access=true) const
 True if this poset includes subposet with hub id xsubposet_hub_id. More...
 
bool includes_subposet (const scoped_index &xsubposet_id, bool xauto_access=true) const
 True if this poset includes subposet with id xsubposet_id. More...
 
bool includes_subposet (const std::string &xname, bool xauto_access=true) const
 True if this poset includes subposet with name xname. More...
 
bool includes_subposet (const subposet *xs, bool xauto_access=true) const
 True if this poset includes xs. More...
 
bool includes_subposets (const block< pod_index_type > &xhub_ids, bool xauto_access=true) const
 True if this poset includes subposets with hub ids xhub_ids. More...
 
bool includes_subposets (const block< scoped_index > &xids, bool xauto_access=true) const
 True if this poset includes subposets with ids xids. More...
 
virtual pod_index_type new_subposet (bool xinitialize=true)
 Creates a new subposet. If xinitialize, make the subposet empty,. More...
 
void new_subposet (bool xinitialize, scoped_index &result)
 Creates a new subposet. If xinitialize, make the subposet empty,. More...
 
virtual void new_subposet (const block< scoped_index > &xmembers, scoped_index &result)
 Creates a new subposet. Set the membership to the members with indices in xmambers. More...
 
void delete_subposet (const scoped_index &xsubposet_id)
 Deletes the subposet with id xsubposet_id. More...
 
virtual const subposetwhole () const
 The "improper" subset containing all members of this poset. More...
 
virtual subposetjims ()
 The subset of all jims (mutable version) More...
 
virtual const subposetjims () const
 The subset of all jims (const version) More...
 
subposettable_dof_subposet ()
 The table dof subposet when this poset is used as a schema (mutable version). More...
 
const subposettable_dof_subposet () const
 The table dof subposet when this poset is used as a schema (const version). More...
 
subposetrow_dof_subposet ()
 The row dof subposet when this poset is used as a schema (mutable version). More...
 
const subposetrow_dof_subposet () const
 The row dof subposet when this poset is used as a schema (const version). More...
 
void version_index (int xversion, scoped_index &result) const
 The subposet id of the whole() subposet for version xversion. More...
 
void version_jims_index (int xversion, scoped_index &result) const
 The subposet id of the jims() subposet for version xversion. More...
 
bool has_version (int xversion) const
 True if xversion is a valid version. More...
 
bool is_version () const
 True if this poset is a version. More...
 
const index_space_familymember_id_spaces (bool xauto_access) const
 Collection of member id spaces for this (const version). More...
 
index_space_familymember_id_spaces (bool xauto_access)
 Collection of member id spaces for this (mutable version). More...
 
const hub_index_space_handlemember_hub_id_space (bool xauto_access) const
 The member hub id space. More...
 
virtual const scoped_indexmember_id (bool xauto_access) const
 An id in the member hub id space; intended for copying to initialize ids to the member id space. More...
 
scoped_index member_id (pod_index_type xid, bool xauto_access) const
 An id in the member hub id space with pod xid. More...
 
virtual pod_index_type member_id (const std::string &xname, bool xauto_access) const
 The hub id of the member with name xname. More...
 
void member_id (const std::string &xname, scoped_index &result, bool xauto_access) const
 The index of the member with name xname. More...
 
void new_link (const scoped_index &xgreater, const scoped_index &xlesser)
 Insert a cover link from greater to lesser (that is, id xgreater covers id xlesser). WARNING: this routine does not ensure that the link is a cover link, that is, it does not remove redundant or conflicting links. Improper use of this routine can produce inconsistent poset states. More...
 
void delete_link (const scoped_index &xgreater, const scoped_index &xlesser)
 Delete the cover link between id xgreater and id xlesser. More...
 
virtual bool contains_link (pod_index_type xgreater, pod_index_type xlesser) const
 True if there is a cover link between hub id xgreater and hub id xlesser. More...
 
bool contains_link (const scoped_index &xgreater, const scoped_index &xlesser) const
 True if there is a cover link between id xgreater and id xlesser. More...
 
pod_index_type cover_id_space_id (bool xlower, pod_index_type xmbr_hub_id) const
 The id for the lower (xlower true) or upper (xlower false) cover id space of the member with hub id xmbr_hub_id. More...
 
pod_index_type cover_id_space_id (bool xlower, const scoped_index &xmbr_id) const
 The id for the lower (xlower true) or upper (xlower false) cover id space of the member with id xmbr_id. More...
 
index_space_handleget_cover_id_space (bool xlower, pod_index_type xmbr_hub_id) const
 Allocates a handle for the lower (xlower true) or upper (xlower false) cover id space of the member with hub id xmbr_hub_id from the pool of id spaces. More...
 
index_space_handleget_cover_id_space (bool xlower, const scoped_index &xmbr_id) const
 Allocates a handle for the lower (xlower true) or upper (xlower false) cover id space of the member with id xmbr_id from the pool of id spaces. More...
 
template<typename handle_type >
handle_type & get_cover_id_space (bool xlower, pod_index_type xmbr_index) const
 Allocates an handle of type handle_type for the lower (xlower true) or upper (xlower false) cover of member with index xmbr_index from the pool of id spaces. More...
 
template<typename handle_type >
bool cover_id_space_handle_conforms_to (bool xlower, pod_index_type xmbr_index) const
 True if a handle for the lower (xlower true) or upper (xlower false) cover id space of the member with hub id xmbr_index conforms to a handle of type handle_type. More...
 
void release_cover_id_space (index_space_handle &xcover_id_space) const
 Returns xcover_id_space to the pool of id spaces. More...
 
index_space_iteratorget_cover_id_space_iterator (bool xlower, pod_index_type xmbr_hub_id) const
 Allocates an iterator for the lower (xlower true) or upper (xlower false) cover id space of the member with hub id xmbr_hub_id from the pool of id space iterators. More...
 
index_space_iteratorget_cover_id_space_iterator (bool xlower, const scoped_index &xmbr_id) const
 Allocates an iterator for the lower (xlower true) or upper (xlower false) cover id space of the member with id xmbr_id from the pool of id space iterators. More...
 
void release_cover_id_space_iterator (index_space_iterator &xcover_itr) const
 Returns xcover_itr to the pool of id space iterators. More...
 
bool cover_contains_iterator (bool xlower, pod_index_type xmbr_hub_id, const index_space_iterator &xitr) const
 True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id is the domain of iterator xitr. More...
 
bool cover_contains_iterator (bool xlower, const scoped_index &xmbr_id, const index_space_iterator &xitr) const
 True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id is the domain of iterator xitr. More...
 
bool cover_is_empty (bool xlower, pod_index_type xmbr_hub_id) const
 True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id is empty. More...
 
bool cover_is_empty (bool xlower, const scoped_index &xmbr_id) const
 True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id is empty. More...
 
bool cover_is_singleton (bool xlower, pod_index_type xmbr_hub_id) const
 True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id contains exactly one member. More...
 
bool cover_is_singleton (bool xlower, const scoped_index &xmbr_id) const
 True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id contains exactly one member. More...
 
virtual size_type cover_ct (bool xlower, pod_index_type xmbr_hub_id) const
 The number of members in the lower cover (xlower true) or upper cover (xlower false) of the member with hub id xmbr_hub_id. More...
 
size_type cover_ct (bool xlower, const scoped_index &xmbr_id) const
 The number of members in the lower cover (xlower true) or upper cover (xlower false) of the member with id xmbr_id. More...
 
bool cover_contains_member (bool xlower, pod_index_type xmbr_hub_id, pod_index_type xother_mbr_hub_id) const
 True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id contains member with hub id xother_mbr_hub_id. More...
 
bool cover_contains_member (bool xlower, const scoped_index &xmbr_id, const scoped_index &xother_mbr_id) const
 True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id contains member with id xother_mbr_id. More...
 
bool cover_is_equal (bool xlower, pod_index_type xmbr_hub_id, pod_index_type xother_mbr_hub_id) const
 True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id contains the same members as the lower or upper cover set, respectively, of the member with hub id xother_mbr_hub_id. More...
 
bool cover_is_equal (bool xlower, const scoped_index &xmbr_id, const scoped_index &xother_mbr_id) const
 True if and only if the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id contains the same members as the lower or upper cover set, respectively, of the member with id xother_mbr_id. More...
 
pod_index_type first_cover_member (bool xlower, pod_index_type xmbr_hub_id) const
 Hub id of the first member of the lower (xlower true) or upper (xlower false) cover of the member with hub id xmbr_hub_id. More...
 
void first_cover_member (bool xlower, const scoped_index &xmbr_id, scoped_index &result) const
 Id of the first member of the lower (xlower true) or upper (xlower false) cover of the member with id xmbr_id. More...
 
void insert_cover_member (pod_index_type xother_mbr_hub_id, bool xlower, pod_index_type xmbr_hub_id)
 Inserts hub id xother_mbr_hub id in the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id. More...
 
void insert_cover_member (const scoped_index &xother_mbr_id, bool xlower, const scoped_index &xmbr_id)
 Inserts id xother_mbr_id in the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id. More...
 
void insert_cover_member (pod_index_type xother_mbr_hub_id, bool xlower, pod_index_type xmbr_hub_id, index_space_iterator &xitr)
 Inserts hub id xother_mbr_hub_id in the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id, at a position just before xitr. Increments xitr to the position after the inserted entry. More...
 
void insert_cover_member (const scoped_index &xother_mbr_id, bool xlower, const scoped_index &xmbr_id, index_space_iterator &xitr)
 Inserts id xother_mbr_index in the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id, at a position just before xitr. Increments xitr to the position after the inserted entry. More...
 
void remove_cover_member (pod_index_type xother_mbr_hub_id, bool xlower, pod_index_type xmbr_hub_id)
 Removes hub id xother_mbr_hub_id from the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id. More...
 
void remove_cover_member (const scoped_index &xother_mbr_id, bool xlower, const scoped_index &xmbr_id)
 Removes id xother_mbr_id from the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id. More...
 
void remove_cover_member (index_space_iterator &xitr, bool xlower, pod_index_type xmbr_hub_id)
 Removes the current item of xitr from the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id; If xitr is at the end, forces xitr.is_done(). Otherwise, increments xitr to the next position. More...
 
void remove_cover_member (index_space_iterator &xitr, bool xlower, const scoped_index &xmbr_id)
 Removes the current item of xitr from the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id; If xitr is at the end, forces xitr.is_done(). Otherwise, increments xitr to the next position. More...
 
template<typename filter_type >
void remove_cover_members (const filter_type &xfilter, bool xlower, pod_index_type xmbr_hub_id)
 Removes all members for which functor xfilter(xmbr.index().hub_pod()) is true from the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id. More...
 
template<typename filter_type >
void remove_cover_members (const filter_type &xfilter, bool xlower, const scoped_index &xmbr_id)
 Removes all members for which functor xfilter(xmbr.index().hub_pod()) is true from the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id. More...
 
void replace_cover_member (const scoped_index &xold_other_mbr_hub_id, const scoped_index &xnew_other_mbr_hub_id, bool xlower, const scoped_index &xmbr_hub_id)
 Replaces hub id xold_other_mbr_hub_id with hub id xnew_other_mbr_hub_id in the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id. More...
 
void replace_cover_member (pod_index_type xold_other_mbr_id, pod_index_type xnew_other_mbr_id, bool xlower, pod_index_type xmbr_id)
 Replaces id xold_other_mbr_id with id xnew_other_mbr_id in the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id. More...
 
void clear_cover (bool xlower, pod_index_type xmbr_hub_id)
 Clears the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id. More...
 
void clear_cover (bool xlower, const scoped_index &xmbr_id)
 Clears the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id. More...
 
void copy_cover (bool xlower, pod_index_type xmbr_hub_id, pod_index_type xother_mbr_hub_id)
 Copies the lower (xlower true) or upper (xlower false) cover set of the member with hub id xmbr_hub_id to the member with hub id xother_mbr_hub_id. More...
 
void copy_cover (bool xlower, const scoped_index &xmbr_id, const scoped_index &xother_mbr_id)
 Copies the lower (xlower true) or upper (xlower false) cover set of the member with id xmbr_id to the member with id xother_mbr_id. More...
 
void append_upper_cover_of_bottom (pod_index_type xmbr_hub_begin, pod_index_type xmbr_hub_end)
 Appends the interval of hub ids [xmbr_hub_begin, xmbr_hub_end) to the upper cover of bottom. This function is intended to use by block members that store there vertices in a gathered id space. More...
 
void append_upper_cover_of_bottom (const scoped_index &xmbr_begin, const scoped_index &xmbr_end)
 Appends the interval of ids [xbegin, xend) to the upper cover of bottom. This function is intended to use by block members that store there vertices in a gathered id space. More...
 
virtual bool table_dof_map_conforms (const poset_dof_map *xdof_map) const
 True if xdof_map conforms to (is derived from) the type of table dof map required by this poset state and handle. More...
 
virtual bool row_dof_map_conforms (const poset_dof_map *xdof_map) const
 True if xdof_map conforms to (is derived from) the type of row dof map required by this poset state and handle. More...
 
virtual array_poset_dof_maptable_dof_map (bool xrequire_write_access=false)
 The map from table dof client_ids to table dof values for this poset (mutable version) More...
 
virtual const array_poset_dof_maptable_dof_map (bool xrequire_write_access=false) const
 The map from table dof client_ids to table dof values for this poset (const version) More...
 
void table_dof_tuple (void *xbuf, size_t xbuflen) const
 OBSOLETE: use table_dofs(). Copies the entire table dof tuple from internal storage to xbuf. More...
 
void * table_dofs ()
 The table dofs for this instance (mutable version). More...
 
const void * table_dofs () const
 The table dofs for this instance (const version). More...
 
void * table_dofs (bool xauto_access)
 The table dofs for this instance (mutable auto-access version). More...
 
const void * table_dofs (bool xauto_access) const
 The table dofs for this instance (const auto-access version). More...
 
virtual bool le (pod_index_type xgreater, pod_index_type xlesser) const
 True if hub id xlesser is less than or equal to hub id xgreater. More...
 
bool le (const scoped_index &xgreater, const scoped_index &xlesser) const
 True if id xlesser is less than or equal to id xgreater. More...
 
virtual bool leqv (pod_index_type xgreater, pod_index_type xlesser) const
 True if hub id xlesser is less than or equivalent to hub id xgreater. More...
 
bool leqv (const scoped_index &xgreater, const scoped_index &xlesser) const
 True if id xlesser is less than or equivalent to id xgreater. More...
 
virtual bool is_jem (pod_index_type xmbr_hub_id, pod_index_type xother_hub_id) const
 True if hub id xother_hub_id is join equivalent to hub id xmbr_hub_id. More...
 
bool is_jem (const scoped_index &xmbr_id, const scoped_index &xother_id) const
 True if id xother_id is join equivalent to id xmbr_id. More...
 
virtual pod_index_type greatest_jem (pod_index_type xmbr_hub_id) const
 The hub id of the largest member which is join-equivalent to hub id xmbr_hub_id. More...
 
void greatest_jem (const scoped_index &xmbr_id, scoped_index &result) const
 The id of the largest member which is join-equivalent to id xmbr_id. More...
 
virtual pod_index_type least_jem (pod_index_type xmbr_hub_id) const
 The hub id of the smallest member which is join-equivalent to hub id xmbr_hub_id. More...
 
void least_jem (const scoped_index &xmbr_id, scoped_index &result) const
 The id of the smallest member which is join-equivalent to id xmbr_id. More...
 
void link_greatest_jem (pod_index_type xjem1, pod_index_type xjem2)
 Makes hub id xjem1 the greatest jem of hub id xjem2, unless the current greatest jem of xjem2 is top, in which case it makes top the greatest jem of xjem1. More...
 
void link_greatest_jem (const scoped_index &xjem1, const scoped_index &xjem2)
 Makes id xjem1 the greatest jem of id xjem2, unless the current greatest jem of xjem2 is top, in which case it makes top the greatest jem of xjem1. More...
 
void link_least_jem (pod_index_type xjem1, pod_index_type xjem2)
 Makes hub id xjem1 the least jem of hub id xjem2, unless the current least jem of xjem2 is bottom, in which case it makes bottom the least jem of xjem1. More...
 
void link_least_jem (const scoped_index &xjem1, const scoped_index &xjem2)
 Makes id xjem1 the least jem of id xjem2, unless the current least jem of xjem2 is bottom, in which case it makes bottom the least jem of xjem1. More...
 
virtual void merge_jems (pod_index_type xjem1, pod_index_type xjem2)
 Merge the join-equivalence class of hub id xjem2 under that of hub id xjem1. More...
 
void merge_jems (const scoped_index &xjem1, const scoped_index &xjem2)
 Merge the join-equivalence class of id xjem2 under that of id xjem1. More...
 
virtual std::string subposet_name (pod_index_type xsubposet_hub_id, bool xauto_access=false) const
 A name for the subposet with hub id xsubposet_hub_id. More...
 
std::string subposet_name (const scoped_index &xsubposet_id, bool xauto_access=false) const
 A name for the subposet with id xsubposet_id. More...
 
void all_subposet_names (pod_index_type xsubposet_hub_id, block< std::string > &xresult, bool xauto_access=false) const
 All the names for the subposet with hub id xsubposet_hub_id. More...
 
void all_subposet_names (const scoped_index &xsubposet_id, block< std::string > &xresult, bool xauto_access=false) const
 All the names for the subposet with id xsubposet_id. More...
 
size_type subposet_name_ct (pod_index_type xsubposet_hub_id, bool xauto_access) const
 The number of names for the subposet with hub id xsubposet_hub_id. More...
 
size_type subposet_name_ct (const scoped_index &xsubposet_id, bool xauto_access) const
 The number of names for the subposet with id xsubposet_id. More...
 
bool subposet_has_name (pod_index_type xsubposet_hub_id, const std::string &xname, bool xauto_access=false) const
 True if xname is a name for the subposet with hub id xsubposet_hub_id. More...
 
bool subposet_has_name (const scoped_index &xsubposet_id, const std::string &xname, bool xauto_access=false) const
 True if xname is a name for the subposet with id xsubposet_id. More...
 
virtual void put_subposet_name (pod_index_type xsubposet_hub_id, const std::string &xname, bool xunique, bool xauto_access)
 Make xname a name for the subposet with hub id xsubposet_hub_id; if xunique, make xname the only name. More...
 
void put_subposet_name (const scoped_index &xsubposet_id, const std::string &xname, bool xunique, bool xauto_access)
 Make xname a name for the subposet with id xsubposet_id; if xunique, make xname the only name. More...
 
void delete_subposet_name (const std::string &xname, bool xauto_access=false)
 Make xname not a name for any subposet. More...
 
void delete_all_subposet_names (pod_index_type xsubposet_hub_id, bool xauto_access=false)
 Delete all names for the subposet with hub id xsubposet_hub_id;. More...
 
void delete_all_subposet_names (const scoped_index &xsubposet_id, bool xauto_access=false)
 Delete all names for the subposet with id xsubposet_id;. More...
 
const index_space_familysubposet_id_spaces (bool xauto_access) const
 Collection of subposet id spaces for this (const version). More...
 
index_space_familysubposet_id_spaces (bool xauto_access)
 Collection of subposet id spaces for this (mutable version). More...
 
const hub_index_space_handlesubposet_hub_id_space (bool xauto_access) const
 The subposet hub id space. More...
 
virtual const scoped_indexsubposet_id (bool xauto_access) const
 An id in the subposet hub id space; intended for copying to initialize ids to the subposet id space. More...
 
scoped_index subposet_id (pod_index_type xid, bool xauto_access) const
 An id in the subposet hub id space with pod xid. More...
 
virtual poset_dof_maprow_dof_map (pod_index_type xtuple_hub_id, bool xrequire_write_access=false) const
 The map from row dof client_ids to row dof values for dof tuple hub id xtuple_hub_id. More...
 
poset_dof_maprow_dof_map (const scoped_index &xtuple_id, bool xrequire_write_access=false) const
 The map from row dof client_ids to row dof values for dof tuple id xtuple_id. More...
 
virtual const scoped_indexnew_row_dof_map ()
 Creates a new row dof map. More...
 
virtual const scoped_indexclone_row_dof_map (const poset_dof_map &xprototype)
 Creates a new row dof map which is a clone of xprototype. More...
 
poset_dof_mapmember_dof_map (pod_index_type xmbr_hub_id, bool xrequire_write_access=false)
 The dof map associated with the member identified by hub id xmbr_hub_id (mutable version). More...
 
poset_dof_mapmember_dof_map (const scoped_index &xmbr_id, bool xrequire_write_access=false)
 The dof map associated with the member identified by xmbr_index (mutable version). More...
 
const poset_dof_mapmember_dof_map (pod_index_type xmbr_hub_id, bool xrequire_write_access=false) const
 The dof map associated with the member identified by hub id xmbr_hub_id (const version). More...
 
const poset_dof_mapmember_dof_map (const scoped_index &xmbr_id, bool xrequire_write_access=false) const
 The dof map associated with the member identified by xmbr_index (const version). More...
 
void member_dof_tuple (pod_index_type xmbr_hub_id, void *xbuf, size_t xbuf_len, bool xauto_access) const
 Copies the dof tuple of the member with hub id xmbr_hub_id into the buffer xbuf of length xbuf_len bytes. More...
 
void put_member_dof_tuple (pod_index_type xmbr_hub_id, void *xbuf, size_t xbuf_len, bool xauto_access)
 Copies the contents of the buffer xbuf of len xbuf_len into the dof tuple of the member with hub id xmbr_hub_id. More...
 
pod_index_type member_dof_tuple_id (pod_index_type xmbr_hub_id, bool xauto_access) const
 The dof tuple hub id of the member with hub id xmbr_hub_id. More...
 
void member_dof_tuple_id (const scoped_index &xmbr_id, scoped_index &result, bool xauto_access) const
 The dof tuple index of the member with id xmbr_id. More...
 
void put_member_dof_tuple_id (pod_index_type xmbr_hub_id, pod_index_type xtuple_hub_id, bool xauto_access)
 Sets the dof tuple hub id of the member with hub id xmbr_hub_id to xtuple_hub_id. More...
 
void put_member_dof_tuple_id (const scoped_index &xmbr_id, const scoped_index &xtuple_id, bool xauto_access)
 Sets the dof tuple id of the member with id xmbr_id to xtuple_id. More...
 
bool contains_row_dof_tuple (pod_index_type xtuple_hub_id) const
 True if this contains a tuple with hub id xtuple_hub_id. More...
 
bool contains_row_dof_tuple (const scoped_index &xtuple_id) const
 True if this contains a tuple with id xtuple_id. More...
 
size_type row_dof_tuple_ct () const
 The number of row_dof_tuples of this poset. More...
 
int standard_row_dof_tuple_ct () const
 The number of standard row_dof_tuples automatically allocated by the constructor. More...
 
bool has_standard_row_dof_tuple_ct () const
 True if poset is in its initial state, that is, it contains just the standard row_dof_tuples. More...
 
const index_space_familydof_tuple_id_spaces (bool xauto_access) const
 Collection of dof tuple id spaces for this (const version). More...
 
index_space_familydof_tuple_id_spaces (bool xauto_access)
 Collection of dof tuple id spaces for this (mutable version). More...
 
const hub_index_space_handledof_tuple_hub_id_space (bool xauto_access) const
 The dof tuple hub id space. More...
 
virtual const scoped_indexdof_tuple_id (bool xauto_access) const
 An id in the dof tuple hub id space; intended for copying to initialize ids to the dof tuple id space. More...
 
scoped_index dof_tuple_id (pod_index_type xid, bool xauto_access) const
 An id in the dof tuple hub id space with pod xid. More...
 
index_iteratorbound_iterator (const poset_bounds &xbnd_id, bool xis_ub) const
 An iterator for the upper bound (xis_ub == true) or the lower bound (xis_ub == false) for xbounds. More...
 
bool bound_contains_member (const poset_bounds &xbounds, bool xis_ub, const scoped_index &xindex) const
 True if the upper bound id (xis_ub == true) or the lower bound (xis_ub == false) of xbounds contains the member specified by xindex. More...
 
pod_index_type get_int_id (pod_index_type xext_id, const std::string &xid_space_name, bool xauto_access) const
 Translates xext_id to an internal id using the equivalence map with name xid_space_name. More...
 
bool is_valid_int_id (const scoped_index &xint_id, const std::string &xid_space_name, bool xauto_access) const
 True if xint_id can be translated to an external id using the equivalence map with name xid_space_name. More...
 
pod_index_type get_ext_id (const scoped_index &xint_id, const std::string &xid_space_name, bool xauto_access) const
 Translates xint_id to an external id using the equivalence map with name xid_space_name. More...
 
void to_stream (std::ostream &xos=std::cout)
 Write instance information to an ostream (default = stdout). More...
 
std::string to_string ()
 Get instance information as a string. More...
 
- Public Member Functions inherited from sheaf::read_write_monitor_handle
virtual ~read_write_monitor_handle ()
 Descturctor. More...
 
bool state_is_read_only_accessible () const
 True if this is attached and the state is accessible for read access but not for write. More...
 
bool state_is_not_read_only_accessible () const
 True if this is attached and the state is not accessible for read only access. More...
 
bool state_is_read_accessible () const
 True if this is attached and if the state is accessible for read or access control is disabled. More...
 
bool state_is_not_read_accessible () const
 True if this is attached and if the state is accessible for read or if access control is disabled. More...
 
bool state_is_auto_read_accessible (bool xauto_access) const
 True if the state is auto accessible for read, that is, if the state is already accessible for read or if this is attached and xuto_access is true. More...
 
bool state_is_read_write_accessible () const
 True if this is attached and if the state is accessible for read and write or access control is disabled. More...
 
bool state_is_not_read_write_accessible () const
 True if state is attached and if not accessible for read and write or access control is disabled. More...
 
bool state_is_auto_read_write_accessible (bool xauto_access) const
 True if state is auto accessible for read and write, that is, if the state is already accessible for read and write or if this is attached and xuto_access is true. or if this is attached and access control is disabled. More...
 
int access_request_depth () const
 The number of times access has been requested and granted without being released. More...
 
bool state_is_mode_locked () const
 Obsolete. More...
 
int mode_lock_ct () const
 Obsolete. More...
 
void get_mode_lock () const
 Obsolete. More...
 
void release_mode_lock ()
 Obsolete. More...
 
bool state_is_modified () const
 True if write access has been granted and released since the last call to clear_state_is_modified(). More...
 
void clear_state_is_modified ()
 Sets the state_is_modified floag to false. 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...
 
- Static Public Member Functions inherited from fiber_bundle::section_space_schema_poset
static const poset_pathstandard_schema_path ()
 The path to the standard schema for this class. More...
 
static bool rep_is_valid (const sec_rep_descriptor &xrep, const poset_state_handle &xbase_space)
 True if the discretization and evaluation subposets named in xrep are included in xbase_space and the discretization subposet has a non-empty id space. More...
 
static const std::string & standard_schema_poset_name ()
 The name of the standard schema poset for this class. More...
 
static const poset_pathstandard_schema_path ()
 The path to the standard schema for this class. More...
 
static void make_standard_schema (namespace_poset &xns)
 Creates the standard schema for this class in namespace xns. More...
 
static bool rep_is_valid (const sec_rep_descriptor &xrep, const poset_state_handle &xbase_space)
 True if the discretization and evaluation subposets named in xrep are included in xbase_space and the discretization subposet has a non-empty id space. More...
 
- Static Public Member Functions inherited from sheaf::poset
static posetnew_table (namespace_type &xhost, const poset_path &xpath, const poset_path &xschema_path, bool xauto_access)
 Creates a new poset in namespace xns with path xpath and schema specified by xschema_path. More...
 
- Static Public Member Functions inherited from sheaf::poset_state_handle
static const std::string & coarsest_common_refinement_name ()
 The name of the coarsest common refinement subposet. More...
 
- Static Public Member Functions inherited from sheaf::read_write_monitor_handle
static bool access_control_disabled ()
 True if access control mechanism is disabled. Default value is enabled (false) and access is controlled by the per-thread access control functions. Disabled (true) is equivalent to having read-write access at all times, irrespective of any access control requests. Synonym for read_write_monitor::access_control_disabled(). More...
 
static void enable_access_control ()
 Enables access control. Synonym for read_write_monitor::enable_access_control(). Should only be invoked once at beginning of a program, before any other SheafSystem calls. Once enabled, access control can not be disabled. More...
 
- Protected Types inherited from sheaf::poset_state_handle
typedef poset_crg_state::member_name_map_type member_name_map_type
 The type of the member name map. More...
 
- Protected Member Functions inherited from fiber_bundle::section_space_schema_poset
 section_space_schema_poset ()
 Default constructor; disabled. More...
 
virtual ~section_space_schema_poset ()
 Destructor. More...
 
 section_space_schema_poset (section_space_schema_member *xtop, section_space_schema_member *xbottom)
 Covariant constructor. More...
 
virtual ~section_space_schema_poset ()
 Destructor. More...
 
 section_space_schema_poset (section_space_schema_member *xtop, section_space_schema_member *xbottom)
 Covariant constructor. More...
 
void initialize_table_dof_subposet ()
 Create the table dof members with the same ids as the table dofs in the fiber schema id space and initialize the table dof subposet to contains the members. More...
 
virtual void initialize_handle_data_members (const namespace_poset &xns)
 Initializes the handle data members that depend on the table dofs and are required to get access when this handle is used to create a new state. Intended to be called only from new_state. More...
 
virtual void attach_handle_data_members ()
 Initializes the handle data members when this handle is attached to a state. More...
 
virtual void terminate_access ()
 Release all access to posets this depends on, then detach and delete the state. More...
 
virtual void initialize_handle_data_members (const namespace_poset &xns)
 Initializes the handle data members that depend on the table dofs and are required to get access when this handle is used to create a new state. Intended to be called only from new_state. More...
 
virtual void attach_handle_data_members ()
 Initializes the handle data members when this handle is attached to a state. More...
 
virtual void terminate_access ()
 Release all access to posets this depends on, then detach and delete the state. More...
 
void new_standard_member_hack (standard_member_index xindex)
 Create a new bottom or top member. More...
 
virtual pod_index_type new_member (bool xis_jim, pod_index_type xdof_tuple_id)
 Create a disconnected member with is_jim == xis_jim. Redefined here only to trap attempts to make a new member, as an aid to debugging. More...
 
virtual pod_index_type new_member (bool xis_jim, poset_dof_map *xdof_map=0, bool xcopy_dof_map=false)
 Create a disconnected member with is_jim == xis_jim. Redefined here only to trap attempts to make a new member, as an aid to debugging. More...
 
virtual void delete_member (pod_index_type xmbr_hub_id)
 Delete the member with hub id xmbr_hub_id. Redefined here only to trap attempts to make a new member, as an aid to debugging. More...
 
section_space_schema_posetoperator= (const poset_state_handle &xother)
 Assignment operator; disabled. More...
 
section_space_schema_posetoperator= (const poset_state_handle &xother)
 Assignment operator; attaches this to the same state as xother. More...
 
table_dofs_typetable_dof_tuple_ptr ()
 OBSOLETE: use table_dofs(). Pointer to the storage for the table dofs. More...
 
const table_dofs_typetable_dof_tuple_ptr () const
 OBSOLETE: use table_dofs(). Pointer to the storage for the table dofs. More...
 
- Protected Member Functions inherited from sheaf::poset
 poset ()
 Default constructor; creates a new poset handle not attached to any state. More...
 
virtual ~poset ()
 Destructor. More...
 
 poset (abstract_poset_member *xtop, abstract_poset_member *xbottom)
 Covariant constructor. More...
 
 poset (const poset &xother)
 Copy constructor; disabled. More...
 
posetoperator= (const poset_state_handle &xother)
 Assignment operator; disabled. More...
 
virtual void new_state (const poset_path &xpath, const schema_poset_member &xschema, array_poset_dof_map &xdof_map)
 Creates a new poset state with path xpath, schema xschema and table dof map xdof_map, attaches this to the state. More...
 
- Protected Member Functions inherited from sheaf::poset_state_handle
member_name_map_typemember_name_map (bool xrequire_write_access=false)
 The bidirectional map between member indices and names. More...
 
virtual poset_statestate_obj () const
 State object for this poset. More...
 
void attach_to_state (const poset_state_handle *xother)
 Attach this handle to the same state as xother. More...
 
virtual void attach_to_state (const namespace_poset *xhost, pod_index_type xindex)
 Attach this handle to the state associated with the member with index xindex in name space xhost. More...
 
void attach_to_state (const namespace_poset *xhost, const scoped_index &xindex)
 Attach this handle to the state associated with the member with index xindex in name space xhost. More...
 
virtual void attach_to_state (const namespace_poset *xhost, const std::string &xname)
 Attach this handle to the state associated with the member with name xname in name space xhost. More...
 
virtual void attach_to_state (const abstract_poset_member *xmbr)
 Attach this handle to the state with associated with namespace member xmbr. More...
 
virtual void detach_from_state ()
 Detach this handle from its state. More...
 
void new_state (namespace_poset &xns, const poset_path &xpath, const schema_poset_member &xschema, array_poset_dof_map &xdof_map)
 Creates a new poset state with schema xschema and table dof map xdof_map, attaches this to the state and creates and initializes the associated namespace member. Intended for use by new_table factory methods. More...
 
void ensure_lattice_invariant ()
 Restores the lattice invariant after editing jims. More...
 
virtual void initialize_namespace (namespace_poset &xns, const std::string &xposet_name, bool xauto_link=true)
 Installs this as a member of xns. If xauto_link, automatically links the member into an appropriate group. More...
 
poset_crg_statecrg () const
 The cover relation graph. More...
 
void put_standard_member_ct (int xct)
 Sets the number of standard members automatically allocated by the constructor. More...
 
void put_standard_row_dof_tuple_ct (int xct)
 Sets the number of standard row dof tuples automatically allocated by the constructor. More...
 
bool index_in_bounds (const scoped_index &xmbr_id) const
 True if 0 <= xmbr_id < state_obj()->member_index_ub(). More...
 
bool index_in_bounds (const block< scoped_index > &indices) const
 True if for all i: 0 <= indices[i] < state_obj()->member_index_ub(). More...
 
virtual void new_member (pod_index_type xmbr_hub_id, bool xis_jim, const scoped_index &xdof_tuple_id)
 Create a disconnected member with hub id xmbr_hub_id, is_jim == xis_jim and the dof tuple identified by xdof_tuple_id. WARNING: this routine leaves a disconnected member in the poset and hence leaves the poset in an invalid state. The client must properly link the member created by this routine using new_link in order to return the poset to a valid state. More...
 
void new_member (pod_index_type xmbr_hub_id, bool xis_jim, poset_dof_map *xdof_map, bool xcopy_dof_map)
 Create a disconnected member with hub id xmbr_hub_id and is_jim == xis_jim. If xdof_map != 0, the new member uses it for dof storage, otherwise it creates an instance of array_poset_dof_map. WARNING: this routine leaves a disconnected member in the poset and hence leaves the poset in an invalid state. The client must properly link the member created by this routine using new_link in order to return the poset to a valid state. More...
 
virtual pod_index_type new_member_interval (const std::string &xinterval_type, size_type xsize)
 Create a disconnected member interval of type xinterval_type with size xsize. More...
 
virtual void new_member_interval (pod_index_type xmbr_hub_id, const std::string &xinterval_type, size_type xsize)
 Create a disconnected member interval beginning at hub id xmbr_hub_id, of type xinterval_type, and with size xsize. More...
 
virtual subposetresident ()
 The subset of all members with resident (in memory) dof tuples (mutable version). More...
 
virtual const subposetresident () const
 The subset of all members with resident (in memory) dof tuples (const version). More...
 
poset_powerset_statepowerset () const
 The set of subposets of this poset. More...
 
virtual void initialize_standard_subposets (const std::string &xname)
 Creates the subposets common to every poset (e.g. whole() and jims()). More...
 
void put_standard_subposet_ct (int xct)
 Sets the number of standard subposets automatically allocated by the constructor. More...
 
 poset_state_handle ()
 Default constructor. More...
 
virtual ~poset_state_handle ()
 Destructor. More...
 
 poset_state_handle (abstract_poset_member *xtop, abstract_poset_member *xbottom)
 Covariant constructor. More...
 
 poset_state_handle (const poset_state_handle &xother)
 Copy constructor; disabled. More...
 
poset_state_handleoperator= (const poset_state_handle &xother)
 Assignment operator; disabled. More...
 
bool is_version_name (const std::string &xname) const
 True if xname has the proper form for a version name. More...
 
std::string version_to_name (int xversion) const
 Creates the standard name for the level xversion whole subposet. More...
 
int version_from_name (const std::string &xname) const
 Extracts the version from the standard name. More...
 
void put_version (int xversion)
 Set the current level to xversion. More...
 
void update_standard_member_id_spaces ()
 Update the initially allocated id spaces. More...
 
void clear_member_id_spaces (bool xauto_access)
 Deletes all non-standard id spaces. More...
 
pod_index_type new_term (size_type xct, bool xauto_access)
 Creates a new term in the member hub id space with xct number of ids. Returns the index of the id space state created. More...
 
void extend_last_member_term (size_type xct, bool xauto_access)
 Extends the last term of the member hub id space to ct == xct. More...
 
void transfer_cover (pod_index_type xsrc, pod_index_type xdst, bool lower)
 Transfers the lower cover (lower == true) or the upper cover (lower == false) from the member with hub id xsrc to the member with hub id xdst. More...
 
poset_table_statetable () const
 The table of dof tuples of this poset. More...
 
void initialize_table_dofs (void *xtable_dofs, size_t xtable_dof_ub)
 Initializes the table dofs ("class variables") More...
 
void initialize_table_dof_tuple (array_poset_dof_map *xdof_tuple)
 Installs xdof_tuple as the table dof tuple. More...
 
void initialize_dof_id_space (subposet &xdof_subposet)
 Initialize the id space for the dof subposet, xdof_subposet. More...
 
- Protected Member Functions inherited from sheaf::read_write_monitor_handle
bool access_guards_disabled () const
 True if thread of control is still in constructor. More...
 
void disable_access_guards ()
 Disables access guards; intended for use only within constructors of monitored objects, where no other client can possibly have access (yet). More...
 
void enable_access_guards ()
 Re-enables access guards. More...
 
- Protected Member Functions inherited from sheaf::any
 any ()
 default constructor More...
 
- Static Protected Member Functions inherited from sheaf::poset_state_handle
static poset_state_handlenew_poset_handle (const std::string &xclass_name, poset_type xsheaf_base_class_id)
 Creates an unattached handle of type xclass_name, if a prototype of that name exists, otherwise of type xsheaf_base_class_id. More...
 
static poset_handle_factoryfactory ()
 The poset handle factory. More...
 
static const std::string & VERSION_PREFIX ()
 The prefix which begins the name of every version subposet. More...
 
static int VERSION_PREFIX_LENGTH ()
 The length of _version_prefix. More...
 
- Protected Attributes inherited from fiber_bundle::section_space_schema_poset
sec_rep_descriptor _rep
 The representation for section spaces on this schema. More...
 
base_space_poset_base_space
 The base space for section spaces on this schema. More...
 
poset_fiber_space
 The fiber space for section spaces on this schema. More...
 
subposet _discretization
 The discretization subposet for section spaces on this schema. More...
 
subposet _multivalued
 The multivalued subposet for section spaces on this schema. More...
 
subposet _evaluation
 The evaluation subposet for section spaces on this schema. More...
 
ij_product_structure_product
 The Cartisian product subspace structure. More...
 
- Protected Attributes inherited from sheaf::poset_state_handle
poset_state_state
 State object for this poset. More...
 
namespace_poset_name_space
 The namespace this poset resides in. More...
 
scoped_index _index
 The member index of this poset in the namespace. More...
 
abstract_poset_member_top
 Top member of poset. More...
 
abstract_poset_member_bottom
 Bottom members of poset. More...
 
subposet _resident
 The subposet of members with resident dof tuples. More...
 

Detailed Description

An schema poset for a section space represented by a Cartesian product subspace of the tensor product of a base space lattice, and a fiber schema lattice.

Definition at line 55 of file product_section_space_schema_poset.h.

Constructor & Destructor Documentation

◆ product_section_space_schema_poset() [1/3]

fiber_bundle::product_section_space_schema_poset::product_section_space_schema_poset ( namespace_poset xhost,
const std::string &  xname,
const arg_list xargs,
const poset_path xschema_path,
bool  xauto_access 
)

Creates a new handle attached to a new poset state in namespace xhost, schema specified by xschema_path, name xname, and table dofs initialized by xargs.

Precondition
  • precondition_of(new_state(same args))
Postcondition
  • postcondition_of(new_state(same args))

Definition at line 89 of file product_section_space_schema_poset.cc.

References new_state(), and product_section_space_schema_poset().

◆ product_section_space_schema_poset() [2/3]

fiber_bundle::product_section_space_schema_poset::product_section_space_schema_poset ( )
protected

Default constructor; creates a new product_section_space_schema_poset handle not attached to any state.

Postcondition
  • !is_attached()

Definition at line 117 of file product_section_space_schema_poset.cc.

References bottom(), sheaf::poset_state_handle::is_attached(), and top().

Referenced by clone(), make_arg_list(), make_prototype(), and product_section_space_schema_poset().

◆ product_section_space_schema_poset() [3/3]

fiber_bundle::product_section_space_schema_poset::product_section_space_schema_poset ( const product_section_space_schema_poset xother)
protected

Copy constructor; attaches this to the same state as xother.

Postcondition
  • is_same_state(&xother)

Definition at line 135 of file product_section_space_schema_poset.cc.

References sheaf::poset_state_handle::is_same_state(), and ~product_section_space_schema_poset().

◆ ~product_section_space_schema_poset()

fiber_bundle::product_section_space_schema_poset::~product_section_space_schema_poset ( )
protectedvirtual

Destructor.

Definition at line 151 of file product_section_space_schema_poset.cc.

References initialize_arg_list().

Referenced by product_section_space_schema_poset().

Member Function Documentation

◆ bottom() [1/2]

fiber_bundle::product_section_space_schema_member & fiber_bundle::product_section_space_schema_poset::bottom ( )

The bottom of member of the lattice (mutable version)

Definition at line 1063 of file product_section_space_schema_poset.cc.

References sheaf::poset_state_handle::_bottom.

Referenced by initialize_standard_members(), product_section_space_schema_poset(), and top().

◆ bottom() [2/2]

const fiber_bundle::product_section_space_schema_member & fiber_bundle::product_section_space_schema_poset::bottom ( ) const

The bottom of member of the lattice (const version)

Definition at line 1078 of file product_section_space_schema_poset.cc.

References sheaf::poset_state_handle::_bottom, and is_jim().

◆ class_name()

const char * fiber_bundle::product_section_space_schema_poset::class_name ( ) const
virtual

The name of this class.

Reimplemented from fiber_bundle::section_space_schema_poset.

Definition at line 596 of file product_section_space_schema_poset.cc.

References new_state().

Referenced by type_id().

◆ clone()

fiber_bundle::product_section_space_schema_poset * fiber_bundle::product_section_space_schema_poset::clone ( ) const
protectedvirtual

Virtual constructor; creates a new handle of the same actual type as this, attached to the same state as this.

Postcondition
  • result != 0

Implements fiber_bundle::section_space_schema_poset.

Definition at line 1500 of file product_section_space_schema_poset.cc.

References sheaf::poset_state_handle::is_attached(), operator=(), and product_section_space_schema_poset().

Referenced by invariant().

◆ contains_range_member()

bool fiber_bundle::product_section_space_schema_poset::contains_range_member ( pod_index_type  xbase_space_id,
pod_index_type  xfiber_schema_id,
bool  xauto_access 
) const
virtual

True if this poset contains a member with base space id xbase_space_id and fiber schema id xfiber_schema_id.

Precondition
  • state_is_auto_read_accessible(xauto_access)
Postcondition
  • is_basic_query

Implements fiber_bundle::section_space_schema_poset.

Definition at line 517 of file product_section_space_schema_poset.cc.

References _product_range, _table_dof_range, fiber_bundle::section_space_schema_table_dof_crg_range::contains_member(), fiber_bundle::product_section_space_schema_crg_range::contains_member(), sheaf::read_write_monitor_handle::state_is_auto_read_accessible(), and update_hub_id_space().

Referenced by is_homogeneous(), ordinal(), and tuple().

◆ initialize_arg_list()

void fiber_bundle::product_section_space_schema_poset::initialize_arg_list ( const namespace_poset xns,
const std::string &  xname,
arg_list xargs,
const poset_path xschema_path,
bool  xauto_access 
)
protectedvirtual

Initializes xarg to satisfy class invariants.

Precondition
  • xns.state_is_auto_read_accessible(xauto_access)
  • !xschema_path.empty()
  • xns.path_is_auto_read_accessible(xschema_path, xauto_access)
  • xschema_path.conforms_to(xns, standard_schema_path(), xauto_access)
  • xns.arg_is_auto_read_accessible("rep_path", xargs, xauto_access)
  • xns.arg_is_auto_read_accessible("base_space_path", xargs, xauto_access)
  • xns.arg_is_auto_read_accessible("fiber_space_path", xargs, xauto_access)

Definition at line 172 of file product_section_space_schema_poset.cc.

References sheaf::poset_path::conforms_to(), sheaf::poset_path::empty(), sheaf::namespace_poset::path_is_auto_read_accessible(), product_structure(), standard_schema_path(), and sheaf::read_write_monitor_handle::state_is_auto_read_accessible().

Referenced by new_state(), and ~product_section_space_schema_poset().

◆ initialize_row_dof_subposet()

◆ initialize_standard_members()

void fiber_bundle::product_section_space_schema_poset::initialize_standard_members ( )
protectedvirtual

Creates the members common to every poset (i.e. _top and _bottom).

Precondition
Postcondition

Reimplemented from fiber_bundle::section_space_schema_poset.

Definition at line 1216 of file product_section_space_schema_poset.cc.

References _product_range, _table_dof_range, fiber_bundle::section_space_schema_member::attach_to_state(), sheaf::poset::begin_jim_edit_mode(), bottom(), sheaf::poset_state_handle::crg(), sheaf::any::enable_invariant_check(), sheaf::poset::end_jim_edit_mode(), fiber_bundle::section_space_schema_table_dof_crg_range::finalize(), fiber_bundle::product_section_space_schema_crg_range::finalize(), fiber_bundle::section_space_schema_table_dof_crg_range::get_size(), fiber_bundle::product_section_space_schema_crg_range::get_size(), sheaf::poset_state_handle::has_standard_member_ct(), sheaf::poset_state_handle::has_standard_row_dof_tuple_ct(), sheaf::poset_crg_state::implicit_member(), sheaf::poset_state_handle::index(), invariant(), sheaf::poset_state_handle::is_attached(), fiber_bundle::section_space_schema_poset::member_ct(), fiber_bundle::section_space_schema_poset::new_link(), fiber_bundle::section_space_schema_poset::new_member(), new_schema_handle(), fiber_bundle::product_section_space_schema_crg_range::ordinal(), sheaf::abstract_poset_member::put_name(), sheaf::poset_state_handle::put_standard_member_ct(), sheaf::poset_state_handle::put_standard_row_dof_tuple_ct(), sheaf::auto_block< T, S >::reserve(), sheaf::poset_state_handle::row_dof_tuple_ct(), sheaf::auto_block< T, S >::set_ct(), sheaf::read_write_monitor_handle::state_is_read_write_accessible(), and top().

Referenced by member_name(), and new_state().

◆ invariant()

◆ is_ancestor_of()

bool fiber_bundle::product_section_space_schema_poset::is_ancestor_of ( const any other) const
virtual

True if other conforms to this.

Reimplemented from fiber_bundle::section_space_schema_poset.

Definition at line 1458 of file product_section_space_schema_poset.cc.

References invariant().

Referenced by new_schema_handle(), and operator=().

◆ is_homogeneous()

bool fiber_bundle::product_section_space_schema_poset::is_homogeneous ( pod_index_type  xindex) const
virtual

◆ is_jim()

◆ make_arg_list()

sheaf::arg_list fiber_bundle::product_section_space_schema_poset::make_arg_list ( const poset_path xrep_path,
const poset_path xbase_space_path,
const poset_path xfiber_space_path 
)
static

Creates an arg list which conforms to the schema of this.

Postcondition
  • -unexecutable( "result.conforms_to(schema of this class)" )
  • result.value("rep_path") == xrep_path
  • result.value("base_space_path") == xbase_space_path
  • result.value("fiber_space_path") == xfiber_space_path

Definition at line 56 of file product_section_space_schema_poset.cc.

References product_section_space_schema_poset(), and sheaf::arg_list::value().

◆ make_prototype()

bool fiber_bundle::product_section_space_schema_poset::make_prototype ( )
staticprotected

◆ make_standard_schema()

void fiber_bundle::product_section_space_schema_poset::make_standard_schema ( namespace_poset xns)
static

Creates standard schema for this class in namespace xns.

Precondition
  • xns.state_is_read_write_accessible()
  • xns.contains_poset(standard_schema_poset_name(), false)
  • !xns.contains_poset_member(standard_schema_path(), false)
Postcondition
  • xns.contains_poset_member(standard_schema_path())

Definition at line 402 of file product_section_space_schema_poset.cc.

References sheaf::namespace_poset::contains_poset(), sheaf::namespace_poset::contains_poset_member(), member_name(), sheaf::namespace_poset::member_poset(), fiber_bundle::section_space_schema_poset::standard_schema_path(), standard_schema_path(), fiber_bundle::section_space_schema_poset::standard_schema_poset_name(), sheaf::read_write_monitor_handle::state_is_read_write_accessible(), and tuple().

Referenced by standard_schema_path().

◆ member_name()

◆ new_schema_handle()

sheaf::schema_poset_member * fiber_bundle::product_section_space_schema_poset::new_schema_handle ( const std::string &  xid_space_name,
pod_index_type  xschema_member_ext_id,
pod_index_type  xbase_space_ext_id,
pod_index_type  xfiber_schema_ext_id,
pod_index_type  xlocal_schema_ext_id 
)
virtual

Creates a member handle of the type appropriate for members of this when used as a schema. Intended for use only by the i/o subsystem. /.

Todo:
Remove.
Hack:
the product subposet hack, version 2. / This member exists only to encapsulate the hack. /
Todo:
Remove.
Postcondition
  • result != 0
  • schema_is_ancestor_of(result)

Reimplemented from sheaf::poset_state_handle.

Definition at line 1402 of file product_section_space_schema_poset.cc.

References sheaf::abstract_poset_member::attach_to_state(), fiber_bundle::section_space_schema_poset::base_space(), fiber_bundle::section_space_schema_poset::fiber_schema(), sheaf::poset_state_handle::get_int_id(), is_ancestor_of(), sheaf::poset_component::is_attached(), ordinal(), and sheaf::poset_state_handle::schema_is_ancestor_of().

Referenced by initialize_standard_members().

◆ new_state() [1/2]

void fiber_bundle::product_section_space_schema_poset::new_state ( namespace_poset xhost,
const std::string &  xname,
const arg_list xargs,
const poset_path xschema_path,
bool  xauto_access 
)
protected

Attaches this to a new poset state in namespace xhost, schema specified by xschema_path, name xname, and table dofs initialized by xargs.

Precondition
  • xauto_access || xns.in_jim_edit_mode()
  • poset_path::is_valid_name(xname)
  • !xns.contains_poset(xname, xauto_access)
Hack:
the following is necessary because the i/o subsystem can't handle poset with same name as namespace.
Todo:
fix the i/o subsystem and remove these preconditions.
Hack:
unexecutable because may not have access.
Precondition
  • -unexecutable( xname != xns.name() )
  • xns.path_is_auto_read_accessible(xschema_path, xauto_access)
  • xschema_path.conforms_to(xns, standard_schema_path(), xauto_access)
  • xargs.conforms_to(xns, xschema_path, true, xauto_access)
  • xns.arg_is_auto_read_accessible("rep_path", xargs, xauto_access)
  • xns.arg_is_auto_read_accessible("base_space_path", xargs, xauto_access)
  • xns.arg_is_auto_read_accessible("fiber_space_path", xargs, xauto_access)
  • rep_is_valid(xns, xargs, xauto_access)
Postcondition
  • !in_jim_edit_mode()
Todo:
Review.
Postcondition
  • member_id_spaces(false).has_only_standard_id_spaces()

Definition at line 615 of file product_section_space_schema_poset.cc.

References sheaf::poset_state_handle::_state, fiber_bundle::section_space_schema_poset::base_space(), sheaf::arg_list::conforms_to(), sheaf::poset_path::conforms_to(), sheaf::namespace_poset::contains_poset(), fiber_bundle::section_space_schema_poset::db(), sheaf::schema_poset_member::detach_from_state(), fiber_bundle::section_space_schema_poset::df(), sheaf::any::disable_invariant_check(), sheaf::any::enable_invariant_check(), fiber_bundle::section_space_schema_poset::fiber_schema(), fiber_bundle::section_space_schema_poset::fiber_space(), sheaf::poset_component::get_read_access(), sheaf::poset_state_handle::get_read_write_access(), fiber_bundle::section_space_schema_poset::get_read_write_access(), sheaf::namespace_poset::get_read_write_access(), sheaf::poset_state_handle::in_jim_edit_mode(), initialize_arg_list(), fiber_bundle::section_space_schema_poset::initialize_handle_data_members(), sheaf::poset_state_handle::initialize_namespace(), initialize_row_dof_subposet(), initialize_standard_members(), sheaf::poset_state_handle::initialize_standard_subposets(), fiber_bundle::section_space_schema_poset::initialize_table_dof_subposet(), sheaf::poset_state_handle::initialize_table_dof_tuple(), invariant(), sheaf::poset_state_handle::is_attached(), sheaf::poset_path::is_valid_name(), sheaf::poset_state_handle::member_id_spaces(), sheaf::poset_state_handle::name(), sheaf::namespace_poset::name(), sheaf::poset_state_handle::path(), sheaf::namespace_poset::path_is_auto_read_accessible(), sheaf::array_poset_dof_map::put_dof_tuple(), sheaf::poset_state_handle::release_access(), fiber_bundle::section_space_schema_poset::release_access(), sheaf::poset_component::release_access(), sheaf::namespace_poset::release_access(), fiber_bundle::section_space_schema_poset::rep(), fiber_bundle::section_space_schema_poset::rep_is_valid(), sheaf::poset_state_handle::schema(), standard_schema_path(), sheaf::read_write_monitor_handle::state_is_not_read_accessible(), and sheaf::poset_state_handle::update_standard_member_id_spaces().

Referenced by class_name(), and product_section_space_schema_poset().

◆ new_state() [2/2]

void fiber_bundle::product_section_space_schema_poset::new_state ( const schema_poset_member xschema,
array_poset_dof_map xdof_map 
)
protectedvirtual

Attaches this external poset to a new poset state with schema given by xschema and table dofs by xdof_map. Intended for use by i/o subsystem.

Precondition
  • xschema.state_is_read_accessible()
  • schema_is_ancestor_of(&xschema)
Todo:
Remove.
Issue:
the following is unexecutable because dof maps don't have a schema until attached to a host; requires covariant schema feature to implement.
Todo:
fix dof maps schema feature and make this precondition executable.
Precondition
  • -unexecutable( xschema.is_same_state(xdof_map.schema()) )
  • -unexecutable( "rep in xdof_map exists" )
  • -unexecutable( "rep in xdof_map is read accessible" )
  • -unexecutable( "base space in xdof_map exists" )
  • -unexecutable( "base space in xdof_map is read accessible" )
  • -unexecutable( "fiber space in xdof_map exists" )
  • -unexecutable( "fiber space in xdof_map is read accessible" )
  • -unexecutable( "rep in xdof_map is valid for base and fiber in xdof_map" )
Postcondition
  • !in_jim_edit_mode()
  • member_id_spaces(false).has_only_standard_id_spaces()

Definition at line 773 of file product_section_space_schema_poset.cc.

References sheaf::poset_state_handle::_state, fiber_bundle::section_space_schema_poset::base_space(), sheaf::any::disable_invariant_check(), sheaf::any::enable_invariant_check(), fiber_bundle::section_space_schema_poset::fiber_schema(), fiber_bundle::section_space_schema_poset::fiber_space(), sheaf::poset_state_handle::get_read_write_access(), fiber_bundle::section_space_schema_poset::get_read_write_access(), sheaf::poset_component::host(), sheaf::poset_state_handle::in_jim_edit_mode(), sheaf::poset_state_handle::index(), fiber_bundle::section_space_schema_poset::initialize_handle_data_members(), initialize_standard_members(), sheaf::poset_state_handle::initialize_standard_subposets(), fiber_bundle::section_space_schema_poset::initialize_table_dof_subposet(), sheaf::poset_state_handle::initialize_table_dof_tuple(), invariant(), sheaf::poset_state_handle::is_attached(), sheaf::poset_state_handle::is_external(), sheaf::poset_state_handle::is_same_state(), sheaf::poset_component::is_same_state(), sheaf::poset_state_handle::member_id_spaces(), member_name(), sheaf::poset_state_handle::name_space(), sheaf::poset_state_handle::release_access(), fiber_bundle::section_space_schema_poset::release_access(), fiber_bundle::section_space_schema_poset::rep(), sheaf::poset_dof_map::schema(), sheaf::poset_state_handle::schema(), sheaf::poset_state_handle::schema_is_ancestor_of(), sheaf::read_write_monitor_handle::state_is_not_read_accessible(), sheaf::read_write_monitor_handle::state_is_read_accessible(), sheaf::poset_state_handle::table_dof_map(), top(), and sheaf::poset_state_handle::update_standard_member_id_spaces().

◆ operator=()

fiber_bundle::product_section_space_schema_poset & fiber_bundle::product_section_space_schema_poset::operator= ( const poset_state_handle xother)
protected

Assignment operator; attaches this to the same state as xother.

Precondition
  • is_ancestor_of(&xother)
Postcondition
  • is_same_state(&xother)

Definition at line 1522 of file product_section_space_schema_poset.cc.

References is_ancestor_of(), sheaf::poset_state_handle::is_same_state(), and fiber_bundle::section_space_schema_poset::operator=().

Referenced by clone().

◆ ordinal()

void fiber_bundle::product_section_space_schema_poset::ordinal ( pod_index_type  xbase_space_id,
pod_index_type  xfiber_schema_id,
pod_index_type xindex 
) const
virtual

The ordinal conversion from base space id xbase_space_id and fiber schema id xfiber_schema_id to section space schema id xindex.

Precondition
  • contains_range_member(xbase_space_id, xfiber_schema_id, false)
Postcondition
  • is_homogeneous(xindex)

Implements fiber_bundle::section_space_schema_poset.

Definition at line 466 of file product_section_space_schema_poset.cc.

References _product_range, _table_dof_range, fiber_bundle::product_section_space_schema_crg_range::contains_member(), contains_range_member(), is_homogeneous(), fiber_bundle::section_space_schema_table_dof_crg_range::ordinal(), and fiber_bundle::product_section_space_schema_crg_range::ordinal().

Referenced by fiber_bundle::product_section_space_schema_member::get_decomposition(), initialize_row_dof_subposet(), new_schema_handle(), and tuple().

◆ product_range()

fiber_bundle::product_section_space_schema_crg_range & fiber_bundle::product_section_space_schema_poset::product_range ( )
protected

The implicit crg range that represents the product members of this poset.

Postcondition
  • is_basic_query

Definition at line 315 of file product_section_space_schema_poset.cc.

References _product_range, and put_product_range().

Referenced by put_table_dof_range().

◆ product_structure()

const sheaf::ij_product_structure & fiber_bundle::product_section_space_schema_poset::product_structure ( ) const
protected

◆ put_product_range()

void fiber_bundle::product_section_space_schema_poset::put_product_range ( product_section_space_schema_crg_range xproduct_range)
protected

Set the product range.

Definition at line 332 of file product_section_space_schema_poset.cc.

References _product_range, and make_prototype().

Referenced by product_range().

◆ put_table_dof_range()

void fiber_bundle::product_section_space_schema_poset::put_table_dof_range ( section_space_schema_table_dof_crg_range xtable_dof_range)
protected

Set the table dof crg range.

Definition at line 298 of file product_section_space_schema_poset.cc.

References _table_dof_range, and product_range().

Referenced by table_dof_range().

◆ standard_schema_path()

const sheaf::poset_path & fiber_bundle::product_section_space_schema_poset::standard_schema_path ( )
static

◆ table_dof_range()

fiber_bundle::section_space_schema_table_dof_crg_range & fiber_bundle::product_section_space_schema_poset::table_dof_range ( )
protected

The implicit crg range that represents the table dof members of this poset.

Postcondition
  • is_basic_query

Definition at line 281 of file product_section_space_schema_poset.cc.

References _table_dof_range, and put_table_dof_range().

Referenced by initialize_row_dof_subposet().

◆ top() [1/2]

fiber_bundle::product_section_space_schema_member & fiber_bundle::product_section_space_schema_poset::top ( )

The top of member of the lattice (mutable version)

Todo:
Remove.

Definition at line 1033 of file product_section_space_schema_poset.cc.

References sheaf::poset_state_handle::_top.

Referenced by initialize_standard_members(), new_state(), and product_section_space_schema_poset().

◆ top() [2/2]

const fiber_bundle::product_section_space_schema_member & fiber_bundle::product_section_space_schema_poset::top ( ) const

The top of member of the lattice (const version)

Definition at line 1048 of file product_section_space_schema_poset.cc.

References sheaf::poset_state_handle::_top, and bottom().

◆ tuple()

void fiber_bundle::product_section_space_schema_poset::tuple ( pod_index_type  xindex,
pod_index_type xbase_space_id,
pod_index_type xfiber_schema_id 
) const
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.

Precondition
  • is_homogeneous(xindex)
Postcondition
  • contains_range_member(xbase_space_id, xfiber_schema_id, false)

Implements fiber_bundle::section_space_schema_poset.

Definition at line 435 of file product_section_space_schema_poset.cc.

References _product_range, _table_dof_range, fiber_bundle::product_section_space_schema_crg_range::contains_member(), contains_range_member(), is_homogeneous(), ordinal(), sheaf::read_write_monitor_handle::state_is_read_accessible(), fiber_bundle::section_space_schema_table_dof_crg_range::tuple(), and fiber_bundle::product_section_space_schema_crg_range::tuple().

Referenced by is_jim(), make_standard_schema(), and member_name().

◆ type_id()

sheaf::poset_type fiber_bundle::product_section_space_schema_poset::type_id ( ) const
virtual

Identifier for the type of this poset.

Reimplemented from fiber_bundle::section_space_schema_poset.

Definition at line 589 of file product_section_space_schema_poset.cc.

References class_name().

Referenced by update_hub_id_space().

◆ update_hub_id_space()

Member Data Documentation

◆ _product_range

product_section_space_schema_crg_range* fiber_bundle::product_section_space_schema_poset::_product_range
protected

The implicit crg range that represents the product members of this poset.

Definition at line 159 of file product_section_space_schema_poset.h.

Referenced by contains_range_member(), initialize_standard_members(), is_homogeneous(), ordinal(), product_range(), product_structure(), put_product_range(), tuple(), and update_hub_id_space().

◆ _table_dof_range

section_space_schema_table_dof_crg_range* fiber_bundle::product_section_space_schema_poset::_table_dof_range
protected

The implicit crg range that represents the table dof members of this poset.

Definition at line 154 of file product_section_space_schema_poset.h.

Referenced by contains_range_member(), initialize_standard_members(), is_homogeneous(), ordinal(), put_table_dof_range(), table_dof_range(), and tuple().


The documentation for this class was generated from the following files: