SheafSystem
0.0.0.0
|
A section of a bundle with fiber type tp. More...
#include <sec_tp.h>
HOST FACTORY FACET OF CLASS SEC_TP | |
typedef sec_tp_space | host_type |
The type of host poset. More... | |
typedef sec_at1 | vector_space_type |
The type of the underlying vector space. More... | |
typedef tp | fiber_type |
The fiber type. More... | |
static host_type & | new_host (namespace_type &xns, const poset_path &xhost_path, const poset_path &xschema_path, const poset_path &xvector_space_path, bool xauto_access) |
Creates a new host table for members of this type. The poset is created in namespace xns with path xhost_path, schema specified by xschema_path, and table attribute vector_space_path specified by xvector_space_path. More... | |
TP FACET OF CLASS SEC_TP | |
static const std::string | create_tensor_space_name (const std::string &xvector_space_name, const std::string &xname) |
Create a standard tensor space name. More... | |
sec_tp () | |
Default constructor. More... | |
sec_tp (const sec_rep_space *xhost, pod_index_type xhub_id) | |
Creates a new sec_tp handle attached to the member state with hub id xhub_id in xhost. More... | |
sec_tp (const sec_rep_space *xhost, const scoped_index &xid) | |
Creates a new sec_tp handle attached to the member state with id xid in xhost. More... | |
sec_tp (const sec_rep_space *xhost, const std::string &xname) | |
Creates a new sec_tp handle attached to the member state with name xname in xhost. More... | |
sec_tp (const namespace_poset *xnamespace, const poset_path &xpath, bool xauto_access=true) | |
Creates a new handle attached to the member state with path xpath in namespace xnamespace. More... | |
sec_tp (sec_rep_space_member *xother) | |
Creates a new sec_tp handle attached to the same state as xother. More... | |
sec_tp (sec_rep_space *xhost, section_dof_map *xdof_map=0, bool xauto_access=true) | |
New handle/new state constructor. More... | |
sec_tp (sec_rep_space *xhost, abstract_poset_member &xbase_mbr, int xbase_version=CURRENT_HOST_VERSION, bool xauto_access=true) | |
Creates a new handle attached to a new jim state which is a partial section defined only on the base space member with index xbase_mbr_index and version xbase_version. More... | |
virtual sec_tp & | operator= (const abstract_poset_member &xother) |
Assignment operator; synonym for attach_to_state(&xother). More... | |
sec_tp & | operator= (const sec_tp &xother) |
Assignment operator; synonym for attach_to_state(&xother). More... | |
sec_tp & | operator= (const tp &xfiber) |
Assignment operator. More... | |
sec_tp & | operator= (const tp_lite &xfiber) |
Assignment operator. More... | |
~sec_tp () | |
Destructor. More... | |
virtual const fiber_type & | fiber_prototype () const |
Virtual constructor for the associated fiber type. More... | |
virtual int | p () const |
The degree of the tensors in host(); the sum of the contravariant and covariant degrees. More... | |
int | p (bool xauto_access) const |
The degree of the tensors in host() (auto-access version). More... | |
virtual int | dd () const |
Dimension of the underlying vector space. More... | |
virtual int | dd (bool xauto_access) const |
Dimension of the underlying vector space (auto-access version). More... | |
poset_path | vector_space_path () const |
The path of the underlying vector space. More... | |
poset_path | vector_space_path (bool xauto_access) const |
The path of the underlying vector space, auto access version. More... | |
virtual sec_tp_space & | vector_space () const |
The underlying vector space. More... | |
virtual sec_tp_space & | vector_space (bool xauto_access) const |
The underlying vector space, auto access version. More... | |
virtual tensor_variance | variance (bool xauto_access) const |
The variance. More... | |
virtual bool | variance (int xi, bool xauto_access) const |
The variance of the xi-th tensor index position; true if covariant, false if contravariant. More... | |
void | put_variance (const tensor_variance &xvariance, bool xauto_access) |
Sets the variance to xvariance. More... | |
void | put_variance (int xi, bool xvariance, bool xauto_access) |
Sets the variance of the xi-th index to xvariance. More... | |
virtual bool | is_covariant (bool xauto_access) const |
True if and only if all tensor index positions are covariant. More... | |
virtual bool | is_covariant (int xi, bool xauto_access) const |
True if and only if the xi-th tensor index position is covariant. More... | |
virtual void | put_is_covariant (bool xauto_access) |
Sets all tensor index positions to covariant. More... | |
void | put_is_covariant (int xi, bool xauto_access) |
Sets the variance of the xi-th tensor index position to covariant. More... | |
virtual bool | is_contravariant (bool xauto_access) const |
True if and only if all tensor index positions are contravariant. More... | |
virtual bool | is_contravariant (int xi, bool xauto_access) const |
True if and only if the xi-th tensor index position is contravariant. More... | |
virtual void | put_is_contravariant (bool xauto_access) |
Sets all tensor index positions to contravariant. More... | |
void | put_is_contravariant (int xi, bool xauto_access) |
Sets the variance of the xi-th tensor index position to contravariant. More... | |
ABSTRACT POSET MEMBER FACET OF CLASS SEC_TP | |
static const std::string & | static_class_name () |
The name of this class. More... | |
virtual const std::string & | class_name () const |
The name of this class. More... | |
virtual sec_tp * | clone () const |
Make a new handle, no state instance of current. More... | |
sec_tp * | clone (bool xnew_state, bool xauto_access=true) const |
Make a new handle instance of current. Attach the new instance to a new state if xnew_state is true. Otherwise, attach the new instance to the current state. More... | |
POSET_COMPONENT FACET | |
host_type * | host () const |
The poset this is a member of. More... | |
virtual bool | host_is_ancestor_of (const poset_state_handle *other) const |
True if other conforms to host. More... | |
ANY FACET OF CLASS SEC_TP | |
bool | fiber_is_ancestor_of (const any *xother) const |
True if xother conforms to an instance of the fiber of current. More... | |
bool | is_ancestor_of (const any *xother) const |
True if xother conforms to current. More... | |
bool | invariant () const |
Class invariant. More... | |
Additional Inherited Members | |
Public Types inherited from fiber_bundle::sec_vd | |
typedef sec_vd_space | host_type |
Typedefs: More... | |
typedef vd | fiber_type |
The fiber type. More... | |
typedef chart_point_coord_type | coord_type |
The type of local coordinate; the scalar type for the local coordinate vector space. More... | |
typedef sec_vd_value_type | value_type |
The type of component in the value; the scalar type in the fiber space. More... | |
typedef sec_vd_dof_type | dof_type |
The type of degree of freedom. More... | |
typedef sec_at0 | scalar_type |
The scalar type in the section space. More... | |
Public Types inherited from fiber_bundle::sec_tuple | |
typedef fiber_bundles_namespace | namespace_type |
The type of namespace for this type of member. More... | |
typedef sec_tuple_space | host_type |
The type of host poset. More... | |
typedef tuple | fiber_type |
The fiber type. More... | |
typedef sec_tuple | scalar_type |
The scalar type definition. More... | |
Public Types inherited from fiber_bundle::sec_rep_space_member | |
typedef binary_section_space_schema_member | schema_type |
The schema type. More... | |
typedef binary_section_space_schema_poset | schema_host_type |
The host type of the schema. More... | |
Public Types inherited from sheaf::abstract_poset_member | |
typedef namespace_poset | namespace_type |
The type of namespace for this type of member. More... | |
typedef poset | host_type |
The type of host poset for this type of member. More... | |
typedef abstract_poset_member_table_dofs_type | table_dofs_type |
The type of the table dofs. More... | |
typedef abstract_poset_member_row_dofs_type | row_dofs_type |
The type of the row dofs. More... | |
Public Member Functions inherited from fiber_bundle::sec_vd | |
sec_vd * | clone (bool xnew_state, bool xauto_access=true) const |
Make a new handle instance of current. Attach the new instance to a new state if xnew_state is true. Otherwise, attach the new instance to the current state. More... | |
sec_vd () | |
Default constructor. More... | |
sec_vd (const sec_rep_space *xhost, pod_index_type xhub_id) | |
Creates a new sec_vd handle attached to the member state with hub id xhub_id in xhost. More... | |
sec_vd (const sec_rep_space *xhost, const scoped_index &xid) | |
Creates a new sec_vd handle attached to the member state with id xid in xhost. More... | |
sec_vd (const sec_rep_space *xhost, const std::string &xname) | |
Creates a new sec_vd handle attached to the member state with name xname in* xhost. More... | |
sec_vd (const namespace_poset *xnamespace, const poset_path &xpath, bool xauto_access=true) | |
Creates a new handle attached to the member state with path xpath in namespace xnamespace. More... | |
sec_vd (sec_rep_space_member *xother) | |
Creates a new sec_vd handle attached to the same state as xother. More... | |
sec_vd (sec_rep_space *xhost, section_dof_map *xdof_map=0, bool xauto_access=true) | |
New handle/new state constructor. More... | |
sec_vd (sec_rep_space *xhost, abstract_poset_member &xbase_mbr, int xbase_version=CURRENT_HOST_VERSION, bool xauto_access=true) | |
Creates a new sec_vd handle attached to a new jim state which is a partial section defined only on the base space member with index xbase_mbr_index and version xbase_version. More... | |
sec_vd & | operator= (const sec_vd &xother) |
Assignment operator; synonym for attach_to_state(&xother). More... | |
sec_vd & | operator= (const vd &xfiber) |
Assignment operator. More... | |
sec_vd & | operator= (const vd_lite &xfiber) |
Assignment operator. More... | |
~sec_vd () | |
Destructor. More... | |
bool | fiber_is_ancestor_of (const any *xother) const |
True if xother conforms to an instance of the fiber of current. More... | |
virtual int | d () const |
The fiber dimension. More... | |
virtual int | d (bool xauto_access) const |
The fiber dimension; auto-access version. More... | |
poset_path | scalar_space_path () const |
The path of the underlying scalar space. More... | |
poset_path | scalar_space_path (bool xauto_access) const |
The path of the underlying scalar space; auto-access version. More... | |
virtual bool | is_vector (bool xauto_access) const |
True if and only if this is a vector (as opposed to a covector). More... | |
virtual void | put_is_vector (bool xauto_access) |
Sets is_vector true. More... | |
virtual bool | is_covector (bool xauto_access) const |
True if and only if this is a covector. More... | |
virtual void | put_is_covector (bool xauto_access) |
Sets is_covector true. More... | |
scalar_type * | comp (int i) const |
Ith component of section. More... | |
void | set_comp (int i, scalar_type *xcomponent) |
Sets ith component of section. More... | |
vd * | value_at_point (const chart_point &xpt, bool xauto_access=true) const |
Value of the field at xpt, auto-allocated version. More... | |
virtual void | value_at_point_pa (const chart_point &xpt, vd &xresult, bool xauto_access=true) const |
Value of the field at xpt, pre-allocated version. More... | |
virtual void | value_at_point_ua (const chart_point &xpt, value_type *xresult, size_type xresult_ub, bool xauto_access=true) const |
Value of the field at xpt, unattached version. More... | |
virtual int | dof_packet_ub () |
void | dof_tuple (dof_type *xbuf, int xbuflen) const |
Copies the entire dof tuple into xbuf. More... | |
sec_vd * | deep_copy (bool xauto_access) |
Virtual constructor; makes a new handle of the same type as this, attached to a copy of the state of this. More... | |
void | deep_copy (sec_vd &xother, bool xauto_access) |
Copies the dofs of this to xother. More... | |
void | get_fiber (pod_index_type xdisc_id, vd_lite &xfiber) const |
Sets xfiber to the fiber referred to by discretization id xdisc_id. More... | |
void | get_fiber (const scoped_index &xdisc_id, vd_lite &xfiber, bool xauto_access) const |
Sets xfiber to the fiber referred to by discretization id xdisc_id. More... | |
void | put_fiber (pod_index_type xdisc_id, const vd_lite &xfiber) |
Sets the fiber referred to by discretization id xdisc_id to xfiber. More... | |
void | put_fiber (const scoped_index &xdisc_id, const vd_lite &xfiber, bool xauto_access) |
Sets the fiber referred to by discretization id xdisc_id to xfiber. More... | |
void | force_fiber (pod_index_type xdisc_id, const vd_lite &xfiber) |
Sets the fiber referred to by discretization id xdisc_id to xfiber. More... | |
void | force_fiber (const scoped_index &xdisc_id, const vd_lite &xfiber, bool xauto_access) |
Sets the fiber referred to by discretization id xdisc_id to xfiber. More... | |
host_type * | host () const |
The poset this is a member of. More... | |
bool | is_ancestor_of (const any *xother) const |
True if xother conforms to current. More... | |
bool | invariant () const |
Clsss invariant. More... | |
Public Member Functions inherited from fiber_bundle::sec_tuple | |
template<typename S > | |
sheaf::poset_path | standard_host_path (const poset_path &xbase_path, const poset_path &xrep_path, const std::string &xsection_suffix, const std::string &xfiber_suffix) |
sec_tuple * | clone (bool xnew_state, bool xauto_access=true) const |
Make a new handle instance of current. Attach the new instance to a new state if xnew_state is true. Otherwise, attach the new instance to the current state. More... | |
sec_tuple () | |
Default constructor. More... | |
sec_tuple (const sec_rep_space *xhost, pod_index_type xhub_id) | |
Creates a new sec_tuple handle attached to the member state with hub id xhub_id in xhost. More... | |
sec_tuple (const sec_rep_space *xhost, const scoped_index &xid) | |
Creates a new sec_tuple handle attached to the member state with id xid in xhost. More... | |
sec_tuple (const sec_rep_space *xhost, const std::string &xname) | |
Creates a new sec_tuple handle attached to the member state with name xname in* xhost. More... | |
sec_tuple (const namespace_poset *xnamespace, const poset_path &xpath, bool xauto_access=true) | |
Creates a new handle attached to the member state with path xpath in namespace xnamespace. More... | |
sec_tuple (sec_rep_space_member *xother) | |
Creates a new sec_tuple handle attached to the same state as xother. More... | |
sec_tuple (sec_rep_space *xhost, section_dof_map *xdof_map=0, bool xauto_access=true) | |
New handle/new state constructor. More... | |
sec_tuple (sec_rep_space *xhost, abstract_poset_member &xbase_mbr, int xbase_version=CURRENT_HOST_VERSION, bool xauto_access=true) | |
Creates a new handle attached to a new jim state which is a partial section defined only on the base space member with index xbase_mbr_index and version xbase_version. More... | |
sec_tuple & | operator= (const sec_tuple &xother) |
Assignment operator; synonym for attach_to_state(&xother). More... | |
~sec_tuple () | |
Destructor. More... | |
virtual int | factor_ct () const |
Number of factors (components) in tuple. More... | |
int | factor_ct (bool xauto_access) const |
Number of factors (components) in tuple. More... | |
host_type * | host () const |
The poset this is a member of. More... | |
bool | fiber_is_ancestor_of (const any *xother) const |
virtual void | restrict_to (const abstract_poset_member *xschema) |
Restricts this section and its components to schema member xschema. More... | |
virtual void | restrict_to (pod_index_type xbase_id, pod_index_type xfiber_schema_id) |
Restricts this section to base with index xbase_id and fiber schema with index xfiber_schema_id. More... | |
virtual void | restrict_to (const abstract_poset_member *xbase, const abstract_poset_member *xfiber_schema) |
Restricts this section and its components to base xbase and fiber schema xfiber_schema. More... | |
virtual void | restrict_to_same (const abstract_poset_member *xother) |
Restricts this handle and its components to the same restriction as xother. More... | |
void | unrestrict () |
Removes any restriction to this handle and its components; restores base and fiber to the base and fiber of host, respectively. More... | |
scalar_type * | comp (int i) const |
The ith component of section. More... | |
void | set_comp (int i, scalar_type *component) |
Sets ith comp of section. More... | |
void | detach_from_state () |
Detaches field from state it is currently attached to. More... | |
Public Member Functions inherited from fiber_bundle::sec_rep_space_member | |
sec_rep_space_member () | |
Default constructor; creates an unattached handle. More... | |
sec_rep_space_member (const sec_rep_space_member &xother, bool xnew_jem=false) | |
Copy constructor; creates new sec_rep_space_member handle If xnew_jem is false the handle is attached to the same state as xother. If xnew_jem is true, the handle is attached to a new state which is a copy (i.e. is join equivalent to) the state of xother. More... | |
sec_rep_space_member & | operator= (const sec_rep_space_member &xother) |
Assignment operator; synonym for attach_to_state(xother). More... | |
~sec_rep_space_member () | |
Destructor. More... | |
sec_rep_space_member * | clone (bool xnew_state, bool xauto_access=true) const |
Make a new handle instance of current. Attach the new instance to a new state if xnew_state is true. Otherwise, attach the new instance to the current state. More... | |
sec_rep_space_member (sec_rep_space *xhost, section_dof_map *xdof_map=0, bool xauto_access=true) | |
Creates a new section handle attached to a new jim state ("explicit prevents interpretation as implicit conversion from sec_rep_space* to sec_rep_space_member&) More... | |
sec_rep_space_member (sec_rep_space *xhost, abstract_poset_member &xbase_mbr, int xbase_version=CURRENT_HOST_VERSION, bool xauto_access=true) | |
Creates a new section handle attached to a new jim state, a partial section defined only on version xbase_version of base space member xbase_mbr. More... | |
sec_rep_space_member (sec_rep_space *xhost, const subposet &xbase_parts, bool xauto_access) | |
Creates a new handle attached to a new jrm state which is a multi-section with a branch for each member of the base space contained in xbase_parts. More... | |
sec_rep_space_member (sec_rep_space *xhost, scoped_index *xexpansion, int xexpansion_ct, const tern &xnew_jem, bool xauto_access) | |
creates a new jrm (join reducible member) attached to a new member state in xhost. The jrm created is the join of the jims with the indices given in xjims_indices. More... | |
sec_rep_space_member (const sec_rep_space *xhost, pod_index_type xindex) | |
Creates a new sec_rep_space_member handle attached to the member state with index xindex in xhost. More... | |
sec_rep_space_member (const sec_rep_space *xhost, const scoped_index &xindex) | |
Creates a new sec_rep_space_member handle attached to the member state with index xindex in xhost. More... | |
sec_rep_space_member (const sec_rep_space *xhost, const std::string &xname) | |
Creates a new sec_rep_space_member handle attached to the member state with name xname in xhost. More... | |
sec_rep_space_member (const namespace_poset *xnamespace, const poset_path &xpath, bool xauto_access=true) | |
Creates a new sec_rep_space_member handle attached to the member state with path xpath in the namespace xnamespace. More... | |
sec_rep_space_member (const namespace_poset *xnamespace, pod_index_type xposet_index, pod_index_type xmember_index) | |
Creates a new sec_rep_space_member handle attached to the member state with index xmember_index in the poset with index xposet_index in the namespace xnamespace. More... | |
sec_rep_space_member (const namespace_poset *xnamespace, const scoped_index &xposet_index, const scoped_index &xmember_index) | |
Creates a new sec_rep_space_member handle attached to the member state with index xmember_index in the poset with index xposet_index in the namespace xnamespace. More... | |
sec_rep_space_member (const sec_rep_space_member *xother) | |
Creates a new sec_rep_space_member handle attached to the same state as xother. ("explicit" prevents interpretation as implicit conversion from sec_rep_space_member* to sec_rep_space_member&) More... | |
void | new_jim_state (abstract_poset_member &xbase_mbr, int xbase_version=CURRENT_HOST_VERSION, bool xauto_access=true) |
Creates a new jim state in host() and attaches this handle to the state. The state is a partial section defined only on version xbase_version of base space member xbase_mbr. More... | |
void | new_jim_state (sec_rep_space *xhost, const abstract_poset_member &xbase_mbr, int xbase_version=CURRENT_HOST_VERSION, bool xauto_access=true) |
Creates a new jim state in host xhost and attaches this handle to the state. The state is a partial section defined only on version xbase_version of base space member xbase_mbr. More... | |
void | new_jrm_state (sec_rep_space *xhost, const subposet &xbase_parts, bool xauto_access) |
Multisection constructor; creates a new jrm state which is a multi-section with a branch for each member of the base space contained in xbase_parts and attaches this to it. More... | |
bool | is_multisection (bool xauto_access) const |
True if this is a multisection. More... | |
bool | has_branch_id_space (bool xauto_access) const |
True if this is a multisection and it has a branch sequence id space. More... | |
scattered_insertion_index_space_handle & | get_branch_id_space (bool xauto_access) |
Allocate an id space handle from the handle pool attached to the branch id space for this member. More... | |
void | release_branch_id_space (index_space_handle &xid_space, bool xauto_access) const |
Returns the id space handle xid_space to the handle pool. More... | |
bool | allocated_branch_handle (index_space_handle &xid_space, bool xauto_access) const |
True if the handle pool allocated xid_space. More... | |
index_space_iterator & | get_branch_id_space_iterator (bool xauto_access) const |
Allocates an iterator from the iterator pool attached to the branch id space for this member. More... | |
void | release_branch_id_space_iterator (index_space_iterator &xitr, bool xauto_access) const |
Returns the iterator xitr to the iterator pool. More... | |
bool | allocated_branch_iterator (index_space_iterator &xitr, bool xauto_access) const |
True if the id space iterator xitr was allocated by the iterator pool. More... | |
virtual section_space_schema_member & | schema () |
The restricted schema for this (mutable version). More... | |
virtual const section_space_schema_member & | schema () const |
The restricted schema for this (const version). More... | |
section_space_schema_member & | schema (bool xauto_access) |
The schema for this, auto-accessible (mutable version). More... | |
const section_space_schema_member & | schema (bool xauto_access) const |
The schema for this, auto-accessible (const version). More... | |
virtual section_space_schema_member & | unrestricted_schema () |
The unrestricted schema for this poset membe (mutable version). More... | |
virtual const section_space_schema_member & | unrestricted_schema () const |
The unrestricted schema for this poset member (const version). More... | |
abstract_poset_member & | base () |
The restricted base of this section space member (mutable version) More... | |
const abstract_poset_member & | base () const |
The restricted base of this section space member (const version) More... | |
bool | same_base (const sec_rep_space_member *xother) const |
True if this has the same base as xother. More... | |
virtual int | db () const |
The dimension of the restricted base. More... | |
bool | same_rep (const sec_rep_space_member *xother) const |
True if this has the same rep and same base as xother. /. More... | |
int | discretization_ct () const |
The number of members of the discretization subposet contained in the down set of the restricted base. More... | |
int | discretization_ct (bool xaxto_access) const |
The number of members of the discretization subposet contained in the down set of the restricted base. More... | |
int | evaluation_ct () const |
The number of members of the evaluation subposet contained in the down set of the restricted base. More... | |
schema_poset_member & | fiber_schema () |
The schema of the restricted fiber of this section space member (mutable version) More... | |
const schema_poset_member & | fiber_schema () const |
The schema of the restricted fiber of this section space member (const version) More... | |
poset & | fiber () |
The unrestricted fiber of host() (mutable version). More... | |
const poset & | fiber () const |
The unrestricted fiber of host() (const version). More... | |
int | df () const |
The dimension of the restricted fiber. More... | |
void | restrict_to (const scoped_index &xbase_id, const scoped_index &xfiber_schema_id) |
Restricts this section to base with index xbase_id and fiber schema with index xfiber_schema_id. More... | |
bool | base_is_restricted () const |
True if base() is not the same as host()->base();. More... | |
bool | fiber_schema_is_restricted () const |
True if fiber_schema() is not the same as host()->fiber_schema(). More... | |
int | version () const |
The base space version this section is defined on. More... | |
virtual void | get_dof (pod_index_type xdisc_id, pod_index_type xfiber_dof_id, void *xdof, size_type xdof_size) const |
Copies the dof referred to by xdisc_id, xfiber_dof_id into xdof. More... | |
void | get_dof (const scoped_index &xdisc_id, const scoped_index &xfiber_dof_id, void *xdof, size_type xdof_size, bool xauto_access) const |
Copies the dof referred to by xdisc_id, xfiber_dof_id into xdof. More... | |
virtual void | put_dof (pod_index_type xdisc_id, pod_index_type xfiber_dof_id, const void *xdof, size_type xdof_size) |
Sets the dof referred to by xdof_id to the value at xdof. More... | |
void | put_dof (const scoped_index &xdisc_id, const scoped_index &xfiber_dof_id, const void *xdof, size_type xdof_size, bool xauto_access) |
Sets the dof referred to by xdof_id to the value at xdof. More... | |
void | get_fiber (pod_index_type xdisc_id, void *xfiber, size_type xfiber_size) const |
Sets xfiber to the fiber referred to by discretization id xdisc_id. More... | |
void | get_fiber (const scoped_index &xdisc_id, void *xfiber, size_type xfiber_size, bool xauto_access) const |
Sets xfiber to the fiber referred to by discretization id xdisc_id. More... | |
void | put_fiber (pod_index_type xdisc_id, const void *xfiber, size_type xfiber_size) |
Sets the fiber referred to by discretization id xdisc_id to xfiber. More... | |
void | put_fiber (const scoped_index &xdisc_id, const void *xfiber, size_type xfiber_size, bool xauto_access) |
Sets the fiber referred to by discretization id xdisc_id to xfiber. More... | |
void | force_fiber (pod_index_type xdisc_id, const void *xfiber, size_type xfiber_size) |
Sets the fiber referred to by discretization id xdisc_id to xfiber; reallocates dof map memory if necessary. More... | |
void | force_fiber (const scoped_index &xdisc_id, const void *xfiber, size_type xfiber_size, bool xauto_access) |
Sets the fiber referred to by discretization id xdisc_id to xfiber; reallocates dof map memory if necessary. More... | |
void | get_component (pod_index_type xfiber_dof_id, void *xcomponent, size_type xcomponent_size) const |
Sets xcomponent to the component referred to by fiber id xfiber_dof_id. More... | |
void | get_component (const scoped_index &xfiber_dof_id, void *xcomponent, size_type xcomponent_size, bool xauto_access) const |
Sets xcomponent to the component referred to by fiber id xfiber_dof_id. More... | |
void | put_component (pod_index_type xfiber_dof_id, const void *xcomponent, size_type xcomponent_size) |
Sets the xcomponent referred to by fiber id xfiber_dof_id to xcomponent. More... | |
void | put_component (const scoped_index &xfiber_dof_id, const void *xcomponent, size_type xcomponent_size, bool xauto_access) |
Sets the component referred to by fiber id xfiber_dof_id to xcomponent. More... | |
size_t | dof_tuple_size () |
Get the size in bytes of the restricted dof tuple for this member. More... | |
size_t | fiber_size () |
Get the size in bytes of the restricted fiber for this member. More... | |
virtual section_dof_map & | dof_map (bool xrequire_write_access=false) |
The map from client_ids to dof values for this poset member (mutable version) More... | |
virtual const section_dof_map & | dof_map (bool xrequire_write_access=false) const |
The map from client_ids to dof values for this poset member (const version) More... | |
virtual bool | dof_map_is_ancestor_of (const poset_dof_map *xdof_map) const |
True if xdof_map conforms to (is derived from) the type of dof map required by this handle. More... | |
sec_rep_space * | host () const |
The section representation space this is a member of. More... | |
Public Member Functions inherited from sheaf::poset_member | |
poset_member () | |
Default constructor; creates a new, unattached poset_member handle. More... | |
poset_member (const abstract_poset_member &xother, bool xnew_jem=false) | |
Copy constructor; creates a new poset_member handle. If xnew_jem is false the handle is attached to the same state as xother. If xnew_jem is true, the handle is attached to a new state which is a copy (i.e. is join equivalent to) the state of xother. More... | |
poset_member & | operator= (const poset_member &xother) |
Assignment operator; synonym for attach_to_state(xother). More... | |
virtual | ~poset_member () |
Destructor; deletes a poset member and its attached state, if any. More... | |
poset_member * | clone (bool xnew_state, bool xauto_access=true) const |
Make a new handle instance of current. Attach the new instance to a new state if xnew_state is true. Otherwise, attach the new instance to the current state. More... | |
poset_member (poset_state_handle *xhost, poset_dof_map *xdof_map=0, bool xcopy_dof_map=false, bool xauto_access=true) | |
Creates a new jim (join-irreducible member) attached to a new member state in xhost. ("explicit" prevents interpretation as implicit conversion from poset_state_handle* to poset_member&) More... | |
poset_member (poset_state_handle *xhost, const scoped_index *xexpansion, int xexpansion_ct, const tern &xnew_jem, bool xauto_access) | |
Creates a new jrm (join reducible member) attached to a new member state in xhost. The jrm created is the join of the members with the indices given in xexpansion. More... | |
poset_member (const poset_state_handle *xhost, pod_index_type xhub_id) | |
Creates a new poset_member handle attached to the member state with hub id xhub_id in xhost. More... | |
poset_member (const poset_state_handle *xhost, const scoped_index &xid) | |
Creates a new poset_member handle attached to the member state with id xid in xhost. More... | |
poset_member (const poset_state_handle *xhost, const std::string &xname) | |
Creates a new poset_member handle attached to the member state with name xname in xhost. More... | |
poset_member (const namespace_poset *xnamespace, const poset_path &xpath, bool xauto_access=true) | |
Creates a new poset_member handle attached to the member state with path xpath in the namespace xnamespace. More... | |
poset_member * | greatest_jem () const |
The largest member which is join-equivalent to this. More... | |
poset_member * | least_jem () const |
The smallest member which is join-equivalent to this. More... | |
poset_member * | p_join (poset_member *other) const |
poset join of this with other, auto-allocated the poset join is the least upper bound in the poset More... | |
poset_member * | p_meet (poset_member *other) |
poset meet of this with other, auto-allocated the poset meet is the greatest lower bound in the poset More... | |
poset_member * | l_join (poset_member *other, bool xnew_jem=true) |
lattice join of this with other, auto-allocated the lattice join is the least upper bound in the lattice generated by the jims in the poset More... | |
poset_member * | l_meet (poset_member *other, bool xnew_jem=true) |
lattice meet of this with other, auto-allocated the lattice meet is the greatest lower bound in the lattice generated by the jims in the poset More... | |
poset_member * | l_not (bool xnew_jem=true) const |
lattice pseudo-complement of this, auto-allocated The lattice pseudo-complement is the largest lattice member m for which this.l_meet(m) = 0 More... | |
Public Member Functions inherited from sheaf::partial_poset_member | |
partial_poset_member () | |
Default constructor; creates a new, unattached partial_poset_member handle. More... | |
partial_poset_member (const abstract_poset_member &xother, bool xnew_jem=false) | |
Copy constructor; creates a new partial_poset_member handle. If xnew_jem is false the handle is attached to the same state as xother. If xnew_jem is true, the handle is attached to a new state which is a copy (i.e. is join equivalent to) the state of xother. More... | |
partial_poset_member & | operator= (const partial_poset_member &xother) |
Assignment operator; attaches this to the same state as xother. More... | |
virtual | ~partial_poset_member () |
Destructor; deletes a poset member and its attached state, if any. More... | |
partial_poset_member * | clone (bool xnew_state, bool xauto_access=true) const |
Make a new handle instance of current. Attach the new instance to a new state if xnew_state is true. Otherwise, attach the new instance to the current state. More... | |
partial_poset_member (poset_state_handle *xhost, poset_dof_map *xdof_map=0, bool xcopy_dof_map=false, bool xauto_access=true) | |
Creates a new jim (join-irreducible member) attached to a new member state in xhost. ("explicit" prevents interpretation as implicit conversion from poset_state_handle* to partial_poset_member&) More... | |
partial_poset_member (poset_state_handle *xhost, const scoped_index *xexpansion, int xexpansion_ct, const tern &xnew_jem, bool xauto_access) | |
creates a new jrm (join reducible member) attached to a new member state in xhost The jrm created is the join of the members with the indices given in xexpansion. More... | |
partial_poset_member (const poset_state_handle *xhost, pod_index_type xhub_id) | |
Creates a new partial_poset_member handle attached to the member state with hub id xhub_id in xhost. More... | |
partial_poset_member (const poset_state_handle *xhost, const scoped_index &xid) | |
Creates a new partial_poset_member handle attached to the member state with id xid in xhost. More... | |
partial_poset_member (const poset_state_handle *xhost, const std::string &xname) | |
Creates a new partial_poset_member handle attached to the member state with name xname in xhost. More... | |
partial_poset_member (const namespace_poset *xnamespace, const poset_path &xpath, bool xauto_access=true) | |
Creates a new partial_poset_member handle attached to the member state with path xpoath in the namespace xnamespace. More... | |
partial_poset_member (schema_poset_member *xschema) | |
Covariant constructor. More... | |
virtual int | dof_ct () const |
The number of dofs in restricted schema of this poset member. More... | |
partial_poset_member * | greatest_jem () const |
The largest member which is join-equivalent to this. More... | |
partial_poset_member * | least_jem () const |
The smallest member which is join-equivalent to this. More... | |
partial_poset_member * | p_join (partial_poset_member *other) const |
poset join of this with other, auto-, pre-, and self-allocated versions the poset join is the least upper bound in the poset More... | |
partial_poset_member * | p_meet (partial_poset_member *other) |
poset meet of this with other, auto-, pre-, and self-allocated versions the poset meet is the greatest lower bound in the poset More... | |
partial_poset_member * | l_join (partial_poset_member *other, bool xnew_jem=true) |
lattice join of this with other, auto-, pre-, and self-allocated versions the lattice join is the least upper bound in the lattice generated by the jims in the poset More... | |
partial_poset_member * | l_meet (partial_poset_member *other, bool xnew_jem=true) |
lattice meet of this with other, auto-, pre-, and self-allocated versions the lattice meet is the greatest lower bound in the lattice generated by the jims in the poset More... | |
partial_poset_member * | l_not (bool xnew_jem=true) const |
lattice pseudo-complement of this, auto-, pre- and self allocated versions The lattice pseudo-complement is the largest lattice member m for which this.l_meet(m) = 0 More... | |
Public Member Functions inherited from sheaf::abstract_poset_member | |
virtual | ~abstract_poset_member () |
Destructor; deletes a poset member and its attached state, if any. More... | |
abstract_poset_member * | clone (bool xnew_state, bool xauto_access=true) const |
Virtual constructor; makes a new handle of the same type as this, attached to a new state (xnew_state true) or attached to the same state as this (xnew_state false). More... | |
virtual void | new_jim_state (poset_dof_map *xdof_map=0, bool xcopy_dof_map=false, bool xauto_access=true) |
Creates a new jim (join-irreducible member) state in host() and attaches this to it. If xdof_map == 0 a new dof map is created. If xdof_map != 0 and xcopy_dof_map == false, xdof_map is used as the dof map. If xdof_map != 0 and xcopy_dof_map is true, a copy of xdof_map is used. More... | |
virtual void | new_jim_state (pod_index_type xtuple_id, bool xauto_access=true) |
Creates a new jim (join-irreducible member) state in host() and attaches this to it. The existing dof map with index xtuple_id is used as the dof map. More... | |
void | new_jim_state (const scoped_index &xtuple_id, bool xauto_access=true) |
Creates a new jim (join-irreducible member) state in host() and attaches this to it. The existing dof map with index xtuple_id is used as the dof map. More... | |
virtual void | new_jim_state (poset_state_handle *xhost, poset_dof_map *xdof_map=0, bool xcopy_dof_map=false, bool xauto_access=true) |
Creates a new jim (join-irreducible member) state in xhost and attaches this to it. More... | |
virtual void | new_jim_state (poset_state_handle *xhost, pod_index_type xtuple_id, bool xauto_access=true) |
Creates a new jim (join-irreducible member) state in xhost and attaches this to it. The existing dof map with index xtuple_id is used as the dof map. More... | |
void | new_jim_state (poset_state_handle *xhost, const scoped_index &xtuple_id, bool xauto_access=true) |
Creates a new jim (join-irreducible member) state in xhost and attaches this to it. The existing dof map with index xtuple_id is used as the dof map. More... | |
virtual void | new_jrm_state (bool xauto_access=true) |
Creates a new jrm (join-reducible member) state in host() and attaches this to it. More... | |
virtual void | new_jrm_state (poset_state_handle *xhost, bool xauto_access=true) |
Creates a new jrm (join-reducible member) state in xhost and attaches this to it. More... | |
virtual void | new_jrm_state (const scoped_index *xexpansion, int xexpansion_ct, const tern &xgreatest, bool xauto_access=true) |
Computes the join of the members with the indices given in xexpansion. If the join already exists and xgreatest_jem: is_true(), creates a new greatest jem of the existing join and attaches to it; is_false(), creates a new least jem of the existing join and attaches to it; is_neither(), attaches to the existing join;. More... | |
virtual void | new_jrm_state (poset_state_handle *xhost, const scoped_index *xexpansion, int xexpansion_ct, const tern &xgreatest, bool xauto_access=true) |
Computes the join of the members with the indices given in xexpansion. If the join already exists and xgreatest_jem: is_true(), creates a new greatest jem of the existing join and attaches to it; is_false(), creates a new least jem of the existing join and attaches to it; is_neither(), attaches to the existing join;. More... | |
virtual void | new_jem_state (abstract_poset_member *xother, bool xgreatest, bool xauto_access) |
Creates a new jrm state in host() which is the greatest jem (xgreatest true) or least jem (xgreatest false) of xother and attaches this to it. More... | |
virtual void | new_jem_state (poset_state_handle *xhost, pod_index_type xhub_id, bool xgreatest, bool xauto_access) |
Creates a new jrm state in xhost which is the greatest jem (xgreatest true) or least jem (xgreatest false) of hub id xhub_id and attaches this to it. More... | |
void | new_jem_state (poset_state_handle *xhost, const scoped_index &xid, bool xgreatest, bool xauto_access) |
Creates a new jrm state in xhost which is the greatest jem (xgreatest true) or least jem (xgreatest false) of id xid and attaches this to it. More... | |
virtual bool | is_jim (bool xin_current_version=true) const |
True if this member is join irreducible in the current version of the host (xin_current_version == true) or in some version of the host (xin_current_version == false). More... | |
virtual bool | is_atom () const |
True if this member covers the bottom. More... | |
schema_poset_member & | schema (bool xauto_access) |
The schema for this poset member, auto-accessible (mutable version). More... | |
const schema_poset_member & | schema (bool xauto_access) const |
The schema for this poset member, auto-accessible (const version). More... | |
bool | schema_is (const std::string &xschema_name) const |
True if the schema of this has name xname. More... | |
bool | same_schema (const abstract_poset_member *xother) const |
True if xother has the same schema (column poset) as this. More... | |
virtual bool | is_restricted () const |
True if handle is a restriction of the state, that is, if schema() is not the same as host()->schema(). More... | |
virtual bool | is_same_restriction (const abstract_poset_member *xother) const |
True if this is the same restriction as xother, that is, if schema().is_same_state(xother.schema()). More... | |
void | dof_tuple (const void *xbuf, size_t xbuflen) const |
Copies the entire dof tuple between xbuf and internal storage. More... | |
void | put_dof_tuple (const void *xbuf, size_t xbuflen) |
Copies the entire dof tuple between xbuf and internal storage. More... | |
pod_index_type | dof_tuple_id (bool xauto_access) const |
The dof tuple index of this member. More... | |
void | dof_tuple_id (scoped_index &result, bool xauto_access) const |
The dof tuple index of this member. More... | |
void | put_dof_tuple_id (pod_index_type xtuple_index, bool xauto_access) |
Sets dof tuple index to xtuple_index. More... | |
void | put_dof_tuple_id (const scoped_index &xtuple_index, bool xauto_access) |
Sets dof tuple index to xtuple_index. 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... | |
void * | row_dofs () |
The row dofs for this instance (mutable version). More... | |
const void * | row_dofs () const |
The row dofs for this instance (const version). More... | |
void * | row_dofs (bool xauto_access) |
The row dofs for this instance (mutable auto-access version). More... | |
const void * | row_dofs (bool xauto_access) const |
The row dofs for this instance (const auto-access version). More... | |
primitive_value | dof (pod_index_type xdof_id) const |
The dof referred to by xdof_id. More... | |
primitive_value | dof (const scoped_index &xdof_id, bool xauto_access) const |
The dof referred to by xdof_id. More... | |
void | put_dof (pod_index_type xdof_id, const primitive_value &xdof) |
Sets the dof referred to by xdof_id to xdof. More... | |
void | put_dof (const scoped_index &xdof_id, const primitive_value &xdof, bool xauto_access) |
Sets the dof referred to by xdof_id to xdof. More... | |
void | get_dof (pod_index_type xdof_id, void *xdof, size_type xdof_size) const |
Copies the dof referred to by xdof_id into xdof. More... | |
void | get_dof (const scoped_index &xdof_id, void *xdof, size_type xdof_size, bool xauto_access) const |
Copies the dof referred to by xdof_id into xdof. More... | |
void | put_dof (pod_index_type xdof_id, const void *xdof, size_type xdof_size) |
Sets the dof referred to by xdof_id to the value at xdof. More... | |
void | put_dof (const scoped_index &xdof_id, const void *xdof, size_type xdof_size, bool xauto_access) |
Sets the dof referred to by xdof_id to the value at xdof. More... | |
bool | le (pod_index_type xother_index) const |
True if this is less than or equal to the member with index xother_index. More... | |
bool | le (const scoped_index &xother_index) const |
True if this is less than or equal to the member with index xother_index. More... | |
bool | le (const abstract_poset_member *other) const |
True if this is less than or equal to other. More... | |
bool | leqv (pod_index_type xother_index) const |
True if this is less than or equivalent to the member with index xother_index. More... | |
bool | leqv (const scoped_index &xother_index) const |
True if this is less than or equivalent to the member with index xother_index. More... | |
bool | lt (pod_index_type xother_index) const |
True if this is strictly less than the member with index xother_index. More... | |
bool | lt (const scoped_index &xother_index) const |
True if this is strictly less than the member with index xother_index. More... | |
bool | lt (const abstract_poset_member *other) const |
true if this is strictly less than other More... | |
bool | ge (pod_index_type xother_index) const |
True if this is greater than or equal to the member with index xother_index. More... | |
bool | ge (const scoped_index &xother_index) const |
True if this is greater than or equal to the member with index xother_index. More... | |
bool | ge (const abstract_poset_member *other) const |
true if this is greater than or equal to other More... | |
bool | geqv (pod_index_type xother_index) const |
True if this is greater than or equivalent to the member with index xother_index. More... | |
bool | geqv (const scoped_index &xother_index) const |
True if this is greater than or equivalent to the member with index xother_index. More... | |
bool | gt (pod_index_type xother_index) const |
True if this is strictly greater than the member with index xother_index. More... | |
bool | gt (const scoped_index &xother_index) const |
True if this is strictly greater than the member with index xother_index. More... | |
bool | gt (const abstract_poset_member *other) const |
True if this is strictly greater than other. More... | |
bool | is_jem (const abstract_poset_member *xother) const |
True if xother is join equivalent to this. More... | |
abstract_poset_member * | greatest_jem () const |
The largest member which is join-equivalent to this. More... | |
void | greatest_jem_pa (abstract_poset_member *result) const |
The largest member which is join-equivalent to this. More... | |
abstract_poset_member * | least_jem () const |
The smallest member which is join-equivalent to this. More... | |
void | least_jem_pa (abstract_poset_member *result) const |
The smallest member which is join-equivalent to this. More... | |
virtual void | merge_jem (const abstract_poset_member *xjem) |
Merge the join-equivalence class of xjem under the join equivalence class of this. More... | |
bool | covers (const abstract_poset_member *xother) const |
True if this covers other. More... | |
bool | covers (pod_index_type xhub_id) const |
True if this covers the member with hub id xhub_id. More... | |
bool | covers (const scoped_index &xid) const |
True if this covers the member with id xid. More... | |
virtual void | create_cover_link (abstract_poset_member *xlesser) |
Insert a link from this to lesser; make lesser <= this. More... | |
virtual void | delete_cover_link (abstract_poset_member *lesser) |
Delete the link from this to lesser; make lesser incomparable to this. More... | |
index_space_handle & | get_cover_id_space (bool xlower) const |
Allocates a handle for the lower (xlower true) or upper (xlower false) cover id space of this member from the pool of id spaces. 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) const |
Allocates an iterator for the lower (xlower true) or upper (xlower false) cover id space of this member 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 spaces. More... | |
bool | cover_contains_iterator (bool xlower, const index_space_iterator &xitr) const |
True if and only if the lower (xlower true) or upper (xlower false) cover id space of this is the domain of iterator xitr. More... | |
bool | cover_is_empty (bool xlower) const |
True if and only if the lower (xlower true) or upper (xlower false) cover this is empty. More... | |
bool | cover_is_singleton (bool xlower) const |
True if and only if the lower (xlower true) or upper (xlower false) cover set of this contains exactly one member. More... | |
virtual size_type | cover_ct (bool lower) const |
The number of members in the lower cover (xlower true) or upper cover (xlower false) of this. More... | |
bool | cover_contains_member (bool xlower, pod_index_type xother_mbr_index) const |
True if and only if the lower (xlower true) or upper (xlower false) cover set of this contains xother_mbr_index. More... | |
bool | cover_contains_member (bool xlower, const scoped_index &xother_mbr_index) const |
True if and only if the lower (xlower true) or upper (xlower false) cover set of this contains xother_mbr_index. More... | |
bool | cover_is_equal (bool xlower, pod_index_type xother_mbr_index) const |
True if and only if the lower (xlower true) or upper (xlower false) cover of this contains the same members as the lower or upper cover, respectively, of the member with index xother_mbr_index. More... | |
bool | cover_is_equal (bool xlower, const scoped_index &xother_mbr_index) const |
True if and only if the lower (xlower true) or upper (xlower false) cover of this contains the same members as the lower or upper cover, respectively, of the member with index xother_mbr_index. More... | |
pod_index_type | first_cover_member (bool xlower) const |
The first member of the lower (xlower true) or upper (xlower false) cover of this. More... | |
void | first_cover_member (bool xlower, scoped_index &result) const |
The first member of the lower (xlower true) or upper (xlower false) cover of this. More... | |
void | insert_cover_member (pod_index_type xother_mbr_index, bool xlower) |
Inserts xother_mbr_index in the lower (xlower true) or upper (xlower false) cover set of this. More... | |
void | insert_cover_member (const scoped_index &xother_mbr_index, bool xlower) |
Inserts xother_mbr_index in the lower (xlower true) or upper (xlower false) cover set of this. More... | |
void | remove_cover_member (pod_index_type xother_mbr_index, bool xlower) |
Removes xother_mbr_index from the lower (xlower true) or upper (xlower false) cover set of this. More... | |
void | remove_cover_member (const scoped_index &xother_mbr_index, bool xlower) |
Removes xother_mbr_index from the lower (xlower true) or upper (xlower false) cover set of this. 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) |
Removes the current item of xitr from the lower (xlower true) or upper (xlower false) cover set of this. More... | |
void | clear_cover (bool xlower) |
Clears the lower (xlower true) or upper (xlower false) cover set of this. More... | |
void | copy_cover (bool xlower, pod_index_type xother_mbr_index) |
Copies the lower (xlower true) or upper (xlower false) cover of this to the member with index xother_mbr_index. More... | |
void | copy_cover (bool xlower, const scoped_index &xother_mbr_index) |
Copies the lower (xlower true) or upper (xlower false) cover of this to the member with index xother_mbr_index. More... | |
int | down_ct () const |
The number of members in the down set of this member. More... | |
virtual int | down_ct (pod_index_type xfilter_index) const |
The number of members in the down set of this member, filtered by the subposet in host() with index xfilter_index. More... | |
int | down_ct (const scoped_index &xfilter_index) const |
The number of members in the down set of this member, filtered by the subposet in host() with index xfilter_index. More... | |
virtual subposet * | down () const |
The down set of this, auto-allocated version. More... | |
virtual void | down_pa (subposet *result) const |
The down set of this, pre-allocated version. More... | |
void | delete_down (bool xdelete_exterior=false, bool xenter_jim_edit_mode=true) |
Delete the strict down set of this, except for the external boundary. If xdelete_exterior, delete the external boundary as well. More... | |
int | up_ct () const |
The number of members in the up set of this member. More... | |
virtual int | up_ct (pod_index_type xfilter_index) const |
The number of members in the up set of this member, filtered by the subposet in host() with index xfilter_index. More... | |
int | up_ct (const scoped_index &xfilter_index) const |
The number of members in the up set of this member, filtered by the subposet in host() with index xfilter_index. More... | |
virtual subposet * | up () const |
The up set of this member, auto- and pre-allocated versions. More... | |
virtual void | up_pa (subposet *result) const |
The up set of this member, auto- and pre-allocated versions. More... | |
virtual int | jim_ct () const |
The number of members in the set of jims contained in the down set of this member. More... | |
virtual subposet * | jims () |
The set of jims contained in the down set of this member, auto-allocated. More... | |
virtual void | jims_pa (subposet *result) |
The set of jims contained in the down set of this member, pre-allocated. More... | |
virtual int | maximal_jim_ct () const |
The number of maximal members in the set of jims contained in the down set of this member. More... | |
virtual subposet * | maximal_jims () |
The maximal members of the set of jims contained in this member, auto-allocated. More... | |
virtual void | maximal_jims_pa (subposet *result) const |
The maximal members of the set of jims contained in this member, pre-allocated. More... | |
virtual int | atom_ct () const |
The number of members in the set of atoms contained in the down set of this member. More... | |
virtual subposet * | atoms () const |
The set of atomss contained in the down set of this member, auto-allocated. More... | |
virtual void | atoms_pa (subposet *result) const |
The set of atomss contained in the down set of this member, pre-allocated. More... | |
abstract_poset_member * | p_join (abstract_poset_member *other) const |
poset join of this with other, auto-allocated the poset join is the least upper bound in the poset More... | |
virtual void | p_join_pa (abstract_poset_member *other, abstract_poset_member *result) const |
poset join of this with other, pre-allocated the poset join is the least upper bound in the poset More... | |
void | p_join_sa (abstract_poset_member *other) |
poset join of this with other, self-allocated the poset join is the least upper bound in the poset More... | |
abstract_poset_member * | p_meet (abstract_poset_member *other) |
poset meet of this with other, auto-allocated the poset meet is the greatest lower bound in the poset More... | |
virtual void | p_meet_pa (abstract_poset_member *other, abstract_poset_member *result) |
poset meet of this with other, pre-allocated the poset meet is the greatest lower bound in the poset More... | |
void | p_meet_sa (abstract_poset_member *other) |
poset meet of this with other, self-allocated the poset meet is the greatest lower bound in the poset More... | |
abstract_poset_member * | l_join (abstract_poset_member *other, bool xnew_jem=true) |
lattice join of this with other, auto-allocated the lattice join is the least upper bound in the lattice generated by the jims in the poset More... | |
void | l_join_pa (abstract_poset_member *other, abstract_poset_member *result, bool xnew_jem=true) |
lattice join of this with other, pre-allocated the lattice join is the least upper bound in the lattice generated by the jims in the poset More... | |
void | l_join_sa (abstract_poset_member *other, bool xnew_jem=true) |
lattice join of this with other, self-allocated the lattice join is the least upper bound in the lattice generated by the jims in the poset More... | |
abstract_poset_member * | l_meet (abstract_poset_member *other, bool xnew_jem=true) |
lattice meet of this with other, auto-allocated the lattice meet is the greatest lower bound in the lattice generated by the jims in the poset More... | |
void | l_meet_pa (abstract_poset_member *other, abstract_poset_member *result, bool xnew_jem=true) |
lattice meet of this with other, pre-allocated the lattice meet is the greatest lower bound in the lattice generated by the jims in the poset More... | |
void | l_meet_sa (abstract_poset_member *other, bool xnew_jem=true) |
lattice meet of this with other, self-allocated the lattice meet is the greatest lower bound in the lattice generated by the jims in the poset More... | |
abstract_poset_member * | l_not (bool xnew_jem=true) const |
lattice pseudo-complement of this, auto-allocated The lattice pseudo-complement is the largest lattice member m for which this.l_meet(m) = 0 More... | |
void | l_not_pa (abstract_poset_member *result, bool xnew_jem=true) const |
lattice pseudo-complement of this, pre-allocated The lattice pseudo-complement is the largest lattice member m for which this.l_meet(m) = 0 More... | |
void | l_not_sa (bool xnew_jem=true) const |
lattice pseudo-complement of this, self-allocated The lattice pseudo-complement is the largest lattice member m for which this.l_meet(m) = 0 More... | |
virtual bool | is_valid_index (const poset_state_handle *xhost, pod_index_type xhub_id, int xversion=CURRENT_HOST_VERSION) const |
True if there exists a component of the same type as this with hub id xhub_id in version xversion of xhost. More... | |
bool | is_valid_index (const poset_state_handle *xhost, const scoped_index &xid, int xversion=CURRENT_HOST_VERSION) const |
True if there exists a component of the same type as this with id xid in version xversion of xhost. More... | |
const index_space_family & | id_spaces () const |
The id space family for this member. More... | |
virtual const hub_index_space_handle & | hub_id_space () const |
The hub id space; const version. More... | |
virtual const scoped_index & | hub_id () const |
A id in the hub id space for components of this type; intended for copying to initialize ids to the hub id space. More... | |
virtual scoped_index | hub_id (pod_index_type xid) const |
An id in the member hub id space with pod xid. More... | |
virtual pod_index_type | get_index_from_name (const poset_state_handle *xhost, const std::string &xname) const |
Gets the index of the component in xhost with name xname. More... | |
virtual void | get_index_from_name (const poset_state_handle *xhost, const std::string &xname, scoped_index &result) const |
Gets the index of the component in xhost with name xname. More... | |
std::string | name () const |
A name for this. More... | |
virtual std::string | name (bool xauto_access) const |
A name for this. More... | |
virtual void | all_names (block< std::string > &xresult, bool xauto_access=false) const |
All the names for this. More... | |
virtual size_type | name_ct (bool xauto_access) const |
The number of names for this. More... | |
virtual bool | has_name (const std::string &xname, bool xauto_access=false) const |
True if xname is a name for this. More... | |
virtual void | put_name (const std::string &xname, bool xunique, bool xauto_access) |
Make xname a name for this; if xunique, make xname the only name. More... | |
virtual void | delete_name (const std::string &xname, bool xauto_access=false) |
Delete all names for this. More... | |
virtual void | delete_all_names (bool xauto_access=false) |
Delete all the names for this. More... | |
void | attach_to_state (const namespace_poset *xns, const poset_path &xpath, bool xauto_access=true) |
Attach to the state specified by path xpath in the namespace xns. More... | |
void | attach_to_state (const namespace_poset *xnamespace, pod_index_type xposet_index, pod_index_type xmember_index, bool xauto_access=true) |
Attach to the state with name xmember_index in the poset with name xposet_index in the namespace xnamespace. More... | |
void | attach_to_state (const namespace_poset *xnamespace, const scoped_index &xposet_index, const scoped_index &xmember_index, bool xauto_access=true) |
Attach to the state with name xmember_index in the poset with name xposet_index in the namespace xnamespace. More... | |
virtual void | delete_state (bool xauto_access=false) |
Detachs this from its state and then deletes the state. More... | |
virtual void | to_stream (std::ostream &xos=std::cout) const |
Virtual stream insertion. More... | |
Public Member Functions inherited from sheaf::poset_component | |
virtual | ~poset_component () |
Destructor. More... | |
const scoped_index & | index () const |
The index of the component state this handle is attached to. More... | |
bool | is_valid_index (const poset_state_handle *xhost, const scoped_index &xid, int xversion=CURRENT_HOST_VERSION) const |
True if there exists a component of the same type as this with id xid in version xversion of xhost. More... | |
int | version (bool xunalias=true) const |
The (possibly aliased) version of this component. The version of the host used when evaluating properties of this component. If unalias == true, return actual version alias refers to. More... | |
virtual void | put_version (int xversion, bool xunalias=false) |
Sets version to (possibly aliased) xversion. If unalias == true, set version to the actual version alias refers to. More... | |
int | unaliased_version (int xversion) const |
The actual version associated with (possibly aliased) version xversion in this. More... | |
pod_index_type | version_index () const |
The subposet index for the filter associated with version(). More... | |
void | version_index (scoped_index &result) const |
The subposet index for the filter associated with version(). More... | |
std::string | version_name () const |
The subposet name for the filter associated with version(). More... | |
bool | has_version (int xversion) const |
True if xversion is a valid version for this. More... | |
std::string | name () const |
OBSOLETE: use name(bool xauto_access). A name for this. More... | |
bool | is_valid_name (const poset_state_handle *xhost, const std::string &xname) const |
True if there exists a component as the same type as this in xhost with name xname. More... | |
poset_path | path (bool xauto_access=true) const |
A path to this component. More... | |
bool | has_path (const poset_path &xpath, bool xauto_access) const |
True if and only if xpath refers to this component. More... | |
poset_state_handle * | host () const |
The poset which this is a handle to a component of. More... | |
bool | has_same_host (const poset_component *xother) const |
True if xother is attached to the same host as this or if both are unattached. More... | |
bool | in_same_space (const poset_component *xother) const |
Synonym for has_same_host(xother) More... | |
virtual namespace_poset * | name_space () const |
The namespace of host() More... | |
virtual bool | namespace_is_ancestor_of (const namespace_poset *xother) const |
True if xother conforms to name_space(). More... | |
bool | same_namespace (const poset_component *xother) const |
True if the host of xother resides in the same namespace as this or if both are unattached. More... | |
bool | same_namespace (const poset_state_handle *xother) const |
True if xother resides in the same namespace as the host of this or if both are unattached. More... | |
void | attach_to_state (const poset_state_handle *xhost, pod_index_type xhub_id) |
Attach this handle to the state with hub id xhub_id in the current version of host xhost. More... | |
void | attach_to_state (const poset_state_handle *xhost, const scoped_index &xid) |
Attach this handle to the state with id xid in the current version of host xhost. More... | |
void | attach_to_state (const poset_state_handle *xhost, const std::string &xname) |
Attach to the member state with name xname in the current version of host xhost. More... | |
void | attach_to_state (const namespace_poset *xhost, const std::string &xname) |
void | attach_to_state (const std::string &) |
Attach to the state with name xname in version version() of host host(). More... | |
void | attach_to_state (pod_index_type xhub_id) |
Attach to the state with hub id xhub_id in version version() of host host(). More... | |
void | attach_to_state (const scoped_index &xid) |
Attach to the state with id xid in version version() of host host(). More... | |
void | attach_to_state (const poset_component *xother) |
Attach to the same state as xother. More... | |
void | attach_to_state (const poset_component *xother, bool xauto_access) |
Attach to the same state as xother, auto-accessible version. More... | |
virtual bool | is_attached () const |
True if this handle is attached to a non-void state. More... | |
bool | is_same_state (const poset_state_handle *xhost, pod_index_type xhub_id) const |
True is this is attached to state with hub id xhub_id in host xhost. More... | |
bool | is_same_state (const poset_state_handle *xhost, const scoped_index &xid) const |
True is this is attached to state with id xid in host xhost. More... | |
bool | is_same_state (const poset_component *xother) const |
True if xother is attached to the same host and same state as this or if both are unattached. 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... | |
Public Member Functions inherited from sheaf::read_write_monitor_handle | |
virtual | ~read_write_monitor_handle () |
Descturctor. More... | |
bool | state_is_read_only_accessible () const |
True if this is attached and the state is accessible for read access but not for write. More... | |
bool | state_is_not_read_only_accessible () const |
True if this is attached and the state is not accessible for read only access. More... | |
bool | state_is_read_accessible () const |
True if this is attached and if the state is accessible for read or access control is disabled. More... | |
bool | state_is_not_read_accessible () const |
True if this is attached and if the state is accessible for read or if access control is disabled. More... | |
bool | state_is_auto_read_accessible (bool xauto_access) const |
True if the state is auto accessible for read, that is, if the state is already accessible for read or if this is attached and xuto_access is true. More... | |
bool | state_is_read_write_accessible () const |
True if this is attached and if the state is accessible for read and write or access control is disabled. More... | |
bool | state_is_not_read_write_accessible () const |
True if state is attached and if not accessible for read and write or access control is disabled. More... | |
bool | state_is_auto_read_write_accessible (bool xauto_access) const |
True if state is auto accessible for read and write, that is, if the state is already accessible for read and write or if this is attached and xuto_access is true. or if this is attached and access control is disabled. More... | |
int | access_request_depth () const |
The number of times access has been requested and granted without being released. More... | |
bool | state_is_mode_locked () const |
Obsolete. More... | |
int | mode_lock_ct () const |
Obsolete. More... | |
void | get_mode_lock () const |
Obsolete. More... | |
void | release_mode_lock () |
Obsolete. More... | |
bool | state_is_modified () const |
True if write access has been granted and released since the last call to clear_state_is_modified(). More... | |
void | clear_state_is_modified () |
Sets the state_is_modified floag to false. More... | |
Public Member Functions inherited from sheaf::any | |
bool | is_same_type (const any *other) const |
True if other is the same type as this. More... | |
virtual | ~any () |
Destructor. More... | |
bool | invariant_check () const |
True if invariant checking is enabled. More... | |
void | enable_invariant_check () const |
Enable invariant checking. More... | |
void | disable_invariant_check () const |
Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing invariant checking during multi-phase initialization. More... | |
int | disable_invariance_check_request_depth () const |
Number of times disable_invariant_check has been called without matching call to enable_invariant_check. More... | |
Static Public Member Functions inherited from fiber_bundle::sec_vd | |
static host_type & | new_host (namespace_type &xns, const poset_path &xhost_path, const poset_path &xschema_path, const poset_path &xscalar_space_path, bool xauto_access) |
Creates a new host table for members of this type. The poset is created in namespace xns with path xhost_path, schema specified by xschema_path, and table attribute scalar_space_path specified by xscalar_space_path. More... | |
static const std::string & | static_class_name () |
The name of this class. More... | |
Static Public Member Functions inherited from fiber_bundle::sec_tuple | |
static const poset_path & | standard_rep_path () |
The path to the standard rep for sections of this type. More... | |
template<typename S > | |
static poset_path | standard_host_path (const poset_path &xbase_path, const poset_path &xrep_path, const std::string &xsection_suffix, const std::string &xfiber_suffix) |
The standard host path for section type S with base path xbase_path, representation path xrep_path, and section and fiber suffixes xsection_suffix and xfiber_suffix, respectively. More... | |
template<typename S > | |
static bool | standard_host_is_available (const namespace_poset &xns, const poset_path &xbase_path, const poset_path &xrep_path, const std::string &xsection_suffix, const std::string &xfiber_suffix, bool xauto_access) |
True if and only if the host with path standard_host_path<S>(xbase_path, xrep_path, xsection_suffix, xfiber_suffix) does not exist in namespace xns, or if it exists, conforms to S::host_type. More... | |
static host_type & | new_host (namespace_type &xns, const poset_path &xhost_path, const poset_path &xschema_path, bool xauto_access) |
Creates a new host table for members of this type. The poset is created in namespace xns with path xhost_path and schema specified by xschema_path,. More... | |
static const std::string & | static_class_name () |
The name of this class. More... | |
Static Public Member Functions inherited from fiber_bundle::sec_rep_space_member | |
static const std::string & | static_class_name () |
The name of this class. More... | |
static std::string | standard_schema_poset_name (const std::string &xschema_member_name) |
The standard name for the section_space_schema_poset constructed for the schema member with name xschema_member_name. /. More... | |
static std::string | standard_fiber_space_name (const poset_path &xschema_path) |
The standard name for the fiber space constructed for the schema member with path xschema_path. More... | |
static std::string | standard_section_space_name (const std::string &xfiber_space_name, const std::string &xbase_space_name) |
The standard name for the section space with fiber space poset name xfiber_space_name and base space poset name xbase_space_name. More... | |
Static Public Member Functions inherited from sheaf::abstract_poset_member | |
static host_type & | new_host (namespace_type &xns, const poset_path &xhost_path, const poset_path &xschema_path, bool xauto_access) |
Creates a new host table for members of this type. The poset is created in namespace xns with path xhost_path and schema specified by xschema_path. 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 Member Functions inherited from fiber_bundle::sec_vd | |
virtual sec_tuple::scalar_type * | new_comp () |
Creates a new component for attach_handle_data_members. A "virtual constructor" for components. More... | |
Protected Member Functions inherited from fiber_bundle::sec_tuple | |
void | attach_handle_data_members () |
Initializes data members introduced by this handle. More... | |
Protected Member Functions inherited from sheaf::partial_poset_member | |
virtual void | init_handle_data_members () |
Initializes handle data members when attaching to a different member in a different host; intended to be redefined in derived classes. More... | |
Protected Member Functions inherited from sheaf::abstract_poset_member | |
abstract_poset_member () | |
Default constructor; creates a new, unattached abstract_poset_member handle. More... | |
char * | table_dof_ptr (bool xrequire_write_access=false) const |
Pointer to the table dofs. More... | |
char * | row_dof_ptr (bool xrequire_write_access=false) |
Pointer to the row dofs. More... | |
Protected Member Functions inherited from sheaf::poset_component | |
poset_component () | |
Default constructor. More... | |
poset_state * | state_obj () const |
The state this component handle is attached to. More... | |
poset_powerset_state * | powerset () const |
The set of subposets of host(). More... | |
poset_crg_state * | crg () const |
The cover relation graph of host(). More... | |
virtual subposet_state * | powerset_member (const scoped_index &xindex) const |
The hidden state of the subposet asocciated with index xindex. More... | |
poset_dof_map * | row_dof_tuple (const scoped_index &xindex) const |
The row dof tuple associated with xindex. 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 fiber_bundle::sec_tuple | |
static std::string | create_fiber_name (const std::string &xname) |
Creates a fiber space name for sec class with name xname. Convenience method used by derived class "new_host" methods. More... | |
Protected Attributes inherited from sheaf::partial_poset_member | |
schema_poset_member * | _schema |
The restricted schema of this member. More... | |
Protected Attributes inherited from sheaf::poset_component | |
poset_state_handle * | _host |
The host poset for this component. More... | |
scoped_index | _index |
The index for this component within the host. More... | |
int | _version |
The version of this component. The version of the host used when evaluating properties of this component. More... | |
typedef tp fiber_bundle::sec_tp::fiber_type |
fiber_bundle::sec_tp::sec_tp | ( | ) |
Default constructor.
Definition at line 110 of file sec_tp.cc.
Referenced by new_host(), and sec_tp().
fiber_bundle::sec_tp::sec_tp | ( | const sec_rep_space * | xhost, |
pod_index_type | xhub_id | ||
) |
Creates a new sec_tp handle attached to the member state with hub id xhub_id in xhost.
Definition at line 122 of file sec_tp.cc.
References sheaf::poset_state_handle::contains_member(), sec_tp(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
fiber_bundle::sec_tp::sec_tp | ( | const sec_rep_space * | xhost, |
const scoped_index & | xid | ||
) |
Creates a new sec_tp handle attached to the member state with id xid in xhost.
Definition at line 144 of file sec_tp.cc.
References sheaf::poset_state_handle::contains_member(), sheaf::scoped_index::hub_pod(), sec_tp(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
fiber_bundle::sec_tp::sec_tp | ( | const sec_rep_space * | xhost, |
const std::string & | xname | ||
) |
Creates a new sec_tp handle attached to the member state with name xname in xhost.
Definition at line 166 of file sec_tp.cc.
References sheaf::poset_state_handle::contains_member(), sec_tp(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
fiber_bundle::sec_tp::sec_tp | ( | const namespace_poset * | xnamespace, |
const poset_path & | xpath, | ||
bool | xauto_access = true |
||
) |
|
explicit |
fiber_bundle::sec_tp::sec_tp | ( | sec_rep_space * | xhost, |
section_dof_map * | xdof_map = 0 , |
||
bool | xauto_access = true |
||
) |
fiber_bundle::sec_tp::sec_tp | ( | sec_rep_space * | xhost, |
abstract_poset_member & | xbase_mbr, | ||
int | xbase_version = CURRENT_HOST_VERSION , |
||
bool | xauto_access = true |
||
) |
Creates a new handle attached to a new jim state which is a partial section defined only on the base space member with index xbase_mbr_index and version xbase_version.
Definition at line 253 of file sec_tp.cc.
References operator=().
fiber_bundle::sec_tp::~sec_tp | ( | ) |
Destructor.
Definition at line 360 of file sec_tp.cc.
References fiber_prototype().
Referenced by operator=().
|
virtual |
The name of this class.
Reimplemented from fiber_bundle::sec_vd.
Reimplemented in fiber_bundle::sec_e3_uniform, fiber_bundle::sec_e2_uniform, fiber_bundle::sec_e1_uniform, fiber_bundle::sec_e2, fiber_bundle::sec_e3, fiber_bundle::sec_e1, fiber_bundle::sec_met_e3, fiber_bundle::sec_met_e1, fiber_bundle::sec_met_e2, fiber_bundle::sec_e4, fiber_bundle::sec_at2_e3, fiber_bundle::sec_at3_e3, fiber_bundle::sec_st2_e2, fiber_bundle::sec_at0, fiber_bundle::sec_st2_e3, fiber_bundle::sec_st3_e3, fiber_bundle::sec_st4_e2, fiber_bundle::sec_st4_e3, fiber_bundle::sec_t2_e3, fiber_bundle::sec_t3_e3, fiber_bundle::sec_t4_e2, fiber_bundle::sec_t4_e3, fiber_bundle::sec_at2_e2, fiber_bundle::sec_t2_e2, fiber_bundle::sec_ed, fiber_bundle::sec_met_ed, fiber_bundle::sec_atp, fiber_bundle::sec_at1, fiber_bundle::sec_at2, fiber_bundle::sec_at3, fiber_bundle::sec_st2, fiber_bundle::sec_st3, fiber_bundle::sec_st4, fiber_bundle::sec_met, fiber_bundle::sec_stp, fiber_bundle::sec_t2, fiber_bundle::sec_t3, and fiber_bundle::sec_t4.
Definition at line 865 of file sec_tp.cc.
References static_class_name().
Referenced by put_is_contravariant().
|
virtual |
Make a new handle, no state instance of current.
Reimplemented from fiber_bundle::sec_vd.
Reimplemented in fiber_bundle::sec_e3_uniform, fiber_bundle::sec_e2_uniform, fiber_bundle::sec_e1_uniform, fiber_bundle::sec_e2, fiber_bundle::sec_e3, fiber_bundle::sec_e1, fiber_bundle::sec_met_e3, fiber_bundle::sec_met_e1, fiber_bundle::sec_met_e2, fiber_bundle::sec_e4, fiber_bundle::sec_at2_e3, fiber_bundle::sec_at3_e3, fiber_bundle::sec_st2_e2, fiber_bundle::sec_at0, fiber_bundle::sec_st2_e3, fiber_bundle::sec_st3_e3, fiber_bundle::sec_st4_e2, fiber_bundle::sec_st4_e3, fiber_bundle::sec_t2_e3, fiber_bundle::sec_t3_e3, fiber_bundle::sec_t4_e2, fiber_bundle::sec_t4_e3, fiber_bundle::sec_at2_e2, fiber_bundle::sec_t2_e2, fiber_bundle::sec_ed, fiber_bundle::sec_met_ed, fiber_bundle::sec_atp, fiber_bundle::sec_at1, geometry::sec_ed_invertible, fiber_bundle::sec_at2, fiber_bundle::sec_at3, fiber_bundle::sec_st2, fiber_bundle::sec_st3, fiber_bundle::sec_st4, fiber_bundle::sec_met, fiber_bundle::sec_stp, fiber_bundle::sec_t2, fiber_bundle::sec_t3, and fiber_bundle::sec_t4.
Definition at line 903 of file sec_tp.cc.
Referenced by fiber_bundle::sec_t2::clone(), fiber_bundle::sec_t4::clone(), fiber_bundle::sec_t3::clone(), fiber_bundle::sec_stp::clone(), fiber_bundle::sec_atp::clone(), fiber_bundle::sec_t2_e2::clone(), fiber_bundle::sec_t3_e3::clone(), fiber_bundle::sec_t4_e3::clone(), fiber_bundle::sec_t4_e2::clone(), fiber_bundle::sec_t2_e3::clone(), and static_class_name().
|
inline |
Make a new handle instance of current. Attach the new instance to a new state if xnew_state is true. Otherwise, attach the new instance to the current state.
Definition at line 352 of file sec_tp.h.
References fiber_bundle::sec_vd::clone().
|
static |
Create a standard tensor space name.
Definition at line 572 of file sec_tp.cc.
References variance().
Referenced by vector_space().
|
virtual |
Dimension of the underlying vector space.
Definition at line 433 of file sec_tp.cc.
Referenced by fiber_bundle::sec_tp_algebra::alt(), fiber_bundle::sec_atp_algebra::hook(), p(), fiber_bundle::sec_atp_algebra::star(), fiber_bundle::sec_tp_algebra::sym(), fiber_bundle::sec_tp_algebra::tensor(), and fiber_bundle::sec_atp_algebra::wedge().
|
virtual |
Dimension of the underlying vector space (auto-access version).
Definition at line 454 of file sec_tp.cc.
References vector_space_path().
bool fiber_bundle::sec_tp::fiber_is_ancestor_of | ( | const any * | xother | ) | const |
True if xother conforms to an instance of the fiber of current.
Definition at line 964 of file sec_tp.cc.
References sheaf::any::invariant(), and is_ancestor_of().
Referenced by host_is_ancestor_of().
|
virtual |
Virtual constructor for the associated fiber type.
Reimplemented from fiber_bundle::sec_vd.
Reimplemented in fiber_bundle::sec_e1_uniform, fiber_bundle::sec_e2_uniform, fiber_bundle::sec_e3_uniform, fiber_bundle::sec_at0, fiber_bundle::sec_e2, fiber_bundle::sec_e3, fiber_bundle::sec_e1, fiber_bundle::sec_at2_e3, fiber_bundle::sec_t2_e3, fiber_bundle::sec_st2_e2, fiber_bundle::sec_t3_e3, fiber_bundle::sec_t4_e2, fiber_bundle::sec_t4_e3, fiber_bundle::sec_e4, fiber_bundle::sec_t2_e2, fiber_bundle::sec_st2_e3, fiber_bundle::sec_st3_e3, fiber_bundle::sec_st4_e2, fiber_bundle::sec_st4_e3, fiber_bundle::sec_met_e3, fiber_bundle::sec_met_e1, fiber_bundle::sec_met_e2, fiber_bundle::sec_at1, fiber_bundle::sec_atp, fiber_bundle::sec_stp, fiber_bundle::sec_ed, fiber_bundle::sec_at2, fiber_bundle::sec_at3, fiber_bundle::sec_st2, fiber_bundle::sec_st3, fiber_bundle::sec_st4, fiber_bundle::sec_t2, fiber_bundle::sec_t3, fiber_bundle::sec_t4, fiber_bundle::sec_at3_e3, fiber_bundle::sec_at2_e2, fiber_bundle::sec_met, and fiber_bundle::sec_met_ed.
Definition at line 374 of file sec_tp.cc.
References p().
Referenced by ~sec_tp().
fiber_bundle::sec_tp::host_type * fiber_bundle::sec_tp::host | ( | ) | const |
The poset this is a member of.
Definition at line 939 of file sec_tp.cc.
References host_is_ancestor_of().
|
virtual |
True if other conforms to host.
Reimplemented from fiber_bundle::sec_vd.
Reimplemented in fiber_bundle::sec_at0, fiber_bundle::sec_atp, fiber_bundle::sec_at1, and fiber_bundle::sec_stp.
Definition at line 946 of file sec_tp.cc.
References fiber_is_ancestor_of().
Referenced by host().
|
virtual |
Class invariant.
Reimplemented from fiber_bundle::sec_rep_space_member.
Reimplemented in geometry::sec_ed_invertible.
Definition at line 1015 of file sec_tp.cc.
References fiber_bundle::sec_tp_algebra::alt().
Referenced by is_ancestor_of().
|
virtual |
True if xother conforms to current.
Reimplemented from fiber_bundle::sec_rep_space_member.
Reimplemented in geometry::sec_ed_invertible.
Definition at line 990 of file sec_tp.cc.
References invariant().
Referenced by fiber_is_ancestor_of().
|
virtual |
True if and only if all tensor index positions are contravariant.
Definition at line 748 of file sec_tp.cc.
Referenced by fiber_bundle::contract(), fiber_bundle::sec_tp_algebra::contract(), fiber_bundle::sec_met_algebra::lower(), fiber_bundle::sec_jcb_algebra::push(), put_is_covariant(), and fiber_bundle::sec_met_algebra::raise().
|
virtual |
True if and only if the xi-th tensor index position is contravariant.
Definition at line 769 of file sec_tp.cc.
References put_is_contravariant().
|
virtual |
True if and only if all tensor index positions are covariant.
Definition at line 666 of file sec_tp.cc.
Referenced by fiber_bundle::sec_met_algebra::lower(), fiber_bundle::sec_jcb_algebra::pull(), put_variance(), and fiber_bundle::sec_met_algebra::raise().
|
virtual |
True if and only if the xi-th tensor index position is covariant.
Definition at line 685 of file sec_tp.cc.
References put_is_covariant().
|
static |
Creates a new host table for members of this type. The poset is created in namespace xns with path xhost_path, schema specified by xschema_path, and table attribute vector_space_path specified by xvector_space_path.
Definition at line 50 of file sec_tp.cc.
References sheaf::namespace_poset::contains_path(), fiber_bundle::sec_tp_space::d(), fiber_bundle::sec_tp_space::dd(), sheaf::poset_path::empty(), fiber_bundle::sec_vd_space::factor_ct(), fiber_bundle::section_space_schema_member::fiber_space(), sheaf::poset_path::full(), sheaf::namespace_poset::member_poset(), sheaf::namespace_poset::owns(), fiber_bundle::sec_tp_space::p(), sheaf::poset_component::path(), sheaf::poset_state_handle::path(), sheaf::namespace_poset::path_is_auto_read_accessible(), fiber_bundle::sec_vd_space::scalar_space_path(), fiber_bundle::sec_rep_space::schema(), sec_tp(), sheaf::read_write_monitor_handle::state_is_auto_read_write_accessible(), sheaf::read_write_monitor_handle::state_is_not_read_accessible(), and fiber_bundle::sec_tp_space::vector_space_path().
|
virtual |
Assignment operator; synonym for attach_to_state(&xother).
Reimplemented from fiber_bundle::sec_vd.
Reimplemented in fiber_bundle::sec_e1_uniform, fiber_bundle::sec_e2_uniform, fiber_bundle::sec_e3_uniform, fiber_bundle::sec_at0, fiber_bundle::sec_e2, fiber_bundle::sec_e3, fiber_bundle::sec_e1, fiber_bundle::sec_at2_e3, fiber_bundle::sec_t2_e3, fiber_bundle::sec_st2_e2, fiber_bundle::sec_t3_e3, fiber_bundle::sec_t4_e2, fiber_bundle::sec_t4_e3, fiber_bundle::sec_e4, fiber_bundle::sec_t2_e2, fiber_bundle::sec_st2_e3, fiber_bundle::sec_st3_e3, fiber_bundle::sec_st4_e2, fiber_bundle::sec_st4_e3, fiber_bundle::sec_met_e3, fiber_bundle::sec_met_e1, fiber_bundle::sec_met_e2, fiber_bundle::sec_at1, fiber_bundle::sec_atp, fiber_bundle::sec_stp, fiber_bundle::sec_ed, fiber_bundle::sec_at2, fiber_bundle::sec_at3, fiber_bundle::sec_st2, fiber_bundle::sec_st3, fiber_bundle::sec_st4, fiber_bundle::sec_t2, fiber_bundle::sec_t3, fiber_bundle::sec_t4, fiber_bundle::sec_at3_e3, fiber_bundle::sec_at2_e2, fiber_bundle::sec_met, fiber_bundle::sec_met_ed, and geometry::sec_ed_invertible.
Definition at line 276 of file sec_tp.cc.
Referenced by operator=(), and sec_tp().
fiber_bundle::sec_tp & fiber_bundle::sec_tp::operator= | ( | const sec_tp & | xother | ) |
Assignment operator; synonym for attach_to_state(&xother).
Definition at line 298 of file sec_tp.cc.
References operator=().
fiber_bundle::sec_tp & fiber_bundle::sec_tp::operator= | ( | const tp & | xfiber | ) |
Assignment operator.
Definition at line 319 of file sec_tp.cc.
References operator=().
fiber_bundle::sec_tp & fiber_bundle::sec_tp::operator= | ( | const tp_lite & | xfiber | ) |
|
virtual |
The degree of the tensors in host(); the sum of the contravariant and covariant degrees.
Definition at line 391 of file sec_tp.cc.
Referenced by fiber_bundle::contract(), fiber_bundle::sec_tp_algebra::contract(), fiber_prototype(), fiber_bundle::sec_atp_algebra::hook(), fiber_bundle::sec_atp_algebra::star(), and fiber_bundle::sec_atp_algebra::wedge().
int fiber_bundle::sec_tp::p | ( | bool | xauto_access | ) | const |
|
virtual |
Sets all tensor index positions to contravariant.
Definition at line 789 of file sec_tp.cc.
Referenced by is_contravariant().
void fiber_bundle::sec_tp::put_is_contravariant | ( | int | xi, |
bool | xauto_access | ||
) |
Sets the variance of the xi-th tensor index position to contravariant.
Definition at line 810 of file sec_tp.cc.
References class_name().
|
virtual |
Sets all tensor index positions to covariant.
Definition at line 705 of file sec_tp.cc.
Referenced by is_covariant().
void fiber_bundle::sec_tp::put_is_covariant | ( | int | xi, |
bool | xauto_access | ||
) |
Sets the variance of the xi-th tensor index position to covariant.
Definition at line 726 of file sec_tp.cc.
References is_contravariant().
void fiber_bundle::sec_tp::put_variance | ( | const tensor_variance & | xvariance, |
bool | xauto_access | ||
) |
Sets the variance to xvariance.
Definition at line 627 of file sec_tp.cc.
Referenced by fiber_bundle::sec_tp_algebra::alt(), fiber_bundle::sec_atp_algebra::hook(), fiber_bundle::sec_atp_algebra::star(), fiber_bundle::sec_tp_algebra::sym(), fiber_bundle::sec_tp_algebra::tensor(), variance(), and fiber_bundle::sec_atp_algebra::wedge().
void fiber_bundle::sec_tp::put_variance | ( | int | xi, |
bool | xvariance, | ||
bool | xauto_access | ||
) |
Sets the variance of the xi-th index to xvariance.
Definition at line 646 of file sec_tp.cc.
References is_covariant().
|
static |
The name of this class.
Definition at line 884 of file sec_tp.cc.
References clone().
Referenced by class_name().
|
virtual |
The variance.
Definition at line 589 of file sec_tp.cc.
References fiber_bundle::tensor_variance::variance().
Referenced by fiber_bundle::sec_tp_algebra::alt(), create_tensor_space_name(), fiber_bundle::sec_atp_algebra::hook(), fiber_bundle::sec_atp_algebra::star(), fiber_bundle::sec_tp_algebra::sym(), fiber_bundle::sec_tp_algebra::tensor(), and fiber_bundle::sec_atp_algebra::wedge().
|
virtual |
The variance of the xi-th tensor index position; true if covariant, false if contravariant.
Definition at line 608 of file sec_tp.cc.
References put_variance().
|
virtual |
The underlying vector space.
Definition at line 517 of file sec_tp.cc.
Referenced by vector_space_path().
|
virtual |
The underlying vector space, auto access version.
Definition at line 540 of file sec_tp.cc.
References create_tensor_space_name().
sheaf::poset_path fiber_bundle::sec_tp::vector_space_path | ( | ) | const |
The path of the underlying vector space.
Definition at line 475 of file sec_tp.cc.
References sheaf::poset_path::empty().
Referenced by dd().
sheaf::poset_path fiber_bundle::sec_tp::vector_space_path | ( | bool | xauto_access | ) | const |
The path of the underlying vector space, auto access version.
Definition at line 496 of file sec_tp.cc.
References sheaf::poset_path::empty(), and vector_space().