#include <Rocmap.h>
Public Member Functions | |
Rocmap () | |
Static Public Member Functions | |
static void | load (const std::string &mname) |
Loads Rocmap onto Roccom with a given module name. More... | |
static void | unload (const std::string &mname) |
Unloads Rocmap from Roccom. More... | |
static void | compute_pconn (const COM::Attribute *mesh, COM::Attribute *pconn) |
Compute pane connectivity map between shared nodes. More... | |
static void | pane_border_nodes (const COM::Attribute *mesh, COM::Attribute *isborder, int *ghost_level=NULL) |
Determine the nodes at pane boundaries of a given mesh. More... | |
static void | size_of_cpanes (const COM::Attribute *pconn, const int *pane_id, int *npanes_total, int *npanes_ghost=NULL) |
Get the number of communicating panes. More... | |
static void | reduce_average_on_shared_nodes (COM::Attribute *att, COM::Attribute *pconn=NULL) |
Perform an average-reduction on the shared nodes for the given attribute. More... | |
static void | reduce_maxabs_on_shared_nodes (COM::Attribute *att, COM::Attribute *pconn=NULL) |
Perform a maxabs-reduction on the shared nodes for the given attribute. More... | |
static void | reduce_minabs_on_shared_nodes (COM::Attribute *att, COM::Attribute *pconn=NULL) |
Perform a minabs-reduction on the shared nodes for the given attribute. More... | |
static void | update_ghosts (COM::Attribute *att, const COM::Attribute *pconn=NULL) |
Update ghost nodal or elemental values for the given attribute. More... | |
|
static |
Compute pane connectivity map between shared nodes.
If pconn was not yet initialized, this routine will allocate memory for it. Otherwise, this routine will copy up to the capacity of the array
Definition at line 34 of file Rocmap.C.
References Pane_connectivity::compute_pconn().
Referenced by load().
|
static |
Loads Rocmap onto Roccom with a given module name.
Definition at line 102 of file Rocmap.C.
References COM_INT, COM_METADATA, COM_new_window(), COM_set_function(), COM_window_init_done(), compute_pconn(), pane_border_nodes(), reduce_average_on_shared_nodes(), reduce_maxabs_on_shared_nodes(), reduce_minabs_on_shared_nodes(), size_of_cpanes(), and update_ghosts().
Referenced by Rocmap_load_module(), rocmap_load_module(), ROCMAP_LOAD_MODULE(), rocmap_load_module_(), and ROCMAP_LOAD_MODULE_().
|
static |
Determine the nodes at pane boundaries of a given mesh.
The argument isborder must be a nodal attribute of integer type. At return, isborder is set to 1 for border nodes, and 0 for others
Definition at line 43 of file Rocmap.C.
References Pane_boundary::determine_borders().
Referenced by load().
|
static |
Perform an average-reduction on the shared nodes for the given attribute.
Definition at line 57 of file Rocmap.C.
References Pane_communicator::init().
Referenced by load(), and Rocmop::smooth_vol_mesq_wg().
|
static |
Perform a maxabs-reduction on the shared nodes for the given attribute.
Definition at line 77 of file Rocmap.C.
References Pane_communicator::init().
Referenced by Rocmop::determine_physical_border(), load(), and Rocmop::smooth_vol_mesq_ng().
|
static |
Perform a minabs-reduction on the shared nodes for the given attribute.
Definition at line 67 of file Rocmap.C.
References Pane_communicator::init().
Referenced by load().
|
static |
Get the number of communicating panes.
Definition at line 50 of file Rocmap.C.
References Pane_connectivity::size_of_cpanes().
Referenced by load().
|
static |
Unloads Rocmap from Roccom.
Definition at line 136 of file Rocmap.C.
References COM_delete_window().
Referenced by Rocmap_unload_module(), rocmap_unload_module(), ROCMAP_UNLOAD_MODULE(), rocmap_unload_module_(), and ROCMAP_UNLOAD_MODULE_().
|
static |
Update ghost nodal or elemental values for the given attribute.
Definition at line 87 of file Rocmap.C.
References Pane_communicator::init().
Referenced by Rocmop::add_aspect_ratios(), Rocmop::determine_physical_border(), Rocmop::get_usr_disp(), load(), and Rocmop::smooth_vol_mesq_wg().