SheafSystem
0.0.0.0
|
An array for storing structs which describe the size, alignment, and offset of dofs within a dof tuple. More...
#include <dof_descriptor_array.h>
Classes | |
class | dof_descriptor |
Basic description of a dof. More... | |
Public Member Functions | |
dof_descriptor_array (size_type xdof_ct) | |
Create array for descriptors of xdof_dofs. More... | |
~dof_descriptor_array () | |
Destructor. More... | |
virtual dof_descriptor & | operator[] (int xid) const |
Value of xid-th element. More... | |
void | add_reference () |
Add a reference to this. More... | |
void | remove_reference () |
Remove a reference from this. More... | |
size_type | ub () const |
The upper bound on the array index; the number of descriptors. Note that this is not the number of dofs described in this array. More... | |
size_type | dof_ct () const |
The number of dofs described in this. More... | |
size_type | size () const |
The number of bytes in the dof tuple described by this. More... | |
An array for storing structs which describe the size, alignment, and offset of dofs within a dof tuple.
Definition at line 50 of file dof_descriptor_array.h.
sheaf::dof_descriptor_array::dof_descriptor_array | ( | size_type | xdof_ct | ) |
Create array for descriptors of xdof_dofs.
Definition at line 32 of file dof_descriptor_array.cc.
References ub(), and ~dof_descriptor_array().
sheaf::dof_descriptor_array::~dof_descriptor_array | ( | ) |
Destructor.
Definition at line 54 of file dof_descriptor_array.cc.
References operator[]().
Referenced by dof_descriptor_array().
void sheaf::dof_descriptor_array::add_reference | ( | ) |
Add a reference to this.
Definition at line 82 of file dof_descriptor_array.cc.
References remove_reference().
Referenced by sheaf::array_poset_dof_map::allocate_dofs(), sheaf::array_poset_dof_map::array_poset_dof_map(), sheaf::dof_tuple_record_set::create_int_data_type(), sheaf::array_poset_dof_map::operator=(), operator[](), sheaf::subposet_state::put_dof_descriptors(), and sheaf::schema_poset_member::update_dof_descriptors().
sheaf::size_type sheaf::dof_descriptor_array::dof_ct | ( | ) | const |
The number of dofs described in this.
Definition at line 110 of file dof_descriptor_array.cc.
References size().
Referenced by ub().
|
virtual |
Value of xid-th element.
Definition at line 71 of file dof_descriptor_array.cc.
References add_reference(), and ub().
Referenced by ~dof_descriptor_array().
void sheaf::dof_descriptor_array::remove_reference | ( | ) |
Remove a reference from this.
Definition at line 89 of file dof_descriptor_array.cc.
References ub().
Referenced by add_reference(), sheaf::dof_tuple_record_set::create_int_data_type(), sheaf::array_poset_dof_map::operator=(), sheaf::schema_poset_member::update_dof_descriptors(), sheaf::array_poset_dof_map::~array_poset_dof_map(), and sheaf::schema_poset_member::~schema_poset_member().
sheaf::size_type sheaf::dof_descriptor_array::size | ( | ) | const |
The number of bytes in the dof tuple described by this.
Definition at line 123 of file dof_descriptor_array.cc.
References sheaf::operator<<().
Referenced by dof_ct(), and sheaf::primitives_poset_schema::schematize().
sheaf::size_type sheaf::dof_descriptor_array::ub | ( | ) | const |
The upper bound on the array index; the number of descriptors. Note that this is not the number of dofs described in this array.
Definition at line 97 of file dof_descriptor_array.cc.
References dof_ct().
Referenced by sheaf::deep_size(), dof_descriptor_array(), sheaf::operator<<(), operator[](), and remove_reference().