Reusable implementation for derived class of RFC_Window_base. More...
#include <RFC_Window_base.h>


Public Member Functions | |
| const Pane & | pane (const int pid) const |
Get a reference to the pane with give id pid. More... | |
| Pane & | pane (const int pid) |
| std::pair< Pane *, int > | get_primary (Pane *p, int vid) |
Get a handle to the primary copy of a node contained in the pane p with local id vid. More... | |
| std::pair< const Pane *, int > | get_primary (const Pane *p, int vid) const |
| void | panes (std::vector< Pane * > &ps) |
| Get a vector of local panes contained in the window. More... | |
| void | panes (std::vector< const Pane * > &ps) const |
Public Member Functions inherited from RFC_Window_base | |
| RFC_Window_base (Base *b, int c, MPI_Comm) | |
Construct an object with base b and color c. More... | |
| virtual | ~RFC_Window_base () |
| Default destructor. More... | |
| std::string | name () const |
| The name of the window. More... | |
| const RFC_Pane_base & | pane (const int pid) const |
| RFC_Pane_base & | pane (const int pid) |
| const COM::Window * | base () const |
| Get a reference to the base COM::Window object. More... | |
| int | color () const |
| The color of the window for overlay or for data transfer (BLUE or GREEN). More... | |
| int | size_of_nodes () const |
| Get the total number of nodes contained the window. More... | |
| int | size_of_faces () const |
| Get the total number of faces contained the window. More... | |
| int | size_of_primary_nodes () const |
| Get the total number of nodes contained the window. More... | |
| Bbox_3 | get_bounding_box () const |
| Get the bounding box of the window. More... | |
| int | size_of_panes () const |
| Number of local panes in the window. More... | |
| const Attribute * | attribute (const char *f) const |
| Retrieve an attribute object from the base using the attribute name. More... | |
| void | export_window (RFC_Window_base *) const |
| void | write_tec_ascii (const char *prefix) const |
| Ouptut a mesh in Tecplot format. More... | |
| void | write_tec_sub (const char *prefix) const |
| Ouptut a subdivision of a mesh in Tecplot format. More... | |
| void | new_sdv_attributes (const std::string &wname) const |
| New attributes. More... | |
| void | read_sdv (const char *prefix, const char *format=NULL) |
| Read in local panes in native binary format or using Rocin. More... | |
| void | write_sdv (const char *prefix, const char *format=NULL) const |
| Write out panes in native binary format or using Rocout. More... | |
| void | build_pc_tables () |
| Build the pane connectivity table. More... | |
Protected Types | |
| typedef RFC_Window_derived< _Pane > | Self |
| typedef RFC_Window_base | Base |
| typedef _Pane | Pane |
Protected Types inherited from RFC_Window_base | |
| enum | { SDV_BINARY, SDV_HDF, SDV_CGNS } |
Protected Member Functions | |
| RFC_Window_derived (COM::Window *b, int c, MPI_Comm comm) | |
| A constructor. More... | |
| virtual | ~RFC_Window_derived () |
| A destructor. More... | |
| void | init () |
Additional Inherited Members | |
Public Types inherited from RFC_Window_base | |
| typedef RFC_Window_base | Self |
| typedef COM::Window | Base |
| typedef COM::Attribute | Attribute |
| typedef RFC_Pane_base | Pane |
| typedef std::map< int, Pane * > | Pane_set |
Static Protected Member Functions inherited from RFC_Window_base | |
| static std::string | get_sdv_fname (const char *prefix, int pane_id, const int format=SDV_BINARY) |
| static const char * | get_prefix_base (const char *prefix) |
| static int | get_sdv_format (const char *format) |
Protected Attributes inherited from RFC_Window_base | |
| Base * | _base |
| A reference to its base COM::Window object. More... | |
| Pane_set | _pane_set |
| The set of panes contained in the window. More... | |
| int | _verbose |
| int | _color |
| MAP::Pane_communicator | _map_comm |
Static Protected Attributes inherited from RFC_Window_base | |
| static const char * | _bufwin_prefix = "buf_" |
Reusable implementation for derived class of RFC_Window_base.
This class provides some template implementation for some useful functions that depends on the specific type of the panes. One usually should derive subclasses of RFC_Window_base by inherit from this class, but it is not required.
Definition at line 108 of file RFC_Window_base.h.
|
protected |
Definition at line 643 of file RFC_Window_base.h.
|
protected |
Definition at line 644 of file RFC_Window_base.h.
|
protected |
Definition at line 642 of file RFC_Window_base.h.
|
inlineprotected |
|
protectedvirtual |
| std::pair< _Pane *, int > get_primary | ( | Pane * | p, |
| int | vid | ||
| ) |
Get a handle to the primary copy of a node contained in the pane p with local id vid.
Definition at line 721 of file RFC_Window_base.h.
References RFC_Pane_base::_b2v_table, RFC_Pane_base::_v2b_table, RFC_Pane_base::id(), RFC_Pane_base::is_border_node(), RFC_Pane_base::is_isolated_node(), Node_ID::node_id, and RFC_assertion.
Referenced by RFC_Pane_overlay::determine_counterparts().


| std::pair< const _Pane *, int > get_primary | ( | const Pane * | p, |
| int | vid | ||
| ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 743 of file RFC_Window_base.h.
|
protected |
Definition at line 676 of file RFC_Window_base.h.
Referenced by RFC_Window_derived< RFC_Pane_transfer >::RFC_Window_derived().

| const _Pane & pane | ( | const int | pid | ) | const |
Get a reference to the pane with give id pid.
Definition at line 689 of file RFC_Window_base.h.
References RFC_assertion.
Referenced by RFC_Pane_overlay::determine_counterparts().

| _Pane & pane | ( | const int | pid | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 697 of file RFC_Window_base.h.
References RFC_assertion.
| void panes | ( | std::vector< Pane * > & | ps | ) |
Get a vector of local panes contained in the window.
Definition at line 705 of file RFC_Window_base.h.
Referenced by Overlay::associate_green_vertices(), Overlay::get_green_parent(), Transfer_base::integrate(), Transfer_base::minmax(), Overlay::number_subfaces(), Overlay::number_subnodes(), Overlay::sort_on_green_edges(), Transfer_base::Transfer_base(), Overlay::write_overlay_off(), and Overlay::write_overlay_tec().

| void panes | ( | std::vector< const Pane * > & | ps | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 711 of file RFC_Window_base.h.