A Window object contains multiple panes and multiple data attributes. More...
#include <Window.h>

Classes | |
| class | Pane_friend |
| struct | Pointer_descriptor |
Public Types | |
| typedef std::map< int, int > | Proc_map |
Public Member Functions | |
Constructor and destructor | |
| Window (const std::string &name, MPI_Comm c) | |
| Create a window with a given name and MPI communicator. More... | |
| virtual | ~Window () |
| Destructor. More... | |
Identity | |
| const std::string & | name () const |
| Obtain the window's name. More... | |
| MPI_Comm | get_communicator () const |
| Obtain the communicator of the window. More... | |
Function and data management | |
| void | set_function (const std::string &fname, Func_ptr func, const std::string &intents, const COM_Type *types, Attribute *a, bool if_f90=false) throw (COM_exception) |
| Initialize a Function record. More... | |
| void | set_function (const std::string &fname, Member_func_ptr func, const std::string &intents, const COM_Type *types, Attribute *a, bool if_f90=false) throw (COM_exception) |
| Initialize a Function record. More... | |
| Attribute * | new_attribute (const std::string &aname, const char loc, const int type, int ncomp, const std::string &unit) throw (COM_exception) |
| Create a new Attribute object with given properties. More... | |
| void | delete_attribute (const std::string &aname) throw (COM_exception) |
| Delete an existing Attribute object. More... | |
| void | set_size (const std::string &aname, int pane_id, int nitems, int ng=0) throw ( COM_exception) |
| Set the sizes of an attribute for a specific pane. More... | |
| void | set_array (const std::string &aname, const int pane_id, void *addr, int strd=0, int cap=0, bool is_const=false) throw (COM_exception) |
| Associate an array with an attribute for a specific pane. More... | |
| void | alloc_array (const std::string &aname, const int pane_id, void **addr, int strd=0, int cap=0) throw (COM_exception) |
| Allocate memory for an attribute for a specific pane and set addr to the address. More... | |
| void | resize_array (const std::string &aname, const int pane_id, void **addr, int strd=-1, int cap=0) throw (COM_exception) |
| Resize memory for an attribute for a specific pane and set addr to the address. More... | |
| void | resize_array (Attribute *a, void **addr, int strd=-1, int cap=0) throw (COM_exception) |
| void | resize_array (Connectivity *c, void **addr, int strd=-1, int cap=0) throw (COM_exception) |
| void | append_array (const std::string &aname, const int pane_id, const void *val, int v_strd, int v_size) throw (COM_exception) |
| Append the given array to the end of the attribute on a specific pane, and reallocate memory for the attribute if necessary. More... | |
| void | dealloc_array (const std::string &aname, const int pane_id=0) throw (COM_exception) |
| Deallocate memory for an attribute for a specific pane if allocated by Roccom. More... | |
| void | dealloc_array (Attribute *a) throw (COM_exception) |
| void | dealloc_array (Connectivity *c) throw (COM_exception) |
| Attribute * | inherit (Attribute *from, const std::string &aname, int inherit_mode, bool withghost, const Attribute *cond, int val) throw (COM_exception) |
| Inherit the attributes of another window with a different name. More... | |
| void | copy_attribute (const Attribute *from, Attribute *to) throw (COM_exception) |
| Copy an attribute object onto another. More... | |
| Attribute * | get_attribute (const std::string &aname, char *l, int *t, int *n, std::string *u) const throw (COM_exception) |
| Get the meta-information about an attribute. More... | |
| void | get_size (const std::string &aname, int pane_id, int *nitems, int *ng) const throw ( COM_exception) |
| Get the sizes of an attribute for a specific pane. More... | |
| int | get_status (const std::string &aname, int pane_id) const throw (COM_exception) |
| Get the status of an attribute or pane. More... | |
| void | get_parent (const std::string &aname, int pane_id, std::string &name) const throw (COM_exception) |
| Get the parent name of an attribute and load into name. More... | |
| void | get_array (const std::string &aname, const int pane_id, Pointer_descriptor &addr, int *strd=NULL, int *cap=NULL, bool is_const=false) throw (COM_exception) |
| Get the address associated with an attribute for a specific pane. More... | |
| void | copy_array (const std::string &aname, const int pane_id, void *val, int v_strd=0, int v_size=0, int offset=0) const throw (COM_exception) |
| Copy an attribute on a specific pane into a given array. More... | |
| void | init_done (bool pane_changed=true) throw (COM_exception) |
| Perform some final checking of the window. More... | |
Pane management | |
| int | size_of_panes () const |
| Obtain the number of local panes in the window. More... | |
| int | size_of_panes_global () const |
| Obtain the total number of panes in the window on all processes. More... | |
| int | owner_rank (const int pane_id) const |
| Obtain the process rank that owns a given pane. More... | |
| int | last_attribute_id () const |
| Return the last attribute id. More... | |
| const Proc_map & | proc_map () const |
| Obtain the process map. More... | |
| void | delete_pane (const int pane_id) throw (COM_exception) |
| Remove the pane with given ID. More... | |
Miscellaneous | |
| Pane & | pane (const int pane_id, bool insert=false) throw (COM_exception) |
| Find the pane with given ID. If not found, insert a pane with given ID. More... | |
| const Pane & | pane (const int pane_id) const throw (COM_exception) |
| void | panes (std::vector< int > &ps, int rank=-2) |
| Obtain all the local panes of the window. More... | |
| void | panes (std::vector< Pane * > &ps) |
| Obtain all the local panes of the window. More... | |
| void | panes (std::vector< const Pane * > &ps) const |
| Obtain all the local panes of the window. More... | |
| void | attributes (std::vector< Attribute * > &as) |
| Obtain all the attributes of the pane. More... | |
| void | attributes (std::vector< const Attribute * > &as) const |
| Obtain all the attributes of the pane. More... | |
| Attribute * | attribute (const std::string &a) throw (COM_exception) |
| Obtain a pointer to the attribute metadata from its name. More... | |
| const Attribute * | attribute (const std::string &a) const throw (COM_exception) |
| Attribute * | attribute (int i) throw (COM_exception) |
| Obtain a pointer to the attribute metadata from its index. More... | |
| const Attribute * | attribute (int i) const throw (COM_exception) |
| Function * | function (const std::string &f) |
| Obtain the function pointer from its name. More... | |
| const Function * | function (const std::string &f) const |
Protected Types | |
| enum | { STATUS_SHRUNK, STATUS_CHANGED, STATUS_NOCHANGE } |
Protected Member Functions | |
| void | reinit_attr (Attribute *attr, OP_Init op, void **addr=NULL, int strd=0, int cap=0) throw (COM_exception) |
| Implementation for setting (op==OP_SET or OP_SET_CONST), allocating (op==OP_ALLOC), resizing (op==OP_RESIZE) and deallocating (op==OP_DEALLOC) an array for a specific attribute. More... | |
| void | reinit_conn (Connectivity *con, OP_Init op, int **addr=NULL, int strd=0, int cap=0) throw (COM_exception) |
| Template implementation for setting (op==OP_SET or OP_SET_CONST), allocating (op==OP_ALLOC), resizing (op==OP_RESIZE) and deallocating (op==OP_DEALLOC) an array for a specific connectivity table. More... | |
Protected Attributes | |
| Pane | _dummy |
| Dummy pane. More... | |
| std::string | _name |
| Name of the window. More... | |
| Attr_map | _attr_map |
| Map from attribute names to their metadata. More... | |
| Func_map | _func_map |
| Map from function names to their metadata. More... | |
| Pane_map | _pane_map |
| Map from pane ID to their metadata. More... | |
| Proc_map | _proc_map |
| Map from pane ID to process ranks. More... | |
| int | _last_id |
| The last used attribute index. More... | |
| MPI_Comm | _comm |
| the MPI communicator of the window. More... | |
| int | _status |
| Status of the window. More... | |
Private Types | |
| typedef std::map< std::string, Function > | Func_map |
| typedef std::map< std::string, Attribute * > | Attr_map |
| typedef std::map< int, Pane * > | Pane_map |
| typedef Pane::OP_Init | OP_Init |
Private Member Functions | |
| Window (const Window &) | |
| Window & | operator= (const Window &) |
A Window object contains multiple panes and multiple data attributes.
|
private |
|
protected |
| Enumerator | |
|---|---|
| STATUS_SHRUNK | |
| STATUS_CHANGED | |
| STATUS_NOCHANGE | |
| COM_BEGIN_NAME_SPACE Window | ( | const std::string & | name, |
| MPI_Comm | c | ||
| ) |
Create a window with a given name and MPI communicator.
| name | name of the window |
| c | MPI communicator where the window resides |
Definition at line 42 of file Window.C.
References _attr_map, _dummy, Pane::attribute(), COM_NUM_KEYWORDS, i, Attribute::is_digit(), and Attribute::name().

