SheafSystem
0.0.0.0
|
The lattice of closed cells of a cellular space; a lattice representation of a computational mesh. More...
#include <base_space_poset.h>
Friends | |
class | sheaf::namespace_poset |
class | unstructured_block_builder |
class | fiber_bundles_namespace |
SHEAF_DLL_SPEC size_t | fiber_bundle::deep_size (const base_space_poset &xp, bool xinclude_shallow, size_t xresults[4]) |
BASE_SPACE_POSET FACET | |
typedef base_space_poset_table_dof_tuple_type | table_dof_tuple_type |
The type of table dof tuple for this. More... | |
typedef base_space_member_row_dof_tuple_type | row_dof_tuple_type |
The type of row dof tuple for this. More... | |
static const poset_path & | standard_schema_path () |
The path to the standard schema for this class. More... | |
static base_space_poset & | new_table (namespace_type &xhost, const poset_path &xpath, const poset_path &xschema_path, int xmax_db, bool xauto_access) |
Creates a new base_space_poset in namespace xns with path xpath, schema specified by xschema_path, and table attribute max_db specified by xmax_db.. More... | |
base_space_poset () | |
Default constructor; creates a new base_space_poset handle not attached to any state. More... | |
base_space_poset (const base_space_poset &xother) | |
Copy constructor; disabled. More... | |
virtual | ~base_space_poset () |
Destructor. More... | |
ZONE ID SPACE FACET | |
bool | contains_zone_id_space (pod_index_type xmbr_id, bool xauto_access) const |
True, if and only if the block containing the member with index xmbr_id has a zone id space. More... | |
bool | contains_zone_id_space (const scoped_index &xmbr_id, bool xauto_access) const |
True, if and only if the block containing the member with index xmbr_id has a zone id space. synonym for contains_zone_id_space(xmbr_id.hub_pod()). More... | |
index_space_handle & | get_zone_id_space (pod_index_type xmbr_id, bool xauto_access) const |
Allocates an zone id space handle for the block containing the member with index xmbr_id from the pool of handles. More... | |
index_space_handle & | get_zone_id_space (const scoped_index &xmbr_id, bool xauto_access) const |
Allocates an zone id space handle for the block containing the member with index xmbr_id from the pool of handles. synonym for get_zone_id_space(xmbr_id.hub_pod()). More... | |
void | release_zone_id_space (index_space_handle &xid_space, bool xauto_access) const |
Returns the handle to the zone id space, xid_space to the pool of id space handles. More... | |
index_space_iterator & | get_zone_id_space_iterator (pod_index_type xmbr_id, bool xauto_access) const |
Allocates an zone id space iterator for the block containing the member with index xmbr_id for the pool of id spaces. More... | |
index_space_iterator & | get_zone_id_space_iterator (const scoped_index &xmbr_id, bool xauto_access) const |
Allocates an zone id space iterator for the block containing the member with index xmbr_id for the pool of id spaces. synonym for get_zone_id_space_iterator(xmbr_id.hub_pod()). More... | |
void | release_zone_id_space_iterator (index_space_iterator &xitr, bool xauto_access) const |
Returns the iterator to the zone id space, xitr to the pool of id space iterators. More... | |
VERTEX ID SPACE FACET | |
bool | contains_vertex_id_space (pod_index_type xmbr_id, bool xauto_access) const |
True, if and only if the block containing the member with index xmbr_id has a vertex id space. More... | |
bool | contains_vertex_id_space (const scoped_index &xmbr_id, bool xauto_access) const |
True, if and only if the block containing the member with index xmbr_id has a vertex id space. synonym for contains_vertex_id_space(xmbr_id.hub_pod()). More... | |
index_space_handle & | get_vertex_id_space (pod_index_type xmbr_id, bool xauto_access) const |
Allocates an vertex id space handle for the block containing the member with index xmbr_id for the pool of id spaces. More... | |
index_space_handle & | get_vertex_id_space (const scoped_index &xmbr_id, bool xauto_access) const |
Allocates an vertex id space handle for the block containing the member with index xmbr_id for the pool of id spaces. synonym for get_vertex_id_space(xmbr_id.hub_pod()). More... | |
void | release_vertex_id_space (index_space_handle &xid_space, bool xauto_access) const |
Returns the handle to the vertex id space, xid_space to the pool of id space handles. More... | |
index_space_iterator & | get_vertex_id_space_iterator (pod_index_type xmbr_id, bool xauto_access) const |
Allocates an vertex id space iterator for the block containing the member with index xmbr_id for the pool of id spaces. More... | |
index_space_iterator & | get_vertex_id_space_iterator (const scoped_index &xmbr_id, bool xauto_access) const |
Allocates an vertex id space iterator for the block containing the member with index xmbr_id for the pool of id spaces. synonym for get_vertex_id_space_iterator(xmbr_id.hub_pod()). More... | |
void | release_vertex_id_space_iterator (index_space_iterator &xitr, bool xauto_access) const |
Returns the iterator to the vertex id space, xitr to the pool of id space iterators. More... | |
VERTEX CLIENT ID SPACE FACET | |
bool | contains_vertex_client_id_space (pod_index_type xmbr_id, bool xauto_access) const |
True, if and only if the block containing the member with index xmbr_id has a vertex client id space. More... | |
bool | contains_vertex_client_id_space (const scoped_index &xmbr_id, bool xauto_access) const |
True, if and only if the block containing the member with index xmbr_id has a vertex client id space. synonym for contains_vertex_client_id_space(xmbr_id.hub_pod()). More... | |
index_space_handle & | get_vertex_client_id_space (pod_index_type xmbr_id, bool xauto_access) const |
Allocates an vertex client id space handle for the block containing the member with index xmbr_id for the pool of id spaces. More... | |
index_space_handle & | get_vertex_client_id_space (const scoped_index &xmbr_id, bool xauto_access) const |
Allocates an vertex client id space handle for the block containing the member with index xmbr_id for the pool of id spaces. synonym for get_vertex_client_id_space(xmbr_id.hub_pod()). More... | |
void | release_vertex_client_id_space (index_space_handle &xid_space, bool xauto_access) const |
Returns the handle to the vertex client id space, xid_space to the pool of id space handles. More... | |
index_space_iterator & | get_vertex_client_id_space_iterator (pod_index_type xmbr_id, bool xauto_access) const |
Allocates an vertex client id space iterator for the block containing the member with index xmbr_id for the pool of id spaces. More... | |
index_space_iterator & | get_vertex_client_id_space_iterator (const scoped_index &xmbr_id, bool xauto_access) const |
Allocates an vertex client id space iterator for the block containing the member with index xmbr_id for the pool of id spaces. synonym for get_vertex_client_id_space_iterator(xmbr_id.hub_pod()). More... | |
void | release_vertex_client_id_space_iterator (index_space_iterator &xitr, bool xauto_access) const |
Returns the iterator to the vertex client id space, xitr to the pool of id space iterators. More... | |
CONNECTIVITY FACET | |
bool | contains_connectivity_id_space (pod_index_type xzone_id, bool xauto_access) const |
True if this poset contains the connectivity for a zone with id xzone_id. More... | |
bool | contains_connectivity_id_space (const scoped_index &xzone_id, bool xauto_access) const |
True if this poset contains the connectivity for a zone with id xzone_id. synonym for contains_connectivity(xzone_id.hub_pod(), xauto_access). More... | |
index_space_handle & | get_connectivity_id_space (pod_index_type xzone_id, bool xauto_access) const |
Allocates an id space handle from the connectivity handle pool attached to the connectivity id space state for zone with id xzone_id. More... | |
index_space_handle & | get_connectivity_id_space (const scoped_index &xzone_id, bool xauto_access) const |
Allocates an id space handle from the connectivity handle pool attached to the connectivity id space state for zone with id xzone_id. synonym for get_connectivity_id_space(zone_id_space().pod(xzone_id)). More... | |
void | release_connectivity_id_space (index_space_handle &xid_space, bool xauto_access) const |
Returns the id space handle xid_space to the connectivity handle pool. More... | |
index_space_iterator & | get_connectivity_id_space_iterator (pod_index_type xzone_id, bool xauto_access) const |
Allocates an id space iterator from the connectivity iterator pool attached to the connectivity id space state for zone with id xzone_id. More... | |
index_space_iterator & | get_connectivity_id_space_iterator (const scoped_index &xzone_id, bool xauto_access) const |
Allocates an id space iterator from the connectivity iterator pool attached to the connectivity id space state for zone with id xzone_id. synonym for get_connecitivity_iterator(zone_id_space().pod(xzone_id)). More... | |
void | release_connectivity_id_space_iterator (index_space_iterator &xid_space, bool xauto_access) const |
Returns the id space iterator xid_space to the connectivity iterator pool. More... | |
ADJACENCY FACET | |
bool | contains_adjacency_id_space (pod_index_type xvertex_id, bool xauto_access) const |
True if this poset contains the adjacency for a vertex with id xvertex_id. More... | |
bool | contains_adjacency_id_space (const scoped_index &xvertex_id, bool xauto_access) const |
True if this poset contains the adjacency for a vertex with id xvertex_id. synonym for contains_adjacency(xvertex_id.hub_pod(), xauto_access). More... | |
index_space_handle & | get_adjacency_id_space (pod_index_type xvertex_id, bool xauto_access) const |
Allocates an id space handle from the adjacency handle pool attached to the adjacency id space state for vertex with id xvertex_id. More... | |
index_space_handle & | get_adjacency_id_space (const scoped_index &xvertex_id, bool xauto_access) const |
Allocates an id space handle from the adjacency handle pool attached to the adjacency id space state for vertex with id xvertex_id. synonym for get_adjacency_id_space(vertex_id_space().pod(xvertex_id)). More... | |
void | release_adjacency_id_space (index_space_handle &xid_space, bool xauto_access) const |
Returns the id space handle xid_space to the adjacency handle pool. More... | |
index_space_iterator & | get_adjacency_id_space_iterator (pod_index_type xvertex_id, bool xauto_access) const |
Allocates an id space iterator from the adjacency iterator pool attached to the adjacency id space state for vertex with id xvertex_id. More... | |
index_space_iterator & | get_adjacency_id_space_iterator (const scoped_index &xvertex_id, bool xauto_access) const |
Allocates an id space iterator from the adjacency iterator pool attached to the adjacency id space state for vertex with id xvertex_id. synonym for get_connecitivity_iterator(vertex_id_space().pod(xvertex_id)). More... | |
void | release_adjacency_id_space_iterator (index_space_iterator &xid_space, bool xauto_access) const |
Returns the id space iterator xid_space to the adjacency iterator pool. More... | |
MEMBER PROTOTYPES FACET | |
static const std::string & | prototypes_poset_name () |
The name of the prototypes poset; a synonym for bsae_space_member::prototypes_poset_name(). More... | |
pod_index_type | prototype_type_id (const std::string &xname, bool xauto_access=true) const |
The type id of the base space member prototype with name xname. More... | |
scoped_index | prototype_dof_tuple_id (const std::string &xname, int xdepth, bool xcreate, bool xauto_access) const |
The dof tuple id in this of the base space member prototype with name xname and refinememnt_depth xdepth. If xcreate, create the dof tuple if it doesn't already exist. More... | |
STATE FACET | |
virtual void | attach_handle_data_members () |
Initializes the handle data members when this handle is attached to a state. More... | |
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... | |
MEMBERSHIP FACET | |
pod_index_type | new_member (const std::string &xprototype_name, bool xcopy_dof_map) |
Creates a disconnected jim using the prototype with name xprototype_name. If xcopy_dof_map or if xhost does not already contain a copy of the prototype dof map, create a copy of the dof map, otherwise just refer to an existing copy. More... | |
pod_index_type | new_member (const char *xprototype_name, bool xcopy_dof_map) |
Synonym for new_member(const std::string& xprototype_name, bool xcopy_dof_map), provided only to eliminate ambiguity with refinable_poset::new_member(bool, pod_index_type) when xprototype_name is provided as a string literal. More... | |
pod_index_type | new_member (const std::string &xtype_name, int xdb, const std::string &xlocal_cell_name) |
Creates a new jim and initializes it for use as a prototype with type name xtype_name, dimension xdb, and local cell prototype xlocal_cell_name. More... | |
SUBPOSET FACET | |
subposet | _blocks |
The subposet containing all the blocks. More... | |
subposet | _block_vertices |
The subposet containing the vertices associated with blocks. More... | |
block< subposet > | _d_cells |
The subposets containing the cells of dimension 0 <= d <= db(). More... | |
block< scattered_insertion_index_space_handle * > | _d_cells_id_spaces |
The id spaces for the subposets containing the cells of dimension 0 <= d <= db(). More... | |
subposet | _cells |
The subposet containing all the cells. More... | |
static std::string | blocks_name () |
The name of the blocks subposet. More... | |
static std::string | block_vertices_name () |
The name of the block vertices subposet. More... | |
static std::string | d_cells_name (int xdb, int xmax_db) |
The name of the xdb-cell subposet. More... | |
static std::string | cells_name () |
The name of the cells subposet. More... | |
virtual void | initialize_standard_subposets (const std::string &xname) |
Creates the subposets common to every poset (i.e._whole and _jims). More... | |
subposet & | blocks () |
The subposet containing all the blocks, const ver (mutable version). More... | |
const subposet & | blocks () const |
The subposet containing all the blocks, const ver (const version). More... | |
subposet & | block_vertices () |
The subposet containing the vertices associated with blocks (mutable version). More... | |
const subposet & | block_vertices () const |
The subposet containing the vertices associated with blocks (const version). More... | |
subposet & | vertices () |
The subposet containing all the vertices, that is, the cells of dimension 0 (mutable version). More... | |
const subposet & | vertices () const |
The subposet containing all the vertices, that is, the cells of dimension 0 (const version). More... | |
subposet & | elements () |
The subposet containing the elements or zones, that is, the cells of maximal dimension. More... | |
const subposet & | elements () const |
The subposet containing the elements or zones, that is, the cells of maximal dimension. More... | |
subposet & | d_cells (int xd) |
The subposet containing the cells of dimension xd (mutable version). More... | |
const subposet & | d_cells (int xd) const |
The subposet containing the cells of dimension xd (const version). More... | |
scattered_insertion_index_space_handle & | d_cells_id_space (int xd) |
The id space for the subposet containing the cells of dimension xd (mutable version). More... | |
const scattered_insertion_index_space_handle & | d_cells_id_space (int xd) const |
The id space for the subposet containing the cells of dimension xd (const version). More... | |
subposet & | cells () |
The subposet containing all the cells, of any dimension. More... | |
const subposet & | cells () const |
The subposet containing all the cells, of any dimension. More... | |
void | insert_interval_in_standard_subposets (base_space_crg_interval &xinterval) |
Inserts interval xinterval into the standard subposets. More... | |
TABLE DOFS FACET | |
int | max_db () const |
The maximum dimension of the members of this base space. More... | |
void | put_max_db (int xmax_db) |
Sets max_db() to xmax_db. More... | |
void | update_max_db (int xmax_db) |
Sets max_db() to the larger of old max_db() and xmax_db. More... | |
const table_dof_tuple_type * | table_dof_tuple () const |
The table dof tuple for this (const version). More... | |
table_dof_tuple_type * | table_dof_tuple () |
The table dof tuple for this (mutable version). More... | |
ROW DOFS FACET | |
int | db (pod_index_type xmbr_hub_id) const |
The base space dimension of the member with hub id xmbr_hub_id. More... | |
int | db (const scoped_index &xmbr_id) const |
The base space dimension of the member with id xmbr_id. More... | |
pod_index_type | type_id (pod_index_type xmbr_hub_id) const |
The type id of the member with hub id xmbr_hub_id. More... | |
pod_index_type | type_id (const scoped_index &xmbr_id) const |
The type id of the member with id xmbr_id. More... | |
std::string | type_name (pod_index_type xmbr_hub_id) const |
The type id of the member with hub id xmbr_hub_id. More... | |
std::string | type_name (const scoped_index &xmbr_id) const |
The type id of the member with id xmbr_id. More... | |
int | refinement_depth (pod_index_type xmbr_hub_id) const |
The refinement depth of the member with hub id xmbr_hub_id. More... | |
int | refinement_depth (const scoped_index &xmbr_id) const |
The refinement depth of the member with id xmbr_id. More... | |
void | put_refinement_depth (pod_index_type xmbr_hub_id, int xdepth) |
Sets the refinement depth of the member with hub id xmbr_hub_id to xdepth. More... | |
void | put_refinement_depth (const scoped_index &xmbr_id, int xdepth) |
Sets the refinement depth of the member with id xmbr_id to xdepth. More... | |
row_dof_tuple_type * | member_dof_tuple (pod_index_type xmbr_hub_id, bool xrequire_write_access=false) const |
The row dof tuple for the member with member hub id xmbr_hub_id. More... | |
row_dof_tuple_type * | member_dof_tuple (const scoped_index &xmbr_id, bool xrequire_write_access=false) const |
The row dof tuple for the member with member id xmbr_id. More... | |
row_dof_tuple_type * | row_dof_tuple (pod_index_type xtuple_hub_id, bool xrequire_write_access=false) const |
The row dof tuple with tuple hub id xtuple_hub_id. More... | |
row_dof_tuple_type * | row_dof_tuple (const scoped_index &xtuple_id, bool xrequire_write_access=false) const |
The row dof tuple with tuple id xtuple_id. More... | |
const scoped_index & | new_row_dof_map (const std::string &xprototype_name) |
Creates a new dof map with dofs equal to those of the prototype with name xprototype_name. More... | |
I/O SUPPORT FACET | |
bool | is_explicit_member (pod_index_type xmbr_id) const |
True if the member with hub id xmbr_id is an explicit member. More... | |
bool | is_block_member (pod_index_type xmbr_id) const |
True if the member with hub id xmbr_id is a block member. More... | |
ANY FACET | |
virtual base_space_poset * | clone () const |
Virtual constructor; creates a new handle of the same actual type as this, attached to the same state as this. More... | |
base_space_poset & | operator= (const poset_state_handle &xother) |
Assignment operator; disabled. More... | |
virtual bool | is_ancestor_of (const any *other) const |
True if other conforms to this. More... | |
virtual bool | invariant () const |
Class invariant. More... | |
Additional Inherited Members | |
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 sheaf::refinable_poset | |
void | put_version (int xversion) |
Set the current level to xversion. More... | |
subposet & | coarsest_common_refinement () |
The coarsest common refinement of all versions. More... | |
const subposet & | coarsest_common_refinement () const |
The coarsest common refinement of all versions. More... | |
subposet & | coarsest_common_refinement_jims () |
The jims of the coarsest common refinement. More... | |
const subposet & | coarsest_common_refinement_jims () const |
The jims of the coarsest common refinement. More... | |
virtual void | begin_refine_mode (bool xauto_access=true) |
Create a new version and allow editing of jims and jim order relation. More... | |
virtual void | end_refine_mode (bool xensure_lattice_invariant=true, bool xauto_access=true) |
Prevent editing of jims and jim order relation; synonym for end_jim_edit_mode(xensure_lattice_invariant, xauto_access);. 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 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 these routines using new_link in order to return the poset to a valid state. More... | |
void | new_member (bool xis_jim, const scoped_index &xdof_tuple_id, scoped_index &result) |
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... | |
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... | |
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 > &xdof_tuple_ids, const block< pod_index_type > &xdata) |
Create a disconnected member interval of type xinterval_type with size xsize, dof tuple ids xdof_tuple_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 > &xdof_tuple_ids, const block< pod_index_type > &xdata, scoped_index &result) |
Create a disconnected member interval of type xinterval_type with size xsize, dof tuple ids xdof_tuple_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... | |
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... | |
virtual std::string | member_name (pod_index_type xmbr_hub_id, bool xauto_access=false) const |
A name 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_member & | schema () |
The schema for this poset (mutable version). More... | |
virtual const schema_poset_member & | schema () const |
The schema for this poset (const version). More... | |
schema_poset_member & | schema (bool xauto_access) |
The schema for this poset, auto_accessible (mutable version). More... | |
const schema_poset_member & | schema (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 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_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_poset * | host () const |
The namespace this poset resides in. Obsolete; use name_space() instead. More... | |
namespace_poset * | name_space () const |
The namespace this poset resides in. More... | |
const scoped_index & | index () const |
The member index of this poset within the namespace host() More... | |
virtual const primitives_poset & | primitives () 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... | |
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... | |
virtual void | delete_member (pod_index_type xmbr_hub_id) |
Delete the member with hub id xmbr_hub_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... | |
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... | |
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... | |
bool | has_standard_member_ct () const |
True if poset is in its initial state, that is, it contains just the standard members. More... | |
virtual scoped_index | member_index_ub () const |
The upper bound on the member_index;. More... | |
index_iterator | member_iterator () const |
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... | |
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... | |
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... | |
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... | |
virtual bool | is_jim (pod_index_type xmbr_hub_id, bool xin_current_version=true) const |
True if the member with hub id xmbr_hub_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 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... | |
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... | |
bool | is_atom (const scoped_index &xmbr_id) const |
True if the member with id xmbr_id covers the bottom. More... | |
abstract_poset_member & | top () |
The top member of the poset (mutable version) More... | |
const abstract_poset_member & | top () const |
The top member of the poset (const version) More... | |
abstract_poset_member & | bottom () |
The bottom member of the poset (mutable version) More... | |
const abstract_poset_member & | bottom () 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_iterator & | get_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 pod_index_type | new_subposet (const block< pod_index_type > &xmembers) |
Creates a new subposet. Set the membership to the members with indices in xmambers. 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... | |
virtual void | delete_subposet (pod_index_type xsubposet_hub_id) |
Deletes the subposet with hub id xsubposet_hub_id. More... | |
void | delete_subposet (const scoped_index &xsubposet_id) |
Deletes the subposet with id xsubposet_id. More... | |
virtual const subposet & | whole () const |
The "improper" subset containing all members of this poset. More... | |
virtual subposet & | jims () |
The subset of all jims (mutable version) More... | |
virtual const subposet & | jims () const |
The subset of all jims (const version) More... | |
subposet & | table_dof_subposet () |
The table dof subposet when this poset is used as a schema (mutable version). More... | |
const subposet & | table_dof_subposet () const |
The table dof subposet when this poset is used as a schema (const version). More... | |
subposet & | row_dof_subposet () |
The row dof subposet when this poset is used as a schema (mutable version). More... | |
const subposet & | row_dof_subposet () const |
The row dof subposet when this poset is used as a schema (const version). More... | |
virtual int | version_ct () const |
The number of versions currently defined. More... | |
virtual int | version () const |
The current version. More... | |
virtual pod_index_type | version_index (int xversion) const |
The subposet hub id of the whole() subposet for version xversion. More... | |
void | version_index (int xversion, scoped_index &result) const |
The subposet id of the whole() subposet for version xversion. More... | |
virtual pod_index_type | version_jims_index (int xversion) const |
The subposet hub id of the jims() 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_family & | member_id_spaces (bool xauto_access) const |
Collection of member id spaces for this (const version). More... | |
index_space_family & | member_id_spaces (bool xauto_access) |
Collection of member id spaces for this (mutable version). More... | |
const hub_index_space_handle & | member_hub_id_space (bool xauto_access) const |
The member hub id space. More... | |
virtual const scoped_index & | member_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... | |
virtual void | new_link (pod_index_type xgreater, pod_index_type xlesser) |
Insert a cover link from greater to lesser (that is, hub id xgreater covers hub 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 | 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... | |
virtual void | delete_link (pod_index_type xgreater, pod_index_type xlesser) |
Delete the cover link between hub id xgreater and hub id xlesser. 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_handle & | get_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_handle & | get_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_iterator & | get_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_iterator & | get_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_map & | table_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_map & | table_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 | 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... | |
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_family & | subposet_id_spaces (bool xauto_access) const |
Collection of subposet id spaces for this (const version). More... | |
index_space_family & | subposet_id_spaces (bool xauto_access) |
Collection of subposet id spaces for this (mutable version). More... | |
const hub_index_space_handle & | subposet_hub_id_space (bool xauto_access) const |
The subposet hub id space. More... | |
virtual const scoped_index & | subposet_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_map & | row_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_map & | row_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_index & | new_row_dof_map () |
Creates a new row dof map. More... | |
virtual const scoped_index & | clone_row_dof_map (const poset_dof_map &xprototype) |
Creates a new row dof map which is a clone of xprototype. More... | |
poset_dof_map & | member_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_map & | member_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_map & | member_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_map & | member_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_family & | dof_tuple_id_spaces (bool xauto_access) const |
Collection of dof tuple id spaces for this (const version). More... | |
index_space_family & | dof_tuple_id_spaces (bool xauto_access) |
Collection of dof tuple id spaces for this (mutable version). More... | |
const hub_index_space_handle & | dof_tuple_hub_id_space (bool xauto_access) const |
The dof tuple hub id space. More... | |
virtual const scoped_index & | dof_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... | |
virtual schema_poset_member * | 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) |
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... | |
virtual index_iterator * | get_decomposition (pod_index_type xindex) const |
An iterator over the members of the decomposition identified by xindex. /. More... | |
index_iterator * | bound_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... | |
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... | |
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... | |
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... | |
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... | |
virtual pod_index_type | prereq_id (int xi) const |
The id of the xi-th prerequisite poset for this. 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 sheaf::refinable_poset | |
static refinable_poset & | new_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 | |
static poset & | new_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 sheaf::refinable_poset | |
refinable_poset () | |
Default constructor; creates a new refinable_poset handle not attached to any state. More... | |
virtual | ~refinable_poset () |
Destructor. More... | |
refinable_poset (const refinable_poset &xother) | |
Copy constructor; disabled. More... | |
refinable_poset & | operator= (const poset_state_handle &xother) |
Assignment operator; disabled. More... | |
virtual void | new_member (const scoped_index &xindex, bool xis_jim, const scoped_index &xdof_tuple_id) |
Create a disconnected member with index xindex, 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 (const scoped_index &xindex, bool xis_jim, poset_dof_map *xdof_map=0, bool xcopy_dof_map=false) |
Create a disconnected member with index xindex 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 (const scoped_index &xindex, const std::string &xinterval_type, size_type xsize) |
Create a disconnected member interval beginning at index xindex, of type xinterval_type, and with size xsize. 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... | |
poset & | operator= (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_type & | member_name_map (bool xrequire_write_access=false) |
The bidirectional map between member indices and names. More... | |
virtual poset_state * | state_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... | |
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 and to be redefined in descendants to handle additional data members defined there. More... | |
void | ensure_lattice_invariant () |
Restores the lattice invariant after editing jims. More... | |
virtual void | terminate_access () |
Release all access to posets this depends on, then detach and delete the state. 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_state & | crg () const |
The cover relation graph. More... | |
virtual void | initialize_standard_members () |
Creates the members common to every poset, for instance, top() and bottom(). 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 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 subposet & | resident () |
The subset of all members with resident (in memory) dof tuples (mutable version). More... | |
virtual const subposet & | resident () const |
The subset of all members with resident (in memory) dof tuples (const version). More... | |
poset_powerset_state & | powerset () const |
The set of subposets of this poset. 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_handle & | operator= (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_state & | table () 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_handle * | new_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_factory & | factory () |
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 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... | |
The lattice of closed cells of a cellular space; a lattice representation of a computational mesh.
Definition at line 84 of file base_space_poset.h.
The type of row dof tuple for this.
Definition at line 107 of file base_space_poset.h.
The type of table dof tuple for this.
Definition at line 102 of file base_space_poset.h.
|
protected |
Default constructor; creates a new base_space_poset handle not attached to any state.
Definition at line 138 of file base_space_poset.cc.
References ~base_space_poset().
Referenced by new_table().
|
inlineprotected |
Copy constructor; disabled.
Definition at line 135 of file base_space_poset.h.
References sheaf::refinable_poset::new_member().
|
protectedvirtual |
Destructor.
Definition at line 152 of file base_space_poset.cc.
References contains_zone_id_space(), and sheaf::factory< T >::insert_prototype().
Referenced by base_space_poset().
|
protectedvirtual |
Initializes the handle data members when this handle is attached to a state.
Reimplemented from sheaf::poset_state_handle.
Definition at line 1650 of file base_space_poset.cc.
References new_member().
Referenced by class_name().
sheaf::subposet & fiber_bundle::base_space_poset::block_vertices | ( | ) |
The subposet containing the vertices associated with blocks (mutable version).
Definition at line 1928 of file base_space_poset.cc.
Referenced by blocks_name().
const sheaf::subposet & fiber_bundle::base_space_poset::block_vertices | ( | ) | const |
The subposet containing the vertices associated with blocks (const version).
Definition at line 1945 of file base_space_poset.cc.
References block_vertices_name().
|
static |
The name of the block vertices subposet.
Definition at line 1962 of file base_space_poset.cc.
References vertices().
Referenced by block_vertices().
sheaf::subposet & fiber_bundle::base_space_poset::blocks | ( | ) |
The subposet containing all the blocks, const ver (mutable version).
Definition at line 1876 of file base_space_poset.cc.
Referenced by fiber_bundle::unstructured_block_builder::build_block_decomposition(), and new_member().
const sheaf::subposet & fiber_bundle::base_space_poset::blocks | ( | ) | const |
The subposet containing all the blocks, const ver (const version).
Definition at line 1893 of file base_space_poset.cc.
References blocks_name().
|
static |
The name of the blocks subposet.
Definition at line 1910 of file base_space_poset.cc.
References block_vertices().
Referenced by blocks().
sheaf::subposet & fiber_bundle::base_space_poset::cells | ( | ) |
The subposet containing all the cells, of any dimension.
Definition at line 2166 of file base_space_poset.cc.
Referenced by d_cells_name().
const sheaf::subposet & fiber_bundle::base_space_poset::cells | ( | ) | const |
The subposet containing all the cells, of any dimension.
Definition at line 2183 of file base_space_poset.cc.
References cells_name().
|
static |
The name of the cells subposet.
Definition at line 2200 of file base_space_poset.cc.
References insert_interval_in_standard_subposets().
Referenced by cells().
|
virtual |
The name of this class.
Reimplemented from sheaf::refinable_poset.
Definition at line 1631 of file base_space_poset.cc.
References attach_handle_data_members().
Referenced by type_id().
|
protectedvirtual |
Virtual constructor; creates a new handle of the same actual type as this, attached to the same state as this.
Reimplemented from sheaf::refinable_poset.
Definition at line 2995 of file base_space_poset.cc.
References sheaf::poset_state_handle::is_attached().
Referenced by invariant().
bool fiber_bundle::base_space_poset::contains_adjacency_id_space | ( | pod_index_type | xvertex_id, |
bool | xauto_access | ||
) | const |
True if this poset contains the adjacency for a vertex with id xvertex_id.
Definition at line 1220 of file base_space_poset.cc.
References sheaf::index_space_family::contains_hub(), sheaf::crg_interval::id_spaces(), and fiber_bundle::homogeneous_block_crg_interval::vertices_space_id().
Referenced by fiber_bundle::homogeneous_block::contains_adjacency_id_space(), and release_connectivity_id_space_iterator().
bool fiber_bundle::base_space_poset::contains_adjacency_id_space | ( | const scoped_index & | xvertex_id, |
bool | xauto_access | ||
) | const |
True if this poset contains the adjacency for a vertex with id xvertex_id. synonym for contains_adjacency(xvertex_id.hub_pod(), xauto_access).
Definition at line 1257 of file base_space_poset.cc.
References get_adjacency_id_space(), and sheaf::scoped_index::hub_pod().
bool fiber_bundle::base_space_poset::contains_connectivity_id_space | ( | pod_index_type | xzone_id, |
bool | xauto_access | ||
) | const |
True if this poset contains the connectivity for a zone with id xzone_id.
Definition at line 962 of file base_space_poset.cc.
References sheaf::index_space_family::contains_hub(), sheaf::crg_interval::id_spaces(), and fiber_bundle::homogeneous_block_crg_interval::zones_space_id().
Referenced by fiber_bundle::homogeneous_block::contains_connectivity_id_space(), and release_vertex_client_id_space_iterator().
bool fiber_bundle::base_space_poset::contains_connectivity_id_space | ( | const scoped_index & | xzone_id, |
bool | xauto_access | ||
) | const |
True if this poset contains the connectivity for a zone with id xzone_id. synonym for contains_connectivity(xzone_id.hub_pod(), xauto_access).
Definition at line 999 of file base_space_poset.cc.
References get_connectivity_id_space(), and sheaf::scoped_index::hub_pod().
bool fiber_bundle::base_space_poset::contains_vertex_client_id_space | ( | pod_index_type | xmbr_id, |
bool | xauto_access | ||
) | const |
True, if and only if the block containing the member with index xmbr_id has a vertex client id space.
Definition at line 707 of file base_space_poset.cc.
References fiber_bundle::zone_nodes_block_crg_interval::vertex_client_id_space_initialized().
Referenced by fiber_bundle::zone_nodes_block::contains_vertex_client_id_space(), and release_vertex_id_space_iterator().
bool fiber_bundle::base_space_poset::contains_vertex_client_id_space | ( | const scoped_index & | xmbr_id, |
bool | xauto_access | ||
) | const |
True, if and only if the block containing the member with index xmbr_id has a vertex client id space. synonym for contains_vertex_client_id_space(xmbr_id.hub_pod()).
Definition at line 742 of file base_space_poset.cc.
References get_vertex_client_id_space(), and sheaf::scoped_index::hub_pod().
bool fiber_bundle::base_space_poset::contains_vertex_id_space | ( | pod_index_type | xmbr_id, |
bool | xauto_access | ||
) | const |
True, if and only if the block containing the member with index xmbr_id has a vertex id space.
Definition at line 453 of file base_space_poset.cc.
References fiber_bundle::homogeneous_block_crg_interval::vertices_initialized().
Referenced by fiber_bundle::homogeneous_block::contains_vertex_id_space(), and release_zone_id_space_iterator().
bool fiber_bundle::base_space_poset::contains_vertex_id_space | ( | const scoped_index & | xmbr_id, |
bool | xauto_access | ||
) | const |
True, if and only if the block containing the member with index xmbr_id has a vertex id space. synonym for contains_vertex_id_space(xmbr_id.hub_pod()).
Definition at line 488 of file base_space_poset.cc.
References get_vertex_id_space(), and sheaf::scoped_index::hub_pod().
bool fiber_bundle::base_space_poset::contains_zone_id_space | ( | pod_index_type | xmbr_id, |
bool | xauto_access | ||
) | const |
True, if and only if the block containing the member with index xmbr_id has a zone id space.
Definition at line 199 of file base_space_poset.cc.
References fiber_bundle::homogeneous_block_crg_interval::zones_initialized().
Referenced by fiber_bundle::homogeneous_block::contains_zone_id_space(), and ~base_space_poset().
bool fiber_bundle::base_space_poset::contains_zone_id_space | ( | const scoped_index & | xmbr_id, |
bool | xauto_access | ||
) | const |
True, if and only if the block containing the member with index xmbr_id has a zone id space. synonym for contains_zone_id_space(xmbr_id.hub_pod()).
Definition at line 234 of file base_space_poset.cc.
References get_zone_id_space(), and sheaf::scoped_index::hub_pod().
sheaf::subposet & fiber_bundle::base_space_poset::d_cells | ( | int | xd | ) |
The subposet containing the cells of dimension xd (mutable version).
Definition at line 2048 of file base_space_poset.cc.
Referenced by elements(), fiber_bundle::point_block_crg_interval::initialize_vertices(), fiber_bundle::structured_block_1d_crg_interval::initialize_vertices(), fiber_bundle::structured_block_2d_crg_interval::initialize_vertices(), fiber_bundle::structured_block_3d_crg_interval::initialize_vertices(), fiber_bundle::zone_nodes_block_crg_interval::initialize_vertices(), fiber_bundle::structured_block_1d_crg_interval::initialize_zones(), fiber_bundle::structured_block_2d_crg_interval::initialize_zones(), fiber_bundle::structured_block_3d_crg_interval::initialize_zones(), fiber_bundle::zone_nodes_block_crg_interval::initialize_zones(), and tool::vtk_unstructured_grid_builder::is_tensor().
const sheaf::subposet & fiber_bundle::base_space_poset::d_cells | ( | int | xd | ) | const |
The subposet containing the cells of dimension xd (const version).
Definition at line 2068 of file base_space_poset.cc.
References d_cells_id_space().
sheaf::scattered_insertion_index_space_handle & fiber_bundle::base_space_poset::d_cells_id_space | ( | int | xd | ) |
The id space for the subposet containing the cells of dimension xd (mutable version).
Definition at line 2088 of file base_space_poset.cc.
References sheaf::explicit_index_space_handle::is_attached().
Referenced by d_cells().
const sheaf::scattered_insertion_index_space_handle & fiber_bundle::base_space_poset::d_cells_id_space | ( | int | xd | ) | const |
The id space for the subposet containing the cells of dimension xd (const version).
Definition at line 2110 of file base_space_poset.cc.
References d_cells_name(), and sheaf::explicit_index_space_handle::is_attached().
|
static |
The name of the xdb-cell subposet.
Definition at line 2132 of file base_space_poset.cc.
References cells().
Referenced by d_cells_id_space().
int fiber_bundle::base_space_poset::db | ( | pod_index_type | xmbr_hub_id | ) | const |
The base space dimension of the member with hub id xmbr_hub_id.
Definition at line 2509 of file base_space_poset.cc.
References sheaf::index_space_iterator::hub_pod(), sheaf::index_space_iterator::is_done(), sheaf::LOWER, and sheaf::index_space_iterator::next().
Referenced by fiber_bundle::base_space_member::d_cells_ct(), fields::field_eval_iterator::db(), fiber_bundle::eval_iterator::db(), table_dof_tuple(), fiber_bundle::product_section_space_schema_member::update_row_cache_without_disc_id_space(), and fiber_bundle::section_space_schema_member::update_row_cache_without_disc_id_space().
int fiber_bundle::base_space_poset::db | ( | const scoped_index & | xmbr_id | ) | const |
The base space dimension of the member with id xmbr_id.
Definition at line 2552 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), and type_id().
sheaf::subposet & fiber_bundle::base_space_poset::elements | ( | ) |
The subposet containing the elements or zones, that is, the cells of maximal dimension.
Definition at line 2014 of file base_space_poset.cc.
Referenced by fields::field_refinement_buffer::field_refinement_buffer(), fields::zone_centered_tet_refiner::modify_subposets(), fields::zone_centered_segment_refiner::modify_subposets(), fields::zone_centered_triangle_refiner::modify_subposets(), fields::edge_centered_polygon_refiner::modify_subposets(), fiber_bundle::mesh_partition::part(), and vertices().
const sheaf::subposet & fiber_bundle::base_space_poset::elements | ( | ) | const |
The subposet containing the elements or zones, that is, the cells of maximal dimension.
Definition at line 2031 of file base_space_poset.cc.
References d_cells().
sheaf::index_space_handle & fiber_bundle::base_space_poset::get_adjacency_id_space | ( | pod_index_type | xvertex_id, |
bool | xauto_access | ||
) | const |
Allocates an id space handle from the adjacency handle pool attached to the adjacency id space state for vertex with id xvertex_id.
Definition at line 1279 of file base_space_poset.cc.
References fiber_bundle::homogeneous_block_crg_interval::adjacency_space_id(), sheaf::index_space_family::get_id_space(), sheaf::index_space_handle::id_spaces(), and sheaf::index_space_handle::is_attached().
Referenced by contains_adjacency_id_space(), and fiber_bundle::homogeneous_block::get_adjacency_id_space().
sheaf::index_space_handle & fiber_bundle::base_space_poset::get_adjacency_id_space | ( | const scoped_index & | xvertex_id, |
bool | xauto_access | ||
) | const |
Allocates an id space handle from the adjacency handle pool attached to the adjacency id space state for vertex with id xvertex_id. synonym for get_adjacency_id_space(vertex_id_space().pod(xvertex_id)).
Definition at line 1317 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::index_space_handle::is_attached(), and release_adjacency_id_space().
sheaf::index_space_iterator & fiber_bundle::base_space_poset::get_adjacency_id_space_iterator | ( | pod_index_type | xvertex_id, |
bool | xauto_access | ||
) | const |
Allocates an id space iterator from the adjacency iterator pool attached to the adjacency id space state for vertex with id xvertex_id.
Definition at line 1373 of file base_space_poset.cc.
References fiber_bundle::homogeneous_block_crg_interval::adjacency_space_id(), sheaf::index_space_family::get_id_space_iterator(), sheaf::index_space_iterator::id_spaces(), and sheaf::index_space_iterator::is_attached().
Referenced by fiber_bundle::homogeneous_block::get_adjacency_id_space_iterator(), and release_adjacency_id_space().
sheaf::index_space_iterator & fiber_bundle::base_space_poset::get_adjacency_id_space_iterator | ( | const scoped_index & | xvertex_id, |
bool | xauto_access | ||
) | const |
Allocates an id space iterator from the adjacency iterator pool attached to the adjacency id space state for vertex with id xvertex_id. synonym for get_connecitivity_iterator(vertex_id_space().pod(xvertex_id)).
Definition at line 1411 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::index_space_iterator::is_attached(), and release_adjacency_id_space_iterator().
sheaf::index_space_handle & fiber_bundle::base_space_poset::get_connectivity_id_space | ( | pod_index_type | xzone_id, |
bool | xauto_access | ||
) | const |
Allocates an id space handle from the connectivity handle pool attached to the connectivity id space state for zone with id xzone_id.
Definition at line 1021 of file base_space_poset.cc.
References fiber_bundle::homogeneous_block_crg_interval::connectivity_space_id(), sheaf::index_space_family::get_id_space(), sheaf::index_space_handle::id_spaces(), and sheaf::index_space_handle::is_attached().
Referenced by contains_connectivity_id_space(), and fiber_bundle::homogeneous_block::get_connectivity_id_space().
sheaf::index_space_handle & fiber_bundle::base_space_poset::get_connectivity_id_space | ( | const scoped_index & | xzone_id, |
bool | xauto_access | ||
) | const |
Allocates an id space handle from the connectivity handle pool attached to the connectivity id space state for zone with id xzone_id. synonym for get_connectivity_id_space(zone_id_space().pod(xzone_id)).
Definition at line 1059 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::index_space_handle::is_attached(), and release_connectivity_id_space().
sheaf::index_space_iterator & fiber_bundle::base_space_poset::get_connectivity_id_space_iterator | ( | pod_index_type | xzone_id, |
bool | xauto_access | ||
) | const |
Allocates an id space iterator from the connectivity iterator pool attached to the connectivity id space state for zone with id xzone_id.
Definition at line 1115 of file base_space_poset.cc.
References fiber_bundle::homogeneous_block_crg_interval::connectivity_space_id(), sheaf::index_space_family::get_id_space_iterator(), sheaf::index_space_iterator::id_spaces(), and sheaf::index_space_iterator::is_attached().
Referenced by fiber_bundle::homogeneous_block::get_connectivity_id_space_iterator(), and release_connectivity_id_space().
sheaf::index_space_iterator & fiber_bundle::base_space_poset::get_connectivity_id_space_iterator | ( | const scoped_index & | xzone_id, |
bool | xauto_access | ||
) | const |
Allocates an id space iterator from the connectivity iterator pool attached to the connectivity id space state for zone with id xzone_id. synonym for get_connecitivity_iterator(zone_id_space().pod(xzone_id)).
Definition at line 1153 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::index_space_iterator::is_attached(), and release_connectivity_id_space_iterator().
sheaf::index_space_handle & fiber_bundle::base_space_poset::get_vertex_client_id_space | ( | pod_index_type | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an vertex client id space handle for the block containing the member with index xmbr_id for the pool of id spaces.
Definition at line 764 of file base_space_poset.cc.
References sheaf::index_space_family::get_id_space(), sheaf::index_space_handle::id_spaces(), sheaf::index_space_handle::is_attached(), and fiber_bundle::zone_nodes_block_crg_interval::vertex_client_space_id().
Referenced by contains_vertex_client_id_space(), and fiber_bundle::zone_nodes_block::get_vertex_client_id_space().
sheaf::index_space_handle & fiber_bundle::base_space_poset::get_vertex_client_id_space | ( | const scoped_index & | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an vertex client id space handle for the block containing the member with index xmbr_id for the pool of id spaces. synonym for get_vertex_client_id_space(xmbr_id.hub_pod()).
Definition at line 801 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::index_space_handle::is_attached(), and release_vertex_client_id_space().
sheaf::index_space_iterator & fiber_bundle::base_space_poset::get_vertex_client_id_space_iterator | ( | pod_index_type | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an vertex client id space iterator for the block containing the member with index xmbr_id for the pool of id spaces.
Definition at line 857 of file base_space_poset.cc.
References sheaf::index_space_family::get_id_space_iterator(), sheaf::index_space_iterator::id_spaces(), sheaf::index_space_iterator::is_attached(), and fiber_bundle::zone_nodes_block_crg_interval::vertex_client_space_id().
Referenced by fiber_bundle::zone_nodes_block::get_vertex_client_id_space_iterator(), and release_vertex_client_id_space().
sheaf::index_space_iterator & fiber_bundle::base_space_poset::get_vertex_client_id_space_iterator | ( | const scoped_index & | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an vertex client id space iterator for the block containing the member with index xmbr_id for the pool of id spaces. synonym for get_vertex_client_id_space_iterator(xmbr_id.hub_pod()).
Definition at line 894 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::index_space_iterator::is_attached(), and release_vertex_client_id_space_iterator().
sheaf::index_space_handle & fiber_bundle::base_space_poset::get_vertex_id_space | ( | pod_index_type | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an vertex id space handle for the block containing the member with index xmbr_id for the pool of id spaces.
Definition at line 510 of file base_space_poset.cc.
References sheaf::index_space_family::get_id_space(), sheaf::index_space_handle::id_spaces(), sheaf::index_space_handle::is_attached(), and fiber_bundle::homogeneous_block_crg_interval::vertices_space_id().
Referenced by contains_vertex_id_space(), and fiber_bundle::homogeneous_block::get_vertex_id_space().
sheaf::index_space_handle & fiber_bundle::base_space_poset::get_vertex_id_space | ( | const scoped_index & | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an vertex id space handle for the block containing the member with index xmbr_id for the pool of id spaces. synonym for get_vertex_id_space(xmbr_id.hub_pod()).
Definition at line 547 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::index_space_handle::is_attached(), and release_vertex_id_space().
sheaf::index_space_iterator & fiber_bundle::base_space_poset::get_vertex_id_space_iterator | ( | pod_index_type | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an vertex id space iterator for the block containing the member with index xmbr_id for the pool of id spaces.
Definition at line 603 of file base_space_poset.cc.
References sheaf::index_space_family::get_id_space_iterator(), sheaf::index_space_iterator::id_spaces(), sheaf::index_space_iterator::is_attached(), and fiber_bundle::homogeneous_block_crg_interval::vertices_space_id().
Referenced by fiber_bundle::homogeneous_block::get_vertex_id_space_iterator(), and release_vertex_id_space().
sheaf::index_space_iterator & fiber_bundle::base_space_poset::get_vertex_id_space_iterator | ( | const scoped_index & | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an vertex id space iterator for the block containing the member with index xmbr_id for the pool of id spaces. synonym for get_vertex_id_space_iterator(xmbr_id.hub_pod()).
Definition at line 640 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::index_space_iterator::is_attached(), and release_vertex_id_space_iterator().
sheaf::index_space_handle & fiber_bundle::base_space_poset::get_zone_id_space | ( | pod_index_type | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an zone id space handle for the block containing the member with index xmbr_id from the pool of handles.
Definition at line 256 of file base_space_poset.cc.
References sheaf::index_space_family::get_id_space(), sheaf::index_space_handle::id_spaces(), sheaf::index_space_handle::is_attached(), and fiber_bundle::homogeneous_block_crg_interval::zones_space_id().
Referenced by contains_zone_id_space(), and fiber_bundle::homogeneous_block::get_zone_id_space().
sheaf::index_space_handle & fiber_bundle::base_space_poset::get_zone_id_space | ( | const scoped_index & | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an zone id space handle for the block containing the member with index xmbr_id from the pool of handles. synonym for get_zone_id_space(xmbr_id.hub_pod()).
Definition at line 293 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::index_space_handle::is_attached(), and release_zone_id_space().
sheaf::index_space_iterator & fiber_bundle::base_space_poset::get_zone_id_space_iterator | ( | pod_index_type | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an zone id space iterator for the block containing the member with index xmbr_id for the pool of id spaces.
Definition at line 349 of file base_space_poset.cc.
References sheaf::index_space_family::get_id_space_iterator(), sheaf::index_space_iterator::id_spaces(), sheaf::index_space_iterator::is_attached(), and fiber_bundle::homogeneous_block_crg_interval::zones_space_id().
Referenced by fiber_bundle::homogeneous_block::get_zone_id_space_iterator(), and release_zone_id_space().
sheaf::index_space_iterator & fiber_bundle::base_space_poset::get_zone_id_space_iterator | ( | const scoped_index & | xmbr_id, |
bool | xauto_access | ||
) | const |
Allocates an zone id space iterator for the block containing the member with index xmbr_id for the pool of id spaces. synonym for get_zone_id_space_iterator(xmbr_id.hub_pod()).
Definition at line 386 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::index_space_iterator::is_attached(), and release_zone_id_space_iterator().
|
protectedvirtual |
Creates the subposets common to every poset (i.e._whole and _jims).
Reimplemented from sheaf::poset_state_handle.
Definition at line 2297 of file base_space_poset.cc.
References max_db().
Referenced by insert_interval_in_standard_subposets().
void fiber_bundle::base_space_poset::insert_interval_in_standard_subposets | ( | base_space_crg_interval & | xinterval | ) |
Inserts interval xinterval into the standard subposets.
Definition at line 2218 of file base_space_poset.cc.
References fiber_bundle::base_space_crg_interval::block_vertices_space_id(), fiber_bundle::base_space_crg_interval::cells_begin(), fiber_bundle::base_space_crg_interval::cells_end(), fiber_bundle::base_space_crg_interval::d_cells_space_id(), fiber_bundle::base_space_crg_interval::db(), sheaf::index_space_iterator::hub_pod(), sheaf::subposet::id_space(), initialize_standard_subposets(), sheaf::subposet::insert_member(), sheaf::implicit_crg_interval::interval_member(), sheaf::index_space_iterator::is_done(), sheaf::is_valid(), sheaf::index_space_iterator::next(), and sheaf::gathered_insertion_index_space_handle::push_back().
Referenced by cells_name().
|
virtual |
Class invariant.
Reimplemented from sheaf::refinable_poset.
Definition at line 2971 of file base_space_poset.cc.
References clone().
Referenced by is_ancestor_of().
|
virtual |
True if other conforms to this.
Reimplemented from sheaf::refinable_poset.
Definition at line 2952 of file base_space_poset.cc.
References invariant().
Referenced by is_block_member().
bool fiber_bundle::base_space_poset::is_block_member | ( | pod_index_type | xmbr_id | ) | const |
True if the member with hub id xmbr_id is a block member.
Definition at line 2922 of file base_space_poset.cc.
References is_ancestor_of(), and sheaf::implicit_crg_interval::is_interval_member().
Referenced by is_explicit_member().
bool fiber_bundle::base_space_poset::is_explicit_member | ( | pod_index_type | xmbr_id | ) | const |
True if the member with hub id xmbr_id is an explicit member.
Definition at line 2905 of file base_space_poset.cc.
References is_block_member().
Referenced by new_row_dof_map().
int fiber_bundle::base_space_poset::max_db | ( | ) | const |
The maximum dimension of the members of this base space.
Definition at line 2387 of file base_space_poset.cc.
References put_max_db().
Referenced by fields::base_space_map::base_space_map(), fiber_bundle::base_space_member::d_cells_ct(), initialize_standard_subposets(), tool::vtk_unstructured_grid_builder::is_tensor(), fiber_bundle::homogeneous_block::new_host(), fiber_bundle::structured_block::new_host(), fiber_bundle::unstructured_block::new_host(), fiber_bundle::point_block_2d::new_host(), fiber_bundle::zone_nodes_block::new_host(), fiber_bundle::point_block_3d::new_host(), fiber_bundle::point_block_1d::new_host(), fiber_bundle::structured_block_3d::new_host(), fiber_bundle::structured_block_2d::new_host(), fiber_bundle::structured_block_1d::new_host(), fiber_bundle::base_space_member::new_host(), fiber_bundle::unstructured_block::new_state(), new_table(), fiber_bundle::unstructured_block::standard_host(), fiber_bundle::point_block_3d::standard_host(), fiber_bundle::point_block_2d::standard_host(), fiber_bundle::point_block_1d::standard_host(), fiber_bundle::zone_nodes_block::standard_host(), fiber_bundle::structured_block_3d::standard_host(), fiber_bundle::structured_block_2d::standard_host(), fiber_bundle::structured_block_1d::standard_host(), and fiber_bundle::base_space_member::standard_host().
fiber_bundle::base_space_poset::row_dof_tuple_type * fiber_bundle::base_space_poset::member_dof_tuple | ( | pod_index_type | xmbr_hub_id, |
bool | xrequire_write_access = false |
||
) | const |
The row dof tuple for the member with member hub id xmbr_hub_id.
Definition at line 2733 of file base_space_poset.cc.
Referenced by fiber_bundle::sec_e1_uniform::inc_x(), fiber_bundle::sec_e2_uniform::inc_x(), fiber_bundle::sec_e3_uniform::inc_x(), fiber_bundle::sec_e2_uniform::inc_y(), fiber_bundle::sec_e3_uniform::inc_y(), fiber_bundle::sec_e3_uniform::inc_z(), put_refinement_depth(), fiber_bundle::product_section_space_schema_member::update_row_cache_with_disc_id_space(), and fiber_bundle::section_space_schema_member::update_row_cache_with_disc_id_space().
fiber_bundle::base_space_poset::row_dof_tuple_type * fiber_bundle::base_space_poset::member_dof_tuple | ( | const scoped_index & | xmbr_id, |
bool | xrequire_write_access = false |
||
) | const |
The row dof tuple for the member with member id xmbr_id.
Definition at line 2761 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), and row_dof_tuple().
sheaf::pod_index_type fiber_bundle::base_space_poset::new_member | ( | const std::string & | xprototype_name, |
bool | xcopy_dof_map | ||
) |
Creates a disconnected jim using the prototype with name xprototype_name. If xcopy_dof_map or if xhost does not already contain a copy of the prototype dof map, create a copy of the dof map, otherwise just refer to an existing copy.
Definition at line 1697 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), sheaf::LOWER, and sheaf::UPPER.
Referenced by attach_handle_data_members(), fiber_bundle::base_space_member::base_space_member(), fields::local_field_refiner::create_vertex(), fields::local_field_refiner::create_zone(), and new_member().
sheaf::pod_index_type fiber_bundle::base_space_poset::new_member | ( | const char * | xprototype_name, |
bool | xcopy_dof_map | ||
) |
Synonym for new_member(const std::string& xprototype_name, bool xcopy_dof_map), provided only to eliminate ambiguity with refinable_poset::new_member(bool, pod_index_type) when xprototype_name is provided as a string literal.
Definition at line 1740 of file base_space_poset.cc.
References new_member().
sheaf::pod_index_type fiber_bundle::base_space_poset::new_member | ( | const std::string & | xtype_name, |
int | xdb, | ||
const std::string & | xlocal_cell_name | ||
) |
Creates a new jim and initializes it for use as a prototype with type name xtype_name, dimension xdb, and local cell prototype xlocal_cell_name.
Definition at line 1766 of file base_space_poset.cc.
References blocks(), fiber_bundle::base_space_member_row_dof_tuple_type::db, sheaf::poset_component::detach_from_state(), sheaf::explicit_index_space_handle::get_id_space(), fiber_bundle::base_space_member_row_dof_tuple_type::i_size, sheaf::invalid_pod_index(), fiber_bundle::base_space_member_row_dof_tuple_type::j_size, fiber_bundle::base_space_member_row_dof_tuple_type::k_size, fiber_bundle::base_space_member_row_dof_tuple_type::local_cell_type_id, fiber_bundle::base_space_member_row_dof_tuple_type::local_cell_type_name, sheaf::LOWER, sheaf::explicit_index_space_handle::pod(), sheaf::gathered_insertion_index_space_handle::push_back(), fiber_bundle::base_space_member_row_dof_tuple_type::refinement_depth, sheaf::explicit_index_space_handle::release_id_space(), fiber_bundle::base_space_member_row_dof_tuple_type::size, fiber_bundle::base_space_member_row_dof_tuple_type::type_id, fiber_bundle::base_space_member::type_id(), fiber_bundle::base_space_member_row_dof_tuple_type::type_name, fiber_bundle::base_space_member::type_name(), and sheaf::UPPER.
const sheaf::scoped_index & fiber_bundle::base_space_poset::new_row_dof_map | ( | const std::string & | xprototype_name | ) |
Creates a new dof map with dofs equal to those of the prototype with name xprototype_name.
Definition at line 2841 of file base_space_poset.cc.
References fiber_bundle::base_space_member_row_dof_tuple_type::db, sheaf::poset_component::get_read_access(), fiber_bundle::base_space_member_row_dof_tuple_type::i_size, is_explicit_member(), fiber_bundle::base_space_member_row_dof_tuple_type::j_size, fiber_bundle::base_space_member_row_dof_tuple_type::k_size, fiber_bundle::base_space_member_row_dof_tuple_type::local_cell_type_id, fiber_bundle::base_space_member_row_dof_tuple_type::local_cell_type_name, sheaf::scoped_index::pod(), fiber_bundle::base_space_member_row_dof_tuple_type::refinement_depth, sheaf::poset_component::release_access(), fiber_bundle::base_space_member::row_dof_tuple(), fiber_bundle::base_space_member_row_dof_tuple_type::size, fiber_bundle::base_space_member_row_dof_tuple_type::type_id, and fiber_bundle::base_space_member_row_dof_tuple_type::type_name.
Referenced by prototype_dof_tuple_id().
|
static |
Creates a new base_space_poset in namespace xns with path xpath, schema specified by xschema_path, and table attribute max_db specified by xmax_db..
Definition at line 68 of file base_space_poset.cc.
References base_space_poset(), sheaf::namespace_poset::contains_path(), sheaf::poset_path::empty(), sheaf::poset_path::full(), sheaf::poset_component::get_read_access(), max_db(), sheaf::namespace_poset::owns(), sheaf::poset_component::path(), sheaf::poset_state_handle::path(), sheaf::namespace_poset::path_is_auto_read_accessible(), sheaf::array_poset_dof_map::put_dof(), sheaf::poset_component::release_access(), sheaf::poset_state_handle::schema(), sheaf::read_write_monitor_handle::state_is_auto_read_write_accessible(), and sheaf::read_write_monitor_handle::state_is_not_read_accessible().
Referenced by standard_schema_path().
|
inlineprotected |
Assignment operator; disabled.
Definition at line 920 of file base_space_poset.h.
sheaf::scoped_index fiber_bundle::base_space_poset::prototype_dof_tuple_id | ( | const std::string & | xname, |
int | xdepth, | ||
bool | xcreate, | ||
bool | xauto_access | ||
) | const |
The dof tuple id in this of the base space member prototype with name xname and refinememnt_depth xdepth. If xcreate, create the dof tuple if it doesn't already exist.
Definition at line 1546 of file base_space_poset.cc.
References sheaf::poset_state_handle::get_read_write_access(), sheaf::scoped_index::is_valid(), new_row_dof_map(), fiber_bundle::base_space_member_row_dof_tuple_type::refinement_depth, type_id(), and fiber_bundle::base_space_member_row_dof_tuple_type::type_name.
Referenced by fields::local_field_refiner::create_vertex(), fields::local_field_refiner::create_zone(), and prototype_type_id().
sheaf::pod_index_type fiber_bundle::base_space_poset::prototype_type_id | ( | const std::string & | xname, |
bool | xauto_access = true |
||
) | const |
The type id of the base space member prototype with name xname.
Definition at line 1498 of file base_space_poset.cc.
References sheaf::poset_component::detach_from_state(), sheaf::poset_state_handle::get_read_access(), prototype_dof_tuple_id(), sheaf::poset_state_handle::release_access(), and fiber_bundle::base_space_member::type_id().
Referenced by fields::zone_centered_refiner_family::initialize(), fields::barycentric_refiner_family::initialize(), fields::edge_centered_refiner_family::initialize(), fields::field_eval_iterator::initialize_discretization_order_correction(), and prototypes_poset_name().
|
static |
The name of the prototypes poset; a synonym for bsae_space_member::prototypes_poset_name().
Definition at line 1478 of file base_space_poset.cc.
References prototype_type_id().
Referenced by release_adjacency_id_space_iterator().
void fiber_bundle::base_space_poset::put_max_db | ( | int | xmax_db | ) |
Sets max_db() to xmax_db.
Definition at line 2408 of file base_space_poset.cc.
References update_max_db().
Referenced by max_db().
void fiber_bundle::base_space_poset::put_refinement_depth | ( | pod_index_type | xmbr_hub_id, |
int | xdepth | ||
) |
Sets the refinement depth of the member with hub id xmbr_hub_id to xdepth.
Definition at line 2689 of file base_space_poset.cc.
Referenced by refinement_depth().
void fiber_bundle::base_space_poset::put_refinement_depth | ( | const scoped_index & | xmbr_id, |
int | xdepth | ||
) |
Sets the refinement depth of the member with id xmbr_id to xdepth.
Definition at line 2711 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), and member_dof_tuple().
int fiber_bundle::base_space_poset::refinement_depth | ( | pod_index_type | xmbr_hub_id | ) | const |
The refinement depth of the member with hub id xmbr_hub_id.
Definition at line 2655 of file base_space_poset.cc.
Referenced by fields::edge_centered_polygon_refiner::create_edge_center(), fields::local_field_refiner::create_vertex(), fields::edge_centered_triangle_refiner::modify_crg(), fields::field_eval_iterator::next(), and type_name().
int fiber_bundle::base_space_poset::refinement_depth | ( | const scoped_index & | xmbr_id | ) | const |
The refinement depth of the member with id xmbr_id.
Definition at line 2675 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), and put_refinement_depth().
void fiber_bundle::base_space_poset::release_adjacency_id_space | ( | index_space_handle & | xid_space, |
bool | xauto_access | ||
) | const |
Returns the id space handle xid_space to the adjacency handle pool.
Definition at line 1341 of file base_space_poset.cc.
References get_adjacency_id_space_iterator(), and sheaf::index_space_handle::is_attached().
Referenced by get_adjacency_id_space(), and fiber_bundle::homogeneous_block::release_adjacency_id_space().
void fiber_bundle::base_space_poset::release_adjacency_id_space_iterator | ( | index_space_iterator & | xid_space, |
bool | xauto_access | ||
) | const |
Returns the id space iterator xid_space to the adjacency iterator pool.
Definition at line 1435 of file base_space_poset.cc.
References sheaf::index_space_iterator::is_attached(), and prototypes_poset_name().
Referenced by get_adjacency_id_space_iterator(), and fiber_bundle::homogeneous_block::release_adjacency_id_space_iterator().
void fiber_bundle::base_space_poset::release_connectivity_id_space | ( | index_space_handle & | xid_space, |
bool | xauto_access | ||
) | const |
Returns the id space handle xid_space to the connectivity handle pool.
Definition at line 1083 of file base_space_poset.cc.
References get_connectivity_id_space_iterator(), and sheaf::index_space_handle::is_attached().
Referenced by get_connectivity_id_space(), and fiber_bundle::homogeneous_block::release_connectivity_id_space().
void fiber_bundle::base_space_poset::release_connectivity_id_space_iterator | ( | index_space_iterator & | xid_space, |
bool | xauto_access | ||
) | const |
Returns the id space iterator xid_space to the connectivity iterator pool.
Definition at line 1177 of file base_space_poset.cc.
References contains_adjacency_id_space(), and sheaf::index_space_iterator::is_attached().
Referenced by get_connectivity_id_space_iterator(), and fiber_bundle::homogeneous_block::release_connectivity_id_space_iterator().
void fiber_bundle::base_space_poset::release_vertex_client_id_space | ( | index_space_handle & | xid_space, |
bool | xauto_access | ||
) | const |
Returns the handle to the vertex client id space, xid_space to the pool of id space handles.
Definition at line 825 of file base_space_poset.cc.
References get_vertex_client_id_space_iterator(), and sheaf::index_space_handle::is_attached().
Referenced by get_vertex_client_id_space(), and fiber_bundle::zone_nodes_block::release_vertex_client_id_space().
void fiber_bundle::base_space_poset::release_vertex_client_id_space_iterator | ( | index_space_iterator & | xitr, |
bool | xauto_access | ||
) | const |
Returns the iterator to the vertex client id space, xitr to the pool of id space iterators.
Definition at line 918 of file base_space_poset.cc.
References contains_connectivity_id_space(), and sheaf::index_space_iterator::is_attached().
Referenced by get_vertex_client_id_space_iterator(), and fiber_bundle::zone_nodes_block::release_vertex_client_id_space_iterator().
void fiber_bundle::base_space_poset::release_vertex_id_space | ( | index_space_handle & | xid_space, |
bool | xauto_access | ||
) | const |
Returns the handle to the vertex id space, xid_space to the pool of id space handles.
Definition at line 571 of file base_space_poset.cc.
References get_vertex_id_space_iterator(), and sheaf::index_space_handle::is_attached().
Referenced by get_vertex_id_space(), and fiber_bundle::homogeneous_block::release_vertex_id_space().
void fiber_bundle::base_space_poset::release_vertex_id_space_iterator | ( | index_space_iterator & | xitr, |
bool | xauto_access | ||
) | const |
Returns the iterator to the vertex id space, xitr to the pool of id space iterators.
Definition at line 664 of file base_space_poset.cc.
References contains_vertex_client_id_space(), and sheaf::index_space_iterator::is_attached().
Referenced by get_vertex_id_space_iterator(), and fiber_bundle::homogeneous_block::release_vertex_id_space_iterator().
void fiber_bundle::base_space_poset::release_zone_id_space | ( | index_space_handle & | xid_space, |
bool | xauto_access | ||
) | const |
Returns the handle to the zone id space, xid_space to the pool of id space handles.
Definition at line 317 of file base_space_poset.cc.
References get_zone_id_space_iterator(), and sheaf::index_space_handle::is_attached().
Referenced by get_zone_id_space(), and fiber_bundle::homogeneous_block::release_zone_id_space().
void fiber_bundle::base_space_poset::release_zone_id_space_iterator | ( | index_space_iterator & | xitr, |
bool | xauto_access | ||
) | const |
Returns the iterator to the zone id space, xitr to the pool of id space iterators.
Definition at line 410 of file base_space_poset.cc.
References contains_vertex_id_space(), and sheaf::index_space_iterator::is_attached().
Referenced by get_zone_id_space_iterator(), and fiber_bundle::homogeneous_block::release_zone_id_space_iterator().
fiber_bundle::base_space_poset::row_dof_tuple_type * fiber_bundle::base_space_poset::row_dof_tuple | ( | pod_index_type | xtuple_hub_id, |
bool | xrequire_write_access = false |
||
) | const |
The row dof tuple with tuple hub id xtuple_hub_id.
Definition at line 2788 of file base_space_poset.cc.
References sheaf::poset_dof_map::dof_tuple().
Referenced by member_dof_tuple(), and fiber_bundle::eval_iterator::next().
fiber_bundle::base_space_poset::row_dof_tuple_type * fiber_bundle::base_space_poset::row_dof_tuple | ( | const scoped_index & | xtuple_id, |
bool | xrequire_write_access = false |
||
) | const |
The row dof tuple with tuple id xtuple_id.
Definition at line 2815 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), and sheaf::poset_state_handle::new_row_dof_map().
|
static |
The path to the standard schema for this class.
Definition at line 48 of file base_space_poset.cc.
References sheaf::poset_path::full(), and new_table().
const fiber_bundle::base_space_poset::table_dof_tuple_type * fiber_bundle::base_space_poset::table_dof_tuple | ( | ) | const |
The table dof tuple for this (const version).
Definition at line 2456 of file base_space_poset.cc.
Referenced by update_max_db().
fiber_bundle::base_space_poset::table_dof_tuple_type * fiber_bundle::base_space_poset::table_dof_tuple | ( | ) |
The table dof tuple for this (mutable version).
Definition at line 2477 of file base_space_poset.cc.
References db().
|
virtual |
Identifier for the type of this poset.
Reimplemented from sheaf::refinable_poset.
Definition at line 1624 of file base_space_poset.cc.
References class_name().
Referenced by db(), prototype_dof_tuple_id(), fields::field_eval_iterator::type_id(), fiber_bundle::eval_iterator::type_id(), and type_id().
sheaf::pod_index_type fiber_bundle::base_space_poset::type_id | ( | pod_index_type | xmbr_hub_id | ) | const |
The type id of the member with hub id xmbr_hub_id.
Definition at line 2577 of file base_space_poset.cc.
References type_id().
sheaf::pod_index_type fiber_bundle::base_space_poset::type_id | ( | const scoped_index & | xmbr_id | ) | const |
The type id of the member with id xmbr_id.
Definition at line 2597 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), and type_name().
std::string fiber_bundle::base_space_poset::type_name | ( | pod_index_type | xmbr_hub_id | ) | const |
The type id of the member with hub id xmbr_hub_id.
Definition at line 2611 of file base_space_poset.cc.
Referenced by fields::local_field_refiner::create_vertex(), geometry::array_cylindrical_point_locator::is_dlinear_quads(), geometry::array_cylindrical_point_locator::is_dlinear_triangles(), type_id(), and fields::field_eval_iterator::type_name().
std::string fiber_bundle::base_space_poset::type_name | ( | const scoped_index & | xmbr_id | ) | const |
The type id of the member with id xmbr_id.
Definition at line 2633 of file base_space_poset.cc.
References sheaf::scoped_index::hub_pod(), and refinement_depth().
void fiber_bundle::base_space_poset::update_max_db | ( | int | xmax_db | ) |
Sets max_db() to the larger of old max_db() and xmax_db.
Definition at line 2429 of file base_space_poset.cc.
References table_dof_tuple().
Referenced by fiber_bundle::point_block_1d::new_state(), and put_max_db().
sheaf::subposet & fiber_bundle::base_space_poset::vertices | ( | ) |
The subposet containing all the vertices, that is, the cells of dimension 0 (mutable version).
Definition at line 1980 of file base_space_poset.cc.
Referenced by block_vertices_name(), fields::field_refinement_buffer::field_refinement_buffer(), fiber_bundle::unstructured_block::host_created_with_new_host(), fields::zone_centered_tet_refiner::modify_subposets(), fields::zone_centered_segment_refiner::modify_subposets(), fields::zone_centered_triangle_refiner::modify_subposets(), and fields::edge_centered_polygon_refiner::modify_subposets().
const sheaf::subposet & fiber_bundle::base_space_poset::vertices | ( | ) | const |
The subposet containing all the vertices, that is, the cells of dimension 0 (const version).
Definition at line 1997 of file base_space_poset.cc.
References elements().
|
protected |
The subposet containing the vertices associated with blocks.
Definition at line 698 of file base_space_poset.h.
|
protected |
The subposet containing all the blocks.
Definition at line 693 of file base_space_poset.h.
|
protected |
The subposet containing all the cells.
Definition at line 713 of file base_space_poset.h.
The subposets containing the cells of dimension 0 <= d <= db().
Definition at line 703 of file base_space_poset.h.
|
protected |
The id spaces for the subposets containing the cells of dimension 0 <= d <= db().
Definition at line 708 of file base_space_poset.h.