#include <Pane.h>


Private Member Functions | |
| Connectivity_friend (Connectivity &) | |
Additional Inherited Members | |
Public Types inherited from Connectivity | |
| enum | Connectivity_type { ST1, ST2, ST3, BAR2, BAR3, TRI3, TRI6, QUAD4, QUAD8, QUAD9, TET4, TET10, PYRIMID5, PYRIMID14, PRISM6, PRISM15, PRISM18, HEX8, HEX20, HEX27, TYPE_MAX_CONN } |
| enum | Connectivity_info { TYPE_ID, SIZE_DIM, ORDER, SIZE_NNODES, SIZE_NCORN, SIZE_NEDGES, SIZE_NFACES, SIZE_MAX_CONN } |
| typedef unsigned char | Shorter_size |
| One byte unsighed int. More... | |
| typedef unsigned int | Size |
| Unsighed int. More... | |
Public Member Functions inherited from Connectivity | |
| bool | is_const () const |
| Returns whether the array is set to be read-only. More... | |
| Connectivity (Pane *pane, const std::string &name, int id, const int sizes[], int type=COM_INT) | |
| Create an attribute with name n in window w. More... | |
| Connectivity (Pane *pane, Connectivity *con, const std::string &name, int id) | |
| Construct from another connectivity table. More... | |
| Connectivity * | parent () |
| Parent attribute being used. More... | |
| const Connectivity * | parent () const |
| Connectivity * | root () |
| Root of use-inheritance. More... | |
| const Connectivity * | root () const |
| void | inherit (Connectivity *parent, bool clone, bool withghost) throw (COM_exception) |
| Inherit a connectivity table. More... | |
| int | element_type () const |
| Obtain element type ID. More... | |
| int | dimension () const |
| Get the dimension of the mesh. More... | |
| bool | is_structured () const |
| Determine whether the mesh is quadratic. More... | |
| bool | is_quadratic () const |
| Determine whether the element type is quadratic. More... | |
| const int * | pointer () const |
| Get a constant pointer to the connectivity array. More... | |
| int * | pointer () |
| Get a pointer to the connectivity array. More... | |
| const int * | get_addr (int i, int j=0) const throw (COM_exception) |
| Obtain the address of the jth component of the ith item, where 0<=i<size_of_items. More... | |
| int * | get_addr (int i, int j=0) throw (COM_exception) |
| Size | size_of_corners_pe () const |
| Get the number of corners per element of the current connectivity table. More... | |
| Size | size_of_nodes_pe () const |
| Get the number of nodes per element of the current connectivity table. More... | |
| Size | size_of_edges_pe () const |
| Get the number of edges per element of the current connectivity table. More... | |
| Size | size_of_faces_pe () const |
| Get the number of faces per element of the current connectivity table. More... | |
| Size | size_of_elements () const |
| Get the total number of elements (including ghost elements) in the table. More... | |
| Size | size_of_ghost_elements () const |
| Get the number of ghost elements. More... | |
| Size | size_of_real_elements () const |
| Get the number of real elements. More... | |
| Size | size_of_nodes () const |
| Get the total number of nodes (including ghost nodes) of the owner pane. More... | |
| Size | size_of_ghost_nodes () const |
| Get the number of ghost nodes of the owner pane. More... | |
| Size | size_of_real_nodes () const |
| Get the number of real nodes of the owner pane. More... | |
| Size | index_offset () const |
| Get the index of the first element. More... | |
| Size | size_i () const |
| Get the number of nodes in i-dimension if the mesh is structured. More... | |
| Size | size_j () const |
| Get the number of nodes in j-dimension if the mesh is structured. More... | |
| Size | size_k () const |
| Get the number of nodes in k-dimension if the mesh is structured. More... | |
| void * | allocate (int strd, int cap, bool force) throw (COM_exception) |
| Allocate memory for unstructured mesh. More... | |
| void | set_size (int nitems, int ngitems=0) throw (COM_exception) |
| Set the size of items and ghost items. More... | |
Static Public Member Functions inherited from Connectivity | |
| static Size | size_of_corners_pe (int type) |
| Get the number of corners per element of the given type of element. More... | |
| static Size | size_of_nodes_pe (int type) |
| Get the number of nodes per element of the given type of element. More... | |
| static Size | size_of_edges_pe (int type) |
| Get the number of edges per element of the given type of element. More... | |
| static Size | size_of_faces_pe (int type) |
| Get the number of faces per element of the given type of element. More... | |
| static bool | is_element_name (const std::string &aname) |
| static const int * | get_size_info (const std::string &aname) |
| Obtain the size info of pre-defined connectivity. More... | |
Protected Types inherited from Attribute | |
| enum | { STATUS_NOT_INITIALIZED =0, STATUS_SET =1, STATUS_SET_CONST =2, STATUS_USE =3, STATUS_ALLOCATED =4 } |
| enum | Copy_dir { COPY_IN, COPY_OUT } |
| typedef unsigned char | Shorter_size |
| One byte unsighed int. More... | |
| typedef unsigned int | Size |
| Unsighed int. More... | |
Protected Member Functions inherited from Connectivity | |
| void | set_pointer (void *p, int strd, int cap, bool is_const) throw (COM_exception) |
| Set pointer of connectivity table. More... | |
| void | set_offset (Size offset) throw (COM_exception) |
| Set the index of the first element. More... | |
Protected Member Functions inherited from Attribute | |
| void | set_pointer (void *p, int strd, int cap, int offset, bool is_const) throw (COM_exception) |
| Set the physical address of the attribute values. More... | |
| void | inherit (Attribute *a, bool clone, bool withghost, int depth=0) throw (COM_exception) |
| Inherit from parent. If depth>0, then the procedure is for the subcomponents. More... | |
| Attribute (Pane *pane, int i) | |
| Constructor for keywords. The default nitems for keywords is 0. More... | |
| void | set_size (int nitems, int ngitems=0) throw (COM_exception) |
| Set the size of items and ghost items. More... | |
| void * | allocate (int strd, int cap, bool force) throw (COM_exception) |
| Allocate memory for the attribute. More... | |
| int | deallocate () throw (COM_exception) |
| Deallocate memory if it was allocated by allocate(). More... | |
| void | copy_array (void *buf, int strd, int nitem, int offset=0, int direction=COPY_IN) throw (COM_exception) |
| void | append_array (const void *from, int strd, int nitem) throw (COM_exception) |
| const std::string & | name () const |
| Obtain the name of the attribute. More... | |
| std::string | fullname () const |
| Obtain the full name of the attribute including window name suitable for printing out error messages. More... | |
| int | id () const |
| Obtain the id (or index) of the attribute. More... | |
| Attribute * | parent () |
| Parent attribute used by this object. More... | |
| const Attribute * | parent () const |
| Attribute * | root () |
| Root of use-inheritance. More... | |
| const Attribute * | root () const |
| const void * | pointer () const |
| Obtain a constant pointer to the physical address. More... | |
| void * | pointer () throw (COM_exception) |
| Obtain a modifiable pointer to the physical address. More... | |
| const void * | get_addr (int i, int j=0) const throw (COM_exception) |
| Obtain the address of the jth component of the ith item, where 0<=i<size_of_items. More... | |
| void * | get_addr (int i, int j=0) throw (COM_exception) |
| Attribute () | |
| Default constructor. More... | |
| Attribute (Pane *pane, const std::string &name, int id, Shorter_size loc, int type, const int ncomp, const std::string &unit) | |
| Create an attribute with name n in window w. More... | |
| Attribute (Pane *pane, Attribute *parent, const std::string &name, int id) | |
| Inherit an attribute from another. More... | |
| ~Attribute () | |
| Destructors. More... | |
| const Pane * | pane () const |
| Obtain a constant pointer to the owner pane of the attribute. More... | |
| Pane * | pane () |
| Obtain a modifiable pointer to the owner pane of the attribute. More... | |
| const Window * | window () const |
| Obtain a constant pointer to the parent window of the attribute. More... | |
| Window * | window () |
| Obtain a modifiable pointer to the parent window of the attribute. More... | |
| Shorter_size | location () const |
| Obtain the location of the attribute. More... | |
| bool | is_windowed () const |
| Checks whether the attribute is associated with the window. More... | |
| bool | is_panel () const |
| Checks whether the attribute is associated with a pane. More... | |
| bool | is_elemental () const |
| Checks whether the attribute is associated with an element. More... | |
| bool | is_nodal () const |
| Checks whether the attribute is associated with a node. More... | |
| COM_Type | data_type () const |
| Obtain the data type of each component of the attribute. More... | |
| const std::string & | unit () const |
| Obtain the unit of the attribute. More... | |
| int | size_of_components () const |
| Obtain the number of components in the attribute. More... | |
| int | size_of_items () const |
| Obtain the number of items in the attribute. More... | |
| int | maxsize_of_items () const |
| Obtain the maximum allowed number of items in the attribute. More... | |
| int | size_of_ghost_items () const |
| Obtain the number of ghost items in the attribute. More... | |
| int | maxsize_of_ghost_items () const |
| Obtain the maximum allowed number of items in the attribute. More... | |
| int | size_of_real_items () const |
| Obtain the number of real items in the attribute. More... | |
| int | maxsize_of_real_items () const |
| Obtain the maximum allowed number of real items in the attribute. More... | |
| bool | empty () const |
| Check whether the number of items of the attribute is zero. More... | |
| int | capacity () const |
| Obtain the capacity of the array. More... | |
| int | stride () const |
| Obtain the stride of the attribute in base datatype. More... | |
| int | stride_in_bytes () const |
| Obtain the stride of the attribute in bytes. More... | |
| int | status () const |
| Obtain the status of the attribute. More... | |
| bool | initialized () const |
| Returns whether the array for the attribute has been set or allocated. More... | |
| bool | size_set () const |
| Returns whether the size for the attribute has been set. More... | |
| bool | allocated () const |
| Returns whether the array for the attribute has been set or allocated. More... | |
| bool | is_const () const |
| Returns whether the array is set to be read-only. More... | |
| bool | is_staggered () const |
| Check how the attribute values are organized. More... | |
Static Protected Member Functions inherited from Attribute | |
| static int | get_sizeof (COM_Type type, int count=1) |
| static bool | compatible_types (COM_Type t1, COM_Type t2) |
| static bool | is_digit (char c) |
Protected Attributes inherited from Connectivity | |
| int | _offset |
| Offset of the first element. More... | |
| const int * | _size_info |
Protected Attributes inherited from Attribute | |
| Pane * | _pane |
| Pointer to its owner pane. More... | |
| Attribute * | _parent |
| Parent attribute being used. More... | |
| std::string | _name |
| Name of the attribute. More... | |
| int | _id |
| Id field data. More... | |
| Shorter_size | _loc |
| Location. More... | |
| int | _ncomp |
| Number of components. More... | |
| COM_Type | _type |
| Base data type of the attribute. More... | |
| std::string | _unit |
| Unit of the attribute. More... | |
| int | _nitems |
| Size of total items. Default value is -1. More... | |
| int | _ngitems |
| Size of ghost items. More... | |
| int | _gap |
| Gap between the IDs of real and ghost items. More... | |
| Shorter_size | _status |
| Indicating whether it has been initialized. More... | |
| void * | _ptr |
| Physical address of the attribute. More... | |
| int | _strd |
| Stride. More... | |
| int | _nbytes_strd |
| Number of bytes of the stride. More... | |
| int | _cap |
| Capacity. More... | |
Static Protected Attributes inherited from Connectivity | |
| static const int | _sizes [TYPE_MAX_CONN][SIZE_MAX_CONN] |
Static Protected Attributes inherited from Attribute | |
| static const char * | _keywords [COM_NUM_KEYWORDS] |
| List of keywords. More... | |
| static const char | _keylocs [COM_NUM_KEYWORDS] |
| Default locations. More... | |
| static const COM_Type | _keytypes [COM_NUM_KEYWORDS] |
| Default data types. More... | |
| static const int | _keysizes [COM_NUM_KEYWORDS] |
| Default sizes. More... | |
|
explicitprivate |