| void alloc_array | ( | const std::string & | aname, |
| const int | pane_id, | ||
| void ** | addr, | ||
| int | strd = 0, |
||
| int | cap = 0 |
||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Allocate memory for an attribute for a specific pane and set addr to the address.
alloc_array, resize_array, append_array
Definition at line 238 of file Window.C.
References append_frame, COM_ERR_ATTRIBUTE_NOTEXIST, Connectivity::is_element_name(), and Pane::OP_ALLOC.

| void append_array | ( | const std::string & | aname, |
| const int | pane_id, | ||
| const void * | val, | ||
| int | v_strd, | ||
| int | v_size | ||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Append the given array to the end of the attribute on a specific pane, and reallocate memory for the attribute if necessary.
set_array, alloc_array, resize_array
Definition at line 284 of file Window.C.
References Attribute::append_array(), append_frame, COM_assertion_msg, COM_ERR_ATTRIBUTE_NOTEXIST, Connectivity::is_element_name(), COM_exception::msg, Pane::OP_RESIZE, Attribute::set_size(), Attribute::size_of_items(), Attribute::size_set(), and Attribute::stride().

| Attribute * attribute | ( | const std::string & | a | ) | |
| throw | ( | COM_exception | |||
| ) | |||||
Obtain a pointer to the attribute metadata from its name.
Definition at line 842 of file Window.C.
References append_frame, COM_ERR_INVALID_ATTRIBUTE_NAME, i, Attribute::id(), Attribute::is_digit(), and Attribute::size_of_components().
Referenced by Pane::attribute(), and attribute().


|
inline | ||||||||||||||
Definition at line 336 of file Window.h.
References attribute().

|
inline | ||||||||||||||
Obtain a pointer to the attribute metadata from its index.
Definition at line 340 of file Window.h.
References _dummy, Pane::attribute(), and i.

|
inline | ||||||||||||||
Definition at line 342 of file Window.h.
References _dummy, Pane::attribute(), and i.

|
inline |
Obtain all the attributes of the pane.
Definition at line 328 of file Window.h.
References _dummy, and Pane::attributes().
Referenced by Rocblas::copy(), Rocblas::rand(), and Rocblas::swap().


|
inline |
Obtain all the attributes of the pane.
Definition at line 331 of file Window.h.
References _dummy, and Pane::attributes().

| void copy_array | ( | const std::string & | aname, |
| const int | pane_id, | ||
| void * | val, | ||
| int | v_strd = 0, |
||
| int | v_size = 0, |
||
| int | offset = 0 |
||
| ) | const | ||
| throw | ( | COM_exception | |
| ) | |||
Copy an attribute on a specific pane into a given array.
| aname | attribute name |
| pane_id | pane ID |
| val | address of the user array |
| v_strd | stride of user array. 0 (the default) indicates number of components. |
| v_size | number of items to be copied. 0 (the default) indicates number of items of the attribute. |
| offset | starting item to be copied in the attribute. alloc_array, resize_array, get_array |
Definition at line 685 of file Window.C.
References append_frame, Pane::attribute(), COM_ERR_ATTRIBUTE_NOTEXIST, Pane::connectivity(), copy_array_common(), Connectivity::is_element_name(), COM_exception::msg, and offset().

|
inline | ||||||||||||||||||||
Copy an attribute object onto another.
Definition at line 207 of file Window.h.
References inherit(), and Pane::INHERIT_COPY.

| void dealloc_array | ( | const std::string & | aname, |
| const int | pane_id = 0 |
||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Deallocate memory for an attribute for a specific pane if allocated by Roccom.
alloc_array, resize_array
Definition at line 311 of file Window.C.
References append_frame, COM_ERR_ATTRIBUTE_NOTEXIST, Connectivity::is_element_name(), and Pane::OP_DEALLOC.

|
inline | ||||||||||||||
Definition at line 188 of file Window.h.
References Pane::OP_DEALLOC, and reinit_attr().

|
inline | ||||||||||||||
Definition at line 191 of file Window.h.
References Pane::OP_DEALLOC, and reinit_conn().

| void delete_attribute | ( | const std::string & | aname | ) | |
| throw | ( | COM_exception | |||
| ) | |||||
Delete an existing Attribute object.
Definition at line 137 of file Window.C.
References append_frame, COM_ATTS, COM_ERR_ATTRIBUTE_NOTEXIST, COM_ERR_INVALID_ATTRIBUTE_NAME, COM_NUM_KEYWORDS, Pane::delete_attribute(), i, id(), Attribute::id(), Attribute::is_digit(), Attribute::name(), and Attribute::size_of_components().

|
inline | ||||||||||||||
Remove the pane with given ID.
Definition at line 297 of file Window.h.
References _pane_map, and COM_ERR_PANE_NOTEXIST.
| Function * function | ( | const std::string & | f | ) |
Obtain the function pointer from its name.
Definition at line 877 of file Window.C.
References _func_map.
|
inline |
| void get_array | ( | const std::string & | aname, |
| const int | pane_id, | ||
| Pointer_descriptor & | addr, | ||
| int * | strd = NULL, |
||
| int * | cap = NULL, |
||
| bool | is_const = false |
||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Get the address associated with an attribute for a specific pane.
| aname | attribute name |
| pane_id | pane ID |
| addr | address of the array |
| strd | Stride between two items of each component |
| cap | capacity of the array alloc_array, resize_array, copy_array |
Definition at line 641 of file Window.C.
References append_frame, Pane::attribute(), COM_ERR_ATTRIBUTE_NOTEXIST, Pane::connectivity(), get_array_common(), Connectivity::is_element_name(), and COM_exception::msg.
Referenced by get_array_common().


| Attribute * get_attribute | ( | const std::string & | aname, |
| char * | l, | ||
| int * | t, | ||
| int * | n, | ||
| std::string * | u | ||
| ) | const | ||
| throw | ( | COM_exception | |
| ) | |||
Get the meta-information about an attribute.
| aname | attribute name |
| l | location |
| t | data type |
| n | number of components |
| u | unit |
Definition at line 462 of file Window.C.
References append_frame, COM_ERR_ATTRIBUTE_NOTEXIST, COM_INT, Attribute::data_type(), Connectivity::get_size_info(), Connectivity::is_element_name(), Attribute::location(), Connectivity::SIZE_NNODES, Attribute::size_of_components(), and Attribute::unit().

|
inline |
Obtain the communicator of the window.
Definition at line 95 of file Window.h.
References _comm.
Referenced by Roccom_base::get_communicator(), and Rocout::write_attr_internal().

| void get_parent | ( | const std::string & | aname, |
| int | pane_id, | ||
| std::string & | name | ||
| ) | const | ||
| throw | ( | COM_exception | |
| ) | |||
Get the parent name of an attribute and load into name.
If the attribute has no parent, then name is empty.
Definition at line 566 of file Window.C.
References append_frame, Pane::attribute(), COM_ERR_ATTRIBUTE_NOTEXIST, Pane::connectivity(), Connectivity::is_element_name(), and COM_exception::msg.

| void get_size | ( | const std::string & | aname, |
| int | pane_id, | ||
| int * | nitems, | ||
| int * | ng | ||
| ) | const | ||
| throw | ( | COM_exception | |
| ) | |||
Get the sizes of an attribute for a specific pane.
| aname | attribute name |
| pane_id | pane ID |
| nitems | total number of items (including ghosts) |
| ng | number of ghosts |
Definition at line 505 of file Window.C.
References append_frame, Pane::attribute(), COM_ERR_ATTRIBUTE_NOTEXIST, Pane::connectivity(), get_size_common(), Connectivity::is_element_name(), and COM_exception::msg.
Referenced by get_size_common().


| int get_status | ( | const std::string & | aname, |
| int | pane_id | ||
| ) | const | ||
| throw | ( | COM_exception | |
| ) | |||
Get the status of an attribute or pane.
Definition at line 535 of file Window.C.
References append_frame, Pane::attribute(), Pane::connectivity(), Connectivity::is_element_name(), COM_exception::msg, and Attribute::status().
Referenced by Roccom_base::get_status().


| Attribute * inherit | ( | Attribute * | from, |
| const std::string & | aname, | ||
| int | inherit_mode, | ||
| bool | withghost, | ||
| const Attribute * | cond, | ||
| int | val | ||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Inherit the attributes of another window with a different name.
Returns the corresponding value.
| from | attribute being copied from |
| aname | new name of the attribute |
| cond | an integer pane-attribute |
| val | value to be compared against cond |
| inherit_mode | mode of inheritance |
| withghost | wheather ghost nodes/elements should be ignored |
Definition at line 334 of file Window.C.
References _pane_map, append_frame, Pane::attribute(), COM_ALL, COM_CONN, COM_ERR_INCOMPATIBLE_ATTRS, COM_MESH, COM_PMESH, Pane::id(), Attribute::inherit(), Pane::inherit(), Pane::INHERIT_COPY, Attribute::pointer(), and Attribute::window().
Referenced by Roccom_base::copy_attribute(), copy_attribute(), and Rocout::write_attr_internal().


| void init_done | ( | bool | pane_changed = true | ) | |
| throw | ( | COM_exception | |||
| ) | |||||
Perform some final checking of the window.
Definition at line 388 of file Window.C.
References append_frame, COM_ERR_INIT_DONE_PANEMAP, i, j, and max().

|
inline |
Return the last attribute id.
Definition at line 291 of file Window.h.
References _last_id.
Referenced by Pane::init_done().

|
inline |
Obtain the window's name.
Definition at line 92 of file Window.h.
Referenced by Rocblas::axpy_gen(), Rocblas::calc(), Rocblas::calcDot(), Roccom_base::call_function(), Rocblas::copy(), Attribute::fullname(), Rocblas::gen2arg(), Rocblas::rand(), Pane::refresh_connectivity(), Rocblas::swap(), and Rocout::write_attr_internal().

| Attribute * new_attribute | ( | const std::string & | aname, |
| const char | loc, | ||
| const int | type, | ||
| int | ncomp, | ||
| const std::string & | unit | ||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Create a new Attribute object with given properties.
| aname | attribute name. |
| loc | location ('w', 'p', 'n', or 'e'). |
| type | base data type. |
| ncomp | number of components. |
| unit | unit of the attribute. |
Definition at line 86 of file Window.C.
References append_frame, COM_assertion_msg, COM_ERR_INVALID_ATTRIBUTE_NAME, COM_ERR_INVALID_DIMENSION, COM_ERR_UNKNOWN_DATATYPE, COM_ERR_UNKNOWN_KEYWORD, COM_MAX_TYPEID, COM_NUM_KEYWORDS, Attribute::is_digit(), Connectivity::is_element_name(), and Pane::new_attribute().

| int owner_rank | ( | const int | pane_id | ) | const |
Obtain the process rank that owns a given pane.
Returns -1 if the pane cannot be found in the process map.
Definition at line 452 of file Window.C.
References _pane_map, _proc_map, and COM_assertion_msg.
| Pane & pane | ( | const int | pane_id, |
| bool | insert = false |
||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Find the pane with given ID. If not found, insert a pane with given ID.
Definition at line 769 of file Window.C.
References append_frame, COM_assertion, and COM_ERR_PANE_NOTEXIST.
Referenced by pane(), write_attr_CGNS(), and write_attr_HDF4().

| const Pane & pane | ( | const int | pane_id | ) | const |
| throw | ( | COM_exception | |||
| ) | |||||
Definition at line 794 of file Window.C.
References append_frame, COM_assertion, COM_ERR_PANE_NOTEXIST, and pane().

| void panes | ( | std::vector< int > & | ps, |
| int | rank = -2 |
||
| ) |
Obtain all the local panes of the window.
Definition at line 809 of file Window.C.
References _pane_map, _proc_map, _status, COM_assertion_msg, iend, and STATUS_NOCHANGE.
Referenced by Rocblas::axpy_gen(), Rocblas::calc(), Rocblas::calcDot(), Rocblas::gen2arg(), and panes().

| void panes | ( | std::vector< Pane * > & | ps | ) |
|
inline |
Obtain all the local panes of the window.
Definition at line 324 of file Window.h.
References panes().

|
inline |
|
protected | ||||||||||||||||||||||||||||||||
Implementation for setting (op==OP_SET or OP_SET_CONST), allocating (op==OP_ALLOC), resizing (op==OP_RESIZE) and deallocating (op==OP_DEALLOC) an array for a specific attribute.
| attr | attribute |
| op | Operation (OP_SET, OP_SET_CONST, OP_ALLOC, OP_RESIZE) |
| addr | address |
| strd | stride |
| cap | capacity |
Definition at line 717 of file Window.C.
References COM_ALL, COM_assertion, COM_ATTS, Pane::id(), iend, Pane::OP_SET, Pane::OP_SET_CONST, and Pane::reinit_attr().
Referenced by dealloc_array(), and resize_array().


|
protected | ||||||||||||||||||||||||||||||||
Template implementation for setting (op==OP_SET or OP_SET_CONST), allocating (op==OP_ALLOC), resizing (op==OP_RESIZE) and deallocating (op==OP_DEALLOC) an array for a specific connectivity table.
| attr | connectivity table |
| op | Operation (OP_SET, OP_SET_CONST, OP_ALLOC, OP_RESIZE) |
| addr | address |
| strd | stride |
| cap | capacity |
Definition at line 747 of file Window.C.
References COM_assertion, Pane::id(), iend, Pane::OP_SET, Pane::OP_SET_CONST, and Connectivity::parent().
Referenced by dealloc_array(), and resize_array().


| void resize_array | ( | const std::string & | aname, |
| const int | pane_id, | ||
| void ** | addr, | ||
| int | strd = -1, |
||
| int | cap = 0 |
||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Resize memory for an attribute for a specific pane and set addr to the address.
set_array, alloc_array, append_array
Definition at line 261 of file Window.C.
References append_frame, COM_ERR_ATTRIBUTE_NOTEXIST, Connectivity::is_element_name(), and Pane::OP_RESIZE.

|
inline | ||||||||||||||||||||||||||||
Definition at line 166 of file Window.h.
References Pane::OP_RESIZE, and reinit_attr().

|
inline | ||||||||||||||||||||||||||||
Definition at line 170 of file Window.h.
References Pane::OP_RESIZE, and reinit_conn().

| void set_array | ( | const std::string & | aname, |
| const int | pane_id, | ||
| void * | addr, | ||
| int | strd = 0, |
||
| int | cap = 0, |
||
| bool | is_const = false |
||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Associate an array with an attribute for a specific pane.
| aname | attribute name |
| pane_id | pane ID |
| addr | address of the array |
| strd | Stride between two items of each component |
| cap | capacity of the array alloc_array, resize_array |
Definition at line 212 of file Window.C.
References append_frame, COM_ERR_ATTRIBUTE_NOTEXIST, Connectivity::is_element_name(), Pane::OP_SET, and Pane::OP_SET_CONST.

| void set_function | ( | const std::string & | fname, |
| Func_ptr | func, | ||
| const std::string & | intents, | ||
| const COM_Type * | types, | ||
| Attribute * | a, | ||
| bool | if_f90 = false |
||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Initialize a Function record.
Definition at line 59 of file Window.C.
References append_frame, and COM_WARN_DUP_FUNC.
| void set_function | ( | const std::string & | fname, |
| Member_func_ptr | func, | ||
| const std::string & | intents, | ||
| const COM_Type * | types, | ||
| Attribute * | a, | ||
| bool | if_f90 = false |
||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Initialize a Function record.
Definition at line 72 of file Window.C.
References _func_map, _name, append_frame, and COM_WARN_DUP_FUNC.
| void set_size | ( | const std::string & | aname, |
| int | pane_id, | ||
| int | nitems, | ||
| int | ng = 0 |
||
| ) | |||
| throw | ( | COM_exception | |
| ) | |||
Set the sizes of an attribute for a specific pane.
| aname | attribute name |
| pane_id | pane ID |
| nitems | total number of items (including ghosts) |
| ng | number of ghosts |
Definition at line 182 of file Window.C.
References append_frame, COM_ERR_ATTRIBUTE_NOTEXIST, Pane::connectivity(), Attribute::id(), iend, Connectivity::is_element_name(), Attribute::is_windowed(), and Pane::set_size().

|
inline |
|
inline |
|
protected |
|
protected |
the MPI communicator of the window.
Definition at line 387 of file Window.h.
Referenced by get_communicator().
|
protected |
Dummy pane.
Definition at line 377 of file Window.h.
Referenced by attribute(), attributes(), and Window().
|
protected |
Map from function names to their metadata.
Definition at line 381 of file Window.h.
Referenced by function(), and set_function().
|
protected |
The last used attribute index.
The next available one is _last_id+1.
Definition at line 385 of file Window.h.
Referenced by last_attribute_id().
|
protected |
|
protected |
Map from pane ID to their metadata.
Definition at line 382 of file Window.h.
Referenced by delete_pane(), inherit(), owner_rank(), panes(), and ~Window().
|
protected |
Map from pane ID to process ranks.
Definition at line 383 of file Window.h.
Referenced by owner_rank(), panes(), proc_map(), and size_of_panes_global().
|
protected